Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.trees.validator.treeVersion
Class TreeVersionBasicValidator

java.lang.Object
  extended by oracle.apps.fnd.applcore.trees.validator.util.BaseValidator
      extended by oracle.apps.fnd.applcore.trees.validator.treeVersion.TreeVersionBasicValidator
All Implemented Interfaces:
TreeVersionValidator, Validator
Direct Known Subclasses:
AvailableNodeValidator, DataSourceMaxDepthValidator, DateRestrictedNodeValidator, DuplicateNodeValidator, EffectiveDateValidator, LabelEnabledNodeValidator, MultipleActiveVersionValidator, NodeRelationshipValidator, RangeBasedNodeValidator, ReferencedTreeVersionValidator, RootNodeValidator, SetIdRestrictedNodeValidator, TerminalNodeValidator, UsageLimitValidator

public class TreeVersionBasicValidator
extends BaseValidator
implements TreeVersionValidator

Common validations across validators for tree versions tree version nodes.


Field Summary
protected static int ERROR_TOKEN_TYPE_ARRAY_STRING
           
protected static int ERROR_TOKEN_TYPE_AUDIT
           
protected static int ERROR_TOKEN_TYPE_AUDIT_MAX_DEPTH
           
 
Constructor Summary
TreeVersionBasicValidator(java.lang.String code, java.lang.String name, java.lang.String description)
          Constructor.
 
Method Summary
protected  java.lang.String processedErrorDetail(java.util.List treeNodesList, int errorTokenType)
          process the error details for passed in failing tree audit nodes.
 ValidationResult validate(java.lang.String treeStructureCode, java.lang.String treeCode, java.lang.String treeVersionId)
           
 ValidationResult validate(TreeVersionAuditInfo auditInfo)
          Validates for basic check.
 
Methods inherited from class oracle.apps.fnd.applcore.trees.validator.util.BaseValidator
getCode, getDescription, getName, setCode, setDescription, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.apps.fnd.applcore.trees.validator.Validator
getCode, getDescription, getName
 

Field Detail

ERROR_TOKEN_TYPE_AUDIT

protected static int ERROR_TOKEN_TYPE_AUDIT

ERROR_TOKEN_TYPE_ARRAY_STRING

protected static int ERROR_TOKEN_TYPE_ARRAY_STRING

ERROR_TOKEN_TYPE_AUDIT_MAX_DEPTH

protected static int ERROR_TOKEN_TYPE_AUDIT_MAX_DEPTH
Constructor Detail

TreeVersionBasicValidator

public TreeVersionBasicValidator(java.lang.String code,
                                 java.lang.String name,
                                 java.lang.String description)
Constructor.

Method Detail

validate

public ValidationResult validate(TreeVersionAuditInfo auditInfo)
Validates for basic check.

Specified by:
validate in interface TreeVersionValidator
Parameters:
auditInfo - TreeVersionAuditInfo
Returns:
ValidationResult the result of the validation
See Also:
ValidationResult

validate

public ValidationResult validate(java.lang.String treeStructureCode,
                                 java.lang.String treeCode,
                                 java.lang.String treeVersionId)
Parameters:
treeStructureCode - TreeStructureCode
treeCode - TreeCode
treeVersionId - TreeVersionId
Returns:
ValidationResult as validation result

processedErrorDetail

protected java.lang.String processedErrorDetail(java.util.List treeNodesList,
                                                int errorTokenType)
process the error details for passed in failing tree audit nodes.

Parameters:
treeNodesList - List of treeNodes bean
errorTokenType - to identify calling validators
Returns:
detailed error message

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.