public interface EntityMessagesHolder
Modifier and Type | Method and Description |
---|---|
void |
addError(FieldDefinition fieldDefinition,
String message,
String... vars)
Set error for given field.
|
void |
addGlobalError(String message,
boolean autoClose,
boolean extraLarge,
String... vars)
Set global error, not related with fields.
|
void |
addGlobalError(String message,
boolean autoClose,
String... vars)
Set global error, not related with fields.
|
void |
addGlobalError(String message,
String... vars)
Set global error, not related with fields.
|
void |
addGlobalMessage(String message,
boolean autoClose,
boolean extraLarge,
String... vars)
Add global message, not related with fields.
|
void |
addGlobalMessage(String message,
String... vars)
Add global info message not related with fields.
|
ErrorMessage |
getError(String fieldName)
Return error for given field.
|
Map<String,ErrorMessage> |
getErrors()
Return all field's errors.
|
List<ErrorMessage> |
getGlobalErrors()
Return all global errors.
|
List<GlobalMessage> |
getGlobalMessages()
Return all global messages.
|
void addError(FieldDefinition fieldDefinition, String message, String... vars)
fieldDefinition
- field's definitionmessage
- messagevars
- message's varsvoid addGlobalError(String message, boolean autoClose, boolean extraLarge, String... vars)
message
- messageautoClose
- autoCloseautoClose
- autoClosevars
- message's varsvoid addGlobalError(String message, boolean autoClose, String... vars)
message
- messageautoClose
- autoClosevars
- message's varsvoid addGlobalError(String message, String... vars)
message
- messagevars
- message's varsvoid addGlobalMessage(String message, boolean autoClose, boolean extraLarge, String... vars)
message
- messageautoClose
- autoCloseextraLarge
- extraLargevars
- message's varsvoid addGlobalMessage(String message, String... vars)
message
- messagevars
- message's varsErrorMessage getError(String fieldName)
fieldName
- field's nameMap<String,ErrorMessage> getErrors()
List<ErrorMessage> getGlobalErrors()
List<GlobalMessage> getGlobalMessages()
Copyright © 2010-2025 Qcadoo Limited