ariba.ui.aribaweb.core
Class AWErrorManager.MultiErrorBucket

java.lang.Object
  extended by ariba.ui.aribaweb.core.AWErrorManager.MultiErrorBucket
All Implemented Interfaces:
AWErrorBucket
Enclosing class:
AWErrorManager

public static class AWErrorManager.MultiErrorBucket
extends java.lang.Object
implements AWErrorBucket

This holds several errors.


Constructor Summary
AWErrorManager.MultiErrorBucket(AWErrorInfo error)
           
 
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()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWErrorManager.MultiErrorBucket

public AWErrorManager.MultiErrorBucket(AWErrorInfo error)
Method Detail

getFirstError

public AWErrorInfo getFirstError(java.lang.Boolean isWarning)
Specified by:
getFirstError in interface AWErrorBucket

getKey

public java.lang.Object getKey()
Specified by:
getKey in interface AWErrorBucket

getKeys

public java.lang.Object[] getKeys()
Specified by:
getKeys in interface AWErrorBucket

keysEqual

public boolean keysEqual(java.lang.Object[] theirKeys)
Specified by:
keysEqual in interface AWErrorBucket

getDisplayOrder

public int getDisplayOrder()
Specified by:
getDisplayOrder in interface AWErrorBucket

getUnnavigableDisplayOrder

public int getUnnavigableDisplayOrder()
Specified by:
getUnnavigableDisplayOrder in interface AWErrorBucket

getRegistrationOrder

public int getRegistrationOrder()
Specified by:
getRegistrationOrder in interface AWErrorBucket

setRegistrationOrder

public void setRegistrationOrder(int order)
Specified by:
setRegistrationOrder in interface AWErrorBucket

isSingleErrorBucket

public boolean isSingleErrorBucket()
Specified by:
isSingleErrorBucket in interface AWErrorBucket

add

public AWErrorBucket add(AWErrorInfo error)
Specified by:
add in interface AWErrorBucket

isDuplicateError

public boolean isDuplicateError(AWErrorInfo error)
Specified by:
isDuplicateError in interface AWErrorBucket

hasErrorsWithSeverity

public boolean hasErrorsWithSeverity(java.lang.Boolean isWarning)
Specified by:
hasErrorsWithSeverity in interface AWErrorBucket

get

public AWErrorInfo get(int i)
Specified by:
get in interface AWErrorBucket

size

public int size()
Specified by:
size in interface AWErrorBucket

getErrorInfos

public java.util.List<AWErrorInfo> getErrorInfos()
Description copied from interface: AWErrorBucket
Returns a list of all the AWErrorInfos in this.

Specified by:
getErrorInfos in interface AWErrorBucket

hasDuplicate

public boolean hasDuplicate()
Specified by:
hasDuplicate in interface AWErrorBucket

getAssociatedDataTable

public AWComponent getAssociatedDataTable()
Specified by:
getAssociatedDataTable in interface AWErrorBucket

getAssociatedTableItem

public java.lang.Object getAssociatedTableItem()
Specified by:
getAssociatedTableItem in interface AWErrorBucket

setAssociatedTableItem

public void setAssociatedTableItem(AWComponent table,
                                   java.lang.Object item)
Specified by:
setAssociatedTableItem in interface AWErrorBucket

getErrorInfos

public java.util.List<AWErrorInfo> getErrorInfos(java.lang.Boolean validationErrors)
Description copied from interface: AWErrorBucket
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.

Specified by:
getErrorInfos in interface AWErrorBucket


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