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()
           
 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

isSingleErrorBucket

boolean isSingleErrorBucket()

getDisplayOrder

int getDisplayOrder()

getUnnavigableDisplayOrder

int getUnnavigableDisplayOrder()

getRegistrationOrder

int getRegistrationOrder()

setRegistrationOrder

void setRegistrationOrder(int order)

getKey

Object getKey()

getKeys

Object[] getKeys()

keysEqual

boolean keysEqual(Object[] theirKeys)

isDuplicateError

boolean isDuplicateError(AWErrorInfo error)

hasErrorsWithSeverity

boolean hasErrorsWithSeverity(Boolean isWarning)

getFirstError

AWErrorInfo getFirstError(Boolean isWarning)

add

AWErrorBucket add(AWErrorInfo error)

size

int size()

get

AWErrorInfo get(int i)

hasDuplicate

boolean hasDuplicate()

getAssociatedDataTable

AWComponent getAssociatedDataTable()

getAssociatedTableItem

Object getAssociatedTableItem()

setAssociatedTableItem

void setAssociatedTableItem(AWComponent table,
                            Object item)

getErrorInfos

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


getErrorInfos

List<AWErrorInfo> getErrorInfos(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-2009 Ariba, Inc. All Rights Reserved.