atg.remote.promotion.template.validators
Interface Validator
public interface Validator
Field Summary |
static java.lang.String |
CLASS_VERSION
Class version string |
Method Summary |
java.lang.Boolean |
validate(java.lang.String pElementID,
java.util.Map pErrorMap,
java.lang.String pElementType,
java.lang.Object rawValue,
java.util.ArrayList<ElementState> pElementStateList,
java.lang.Object pItemPropertyInfo)
|
CLASS_VERSION
static final java.lang.String CLASS_VERSION
- Class version string
- See Also:
- Constant Field Values
validate
java.lang.Boolean validate(java.lang.String pElementID,
java.util.Map pErrorMap,
java.lang.String pElementType,
java.lang.Object rawValue,
java.util.ArrayList<ElementState> pElementStateList,
java.lang.Object pItemPropertyInfo)
throws atg.repository.editingtemplate.TemplateException
- Parameters:
pElementID
- the ID of the element to validatepElementStateList
- this is the complete List of
ElementState
objects in case we wish to base the validation
of this element on the input to another element, the ID of which we
must already know.pErrorMap
- the Map to which any errors are to be added. Errors must
be added to this map as a list with the key being the element id above.pItemPropertyValues
- this is the known set of property names and
values for this item type.
- Throws:
a
- TemplateException
if there is a problem
obtaining the necessary information.
atg.repository.editingtemplate.TemplateException