|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AWErrorBucket
This interface allows uniform access to a bucket that holds one or more errors that share the same error keys. This allows different implementations for the single error and multiple error cases.
Method Summary | |
---|---|
AWErrorBucket |
add(AWErrorInfo error)
|
AWErrorInfo |
get(int i)
|
AWComponent |
getAssociatedDataTable()
|
java.lang.Object |
getAssociatedTableItem()
|
int |
getDisplayOrder()
|
java.util.List<AWErrorInfo> |
getErrorInfos()
Returns a list of all the AWErrorInfos in this . |
java.util.List<AWErrorInfo> |
getErrorInfos(java.lang.Boolean validationErrors)
Returns a list of all the error infos in this
that satisfy the condition
AWErrorInfo.isValidationError() == validationErrors . |
AWErrorInfo |
getFirstError(java.lang.Boolean isWarning)
|
java.lang.Object |
getKey()
|
java.lang.Object[] |
getKeys()
|
int |
getRegistrationOrder()
|
int |
getUnnavigableDisplayOrder()
|
boolean |
hasDuplicate()
|
boolean |
hasErrorsWithSeverity(java.lang.Boolean isWarning)
|
boolean |
isDuplicateError(AWErrorInfo error)
|
boolean |
isSingleErrorBucket()
|
boolean |
keysEqual(java.lang.Object[] theirKeys)
|
void |
setAssociatedTableItem(AWComponent table,
java.lang.Object item)
|
void |
setRegistrationOrder(int order)
|
int |
size()
|
Method Detail |
---|
boolean isSingleErrorBucket()
int getDisplayOrder()
int getUnnavigableDisplayOrder()
int getRegistrationOrder()
void setRegistrationOrder(int order)
java.lang.Object getKey()
java.lang.Object[] getKeys()
boolean keysEqual(java.lang.Object[] theirKeys)
boolean isDuplicateError(AWErrorInfo error)
boolean hasErrorsWithSeverity(java.lang.Boolean isWarning)
AWErrorInfo getFirstError(java.lang.Boolean isWarning)
AWErrorBucket add(AWErrorInfo error)
int size()
AWErrorInfo get(int i)
boolean hasDuplicate()
AWComponent getAssociatedDataTable()
java.lang.Object getAssociatedTableItem()
void setAssociatedTableItem(AWComponent table, java.lang.Object item)
java.util.List<AWErrorInfo> getErrorInfos()
AWErrorInfos
in this
.
java.util.List<AWErrorInfo> getErrorInfos(java.lang.Boolean validationErrors)
this
that satisfy the condition
AWErrorInfo.isValidationError()
== validationErrors
.
All error infos are returned if validationErrors == null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |