ariba.ui.aribaweb.core
Interface AWErrorBucket

All Known Implementing Classes:
AWErrorInfo, AWErrorManager.MultiErrorBucket

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

isSingleErrorBucket

boolean isSingleErrorBucket()

getDisplayOrder

int getDisplayOrder()

getUnnavigableDisplayOrder

int getUnnavigableDisplayOrder()

getRegistrationOrder

int getRegistrationOrder()

setRegistrationOrder

void setRegistrationOrder(int order)

getKey

java.lang.Object getKey()

getKeys

java.lang.Object[] getKeys()

keysEqual

boolean keysEqual(java.lang.Object[] theirKeys)

isDuplicateError

boolean isDuplicateError(AWErrorInfo error)

hasErrorsWithSeverity

boolean hasErrorsWithSeverity(java.lang.Boolean isWarning)

getFirstError

AWErrorInfo getFirstError(java.lang.Boolean isWarning)

add

AWErrorBucket add(AWErrorInfo error)

size

int size()

get

AWErrorInfo get(int i)

hasDuplicate

boolean hasDuplicate()

getAssociatedDataTable

AWComponent getAssociatedDataTable()

getAssociatedTableItem

java.lang.Object getAssociatedTableItem()

setAssociatedTableItem

void setAssociatedTableItem(AWComponent table,
                            java.lang.Object item)

getErrorInfos

java.util.List<AWErrorInfo> getErrorInfos()
Returns a list of all the AWErrorInfos in this.


getErrorInfos

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. All error infos are returned if validationErrors == null.



AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.