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 |
AWValidationContext
public AWValidationContext()
componentsWithErrors
public List componentsWithErrors(String packageName)
addComponentWithError
public void addComponentWithError(AWComponentDefinition componentDefinition)
packagesWithErrors
public List packagesWithErrors()
clearGeneralErrors
public void clearGeneralErrors(String key)
addGeneralError
public void addGeneralError(String key,
String msg,
Throwable exception)
addGeneralError
public void addGeneralError(String msg)
getGeneralErrorKeys
public List<String> getGeneralErrorKeys()
getGeneralErrorsFor
public List<AWValidationContext.ValidationError> getGeneralErrorsFor(String key)
getGeneralErrors
public List<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-2009 Ariba, Inc. All Rights Reserved.