Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

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

java.lang.Object
  extended by oracle.apps.fnd.applcore.trees.validator.util.BaseValidator
      extended by oracle.apps.fnd.applcore.trees.validator.treeVersion.MultipleActiveVersionValidator
All Implemented Interfaces:
TreeVersionValidator, Validator

public class MultipleActiveVersionValidator
extends BaseValidator
implements TreeVersionValidator

Validator for multiple active tree versions (overlapping date ranges). If the tree structure is defined to allow multiple active versions, only then date ranges can overlap

Author:
Abhay K Kumar <abhay.k.kumar@oracle.com>

Constructor Summary
MultipleActiveVersionValidator()
          Constructor for MultipleActiveVersionValidator.
 
Method Summary
 ValidationResult validate(java.lang.String treeStructureCode, java.lang.String treeCode, java.lang.String treeVersionId)
          Validates a tree version.
 ValidationResult validateForActivation(java.lang.String treeStructureCode, java.lang.String treeCode, java.lang.String treeVersionId)
           
 ValidationResult validateInternal(java.lang.String treeStructureCode, java.lang.String treeCode, java.lang.String treeVersionId, boolean checkFlag)
           
 
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
 

Constructor Detail

MultipleActiveVersionValidator

public MultipleActiveVersionValidator()
Constructor for MultipleActiveVersionValidator.

Method Detail

validateForActivation

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

validate

public ValidationResult validate(java.lang.String treeStructureCode,
                                 java.lang.String treeCode,
                                 java.lang.String treeVersionId)
Description copied from interface: TreeVersionValidator
Validates a tree version.

Specified by:
validate in interface TreeVersionValidator
Parameters:
treeStructureCode - TreeStructureCode
treeCode - TreeCode
treeVersionId - TreeVersionId
Returns:
ValidationResult as validation result
See Also:
ValidationResult

validateInternal

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

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.