|
|||||||||
| 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()
|
Object |
getAssociatedTableItem()
|
int |
getDisplayOrder()
|
List<AWErrorInfo> |
getErrorInfos()
Returns a list of all the AWErrorInfos in this. |
List<AWErrorInfo> |
getErrorInfos(Boolean validationErrors)
Returns a list of all the error infos in this
that satisfy the condition
AWErrorInfo.isValidationError() == validationErrors. |
AWErrorInfo |
getFirstError(Boolean isWarning)
|
Object |
getKey()
|
Object[] |
getKeys()
|
int |
getRegistrationOrder()
|
int |
getUnnavigableDisplayOrder()
|
boolean |
hasDuplicate()
|
boolean |
hasErrorsWithSeverity(Boolean isWarning)
|
boolean |
isDuplicateError(AWErrorInfo error)
|
boolean |
isSingleErrorBucket()
|
boolean |
keysEqual(Object[] theirKeys)
|
void |
setAssociatedTableItem(AWComponent table,
Object item)
|
void |
setRegistrationOrder(int order)
|
int |
size()
|
| Method Detail |
|---|
boolean isSingleErrorBucket()
int getDisplayOrder()
int getUnnavigableDisplayOrder()
int getRegistrationOrder()
void setRegistrationOrder(int order)
Object getKey()
Object[] getKeys()
boolean keysEqual(Object[] theirKeys)
boolean isDuplicateError(AWErrorInfo error)
boolean hasErrorsWithSeverity(Boolean isWarning)
AWErrorInfo getFirstError(Boolean isWarning)
AWErrorBucket add(AWErrorInfo error)
int size()
AWErrorInfo get(int i)
boolean hasDuplicate()
AWComponent getAssociatedDataTable()
Object getAssociatedTableItem()
void setAssociatedTableItem(AWComponent table,
Object item)
List<AWErrorInfo> getErrorInfos()
AWErrorInfos in this.
List<AWErrorInfo> getErrorInfos(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 | ||||||||