ariba.ui.aribaweb.core
Class AWValidationContext
java.lang.Object
ariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWValidationContext
- All Implemented Interfaces:
- AWObject
public class AWValidationContext
- extends AWBaseObject
Fields inherited from class ariba.ui.aribaweb.util.AWBaseObject |
AribaHashtableClass, AribaVectorClass, ClassClass, EmptyHashtable, EmptyMap, EmptyVector, False, IntegerClass, JavaHashtableClass, JavaMapClass, JavaVectorClass, LogHandling, NullObject, ObjectClass, StringClass, True, UndefinedObject, UndefinedString, UninitializedRealNumber |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AWValidationContext
public AWValidationContext()
componentsWithErrors
public java.util.List componentsWithErrors(java.lang.String packageName)
addComponentWithError
public void addComponentWithError(AWComponentDefinition componentDefinition)
packagesWithErrors
public java.util.List packagesWithErrors()
clearGeneralErrors
public void clearGeneralErrors(java.lang.String key)
addGeneralError
public void addGeneralError(java.lang.String key,
java.lang.String msg,
java.lang.Throwable exception)
addGeneralError
public void addGeneralError(java.lang.String msg)
getGeneralErrorKeys
public java.util.List<java.lang.String> getGeneralErrorKeys()
getGeneralErrorsFor
public java.util.List<AWValidationContext.ValidationError> getGeneralErrorsFor(java.lang.String key)
getGeneralErrors
public java.util.List<java.lang.String> getGeneralErrors()
hasErrorForComponentPackage
public boolean hasErrorForComponentPackage(AWComponent component)
- returns whether any error are registered for the given component or any others in its package.
hasErrors
public boolean hasErrors()
hasGeneralErrors
public boolean hasGeneralErrors()
hasValidationErrors
public boolean hasValidationErrors()
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.