ErrorList instead@NotThreadSafe @Deprecated public class FormErrors extends ErrorList
| Constructor and Description |
|---|
FormErrors()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFieldError(String[] aFieldNames,
String sText)
Deprecated.
Add a field specific error message for multiple fields.
|
void |
addFieldError(String sFieldName,
String sText)
Deprecated.
Add a field specific error message.
|
void |
addFieldInfo(String sFieldName,
String sText)
Deprecated.
Add a field specific information message.
|
void |
addFieldItem(IError aFormFieldError)
Deprecated.
|
void |
addFieldWarning(String sFieldName,
String sText)
Deprecated.
Add a field specific warning message.
|
void |
addGlobalError(String sText)
Deprecated.
|
void |
addGlobalInfo(String sText)
Deprecated.
|
void |
addGlobalItem(IError aFormError)
Deprecated.
|
void |
addGlobalWarning(String sText)
Deprecated.
|
ICommonsList<IError> |
getAllGlobalItems()
Deprecated.
|
ICommonsList<String> |
getAllGlobalItemTexts()
Deprecated.
|
int |
getFieldItemCount()
Deprecated.
|
int |
getGlobalItemCount()
Deprecated.
|
int |
getItemCount()
Deprecated.
|
boolean |
hasFormFieldErrorsOrWarnings()
Deprecated.
|
boolean |
hasGlobalErrorsOrWarnings()
Deprecated.
|
add, addAll, addAll, clear, equals, getAllItems, getClone, getSize, getSubList, hashCode, isEmpty, iterator, remove, removeAll, removeAll, removeIf, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAllDataItems, getAllErrors, getAllFailures, getAllTexts, getGrouped, getGroupedByFieldName, getGroupedByID, getListOfField, getListOfFields, getListOfFieldsRegExp, getListOfFieldsStartingWith, getListWithoutField, hasEntryForField, hasEntryForField, hasEntryForFields, hasErrorForField, hasNoEntryForField, hasNoEntryForFieldscontainsAtLeastOneError, containsAtLeastOneFailure, containsAtLeastOneSuccess, containsAtLeastOneWarningOrError, containsNoError, containsNoFailure, containsNoSuccess, containsOnlyError, containsOnlyFailure, containsOnlySuccess, getErrorCount, getFailureCount, getMostSevereErrorLevel, getSuccessCount, hasErrorsOrWarningscontainsAny, containsNone, containsOnly, findAll, findAllInstanceOf, findAllMapped, findAllMapped, findAllMapped, findFirst, findFirst, findFirstMapped, findFirstMapped, forEach, forEach, forEachBreakable, getIteratorCount, getIteratorCountforEach, spliteratorisNotEmpty@Deprecated public void addGlobalItem(@Nonnull IError aFormError)
aFormError - The form error object to add. May not be null.@Deprecated public void addGlobalInfo(@Nonnull @Nonempty String sText)
sText - The text to use. May neither be null nor empty.@Deprecated public void addGlobalWarning(@Nonnull @Nonempty String sText)
sText - The text to use. May neither be null nor empty.@Deprecated public void addGlobalError(@Nonnull @Nonempty String sText)
sText - The text to use. May neither be null nor empty.@Deprecated public void addFieldItem(@Nonnull IError aFormFieldError)
aFormFieldError - The form field error object to add. May not be null.public void addFieldInfo(@Nonnull @Nonempty String sFieldName, @Nonnull @Nonempty String sText)
sFieldName - The field name for which the message is to be recorded. May neither
be null nor empty.sText - The text to use. May neither be null nor empty.public void addFieldWarning(@Nonnull @Nonempty String sFieldName, @Nonnull @Nonempty String sText)
sFieldName - The field name for which the message is to be recorded. May neither
be null nor empty.sText - The text to use. May neither be null nor empty.public void addFieldError(@Nonnull @Nonempty String sFieldName, @Nonnull @Nonempty String sText)
sFieldName - The field name for which the message is to be recorded. May neither
be null nor empty.sText - The text to use. May neither be null nor empty.public void addFieldError(@Nonnull @Nonempty String[] aFieldNames, @Nonnull @Nonempty String sText)
aFieldNames - The field names for which the message is to be recorded. May neither
be null nor empty.sText - The text to use. May neither be null nor empty.@Deprecated public boolean hasGlobalErrorsOrWarnings()
true if form-global errors or warnings are present.@Deprecated public boolean hasFormFieldErrorsOrWarnings()
true if form-field errors or warnings are present.@Nonnegative @Deprecated public int getGlobalItemCount()
@Nonnegative @Deprecated public int getFieldItemCount()
@Nonnegative @Deprecated public int getItemCount()
@Nonnull @ReturnsMutableCopy @Deprecated public ICommonsList<IError> getAllGlobalItems()
null list of form global errors.@Nonnull @ReturnsMutableCopy @Deprecated public ICommonsList<String> getAllGlobalItemTexts()
null list of all form global error texts.Copyright © 2014–2016 Philip Helger. All rights reserved.