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

E22562-05

oracle.apps.fnd.applcore.trees.audit
Class TreeVersionAuditor

java.lang.Object
  extended by oracle.apps.fnd.applcore.trees.audit.TreeVersionAuditor

public final class TreeVersionAuditor
extends java.lang.Object

Registers and executes the validators specific to any Tree Version Audit.

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

Method Summary
 java.util.Map<java.lang.String,ValidationResult> audit(java.lang.String treeStructureCode, java.lang.String treeCode, java.lang.String treeVersionId)
          Executes validators registered and processes the results.
 ValidationResult audit(java.lang.String treeStructureCode, java.lang.String treeCode, java.lang.String treeVersionId, java.lang.String validatorCode)
          Executes a specific validator and processes the results.
static TreeVersionAuditor getInstance()
          Gets the Tree Version Auditor object.
 java.util.Map<java.lang.String,TreeVersionValidator> getValidatorsMap()
          Gets the Tree Version Validators Map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TreeVersionAuditor getInstance()
Gets the Tree Version Auditor object.

Returns:
TreeVersionAuditor the TreeVersionAuditor instance

getValidatorsMap

public java.util.Map<java.lang.String,TreeVersionValidator> getValidatorsMap()
Gets the Tree Version Validators Map.

Returns:
Map of Tree Version validators as code and instance pair

audit

public java.util.Map<java.lang.String,ValidationResult> audit(java.lang.String treeStructureCode,
                                                              java.lang.String treeCode,
                                                              java.lang.String treeVersionId)
Executes validators registered and processes the results.

Parameters:
treeStructureCode - the Tree Structure code
treeCode - the Tree code
treeVersionId - the Tree Version ID as String
Returns:
Map of the Validator Code and validation results as pairs for each tree version validator
See Also:
ValidationResult

audit

public ValidationResult audit(java.lang.String treeStructureCode,
                              java.lang.String treeCode,
                              java.lang.String treeVersionId,
                              java.lang.String validatorCode)
Executes a specific validator and processes the results.

Parameters:
treeStructureCode - the Tree Structure code
treeCode - the Tree code
treeVersionId - the Tree Version ID as String
validatorCode - the validator to run
Returns:
ValidationResult the validation results
See Also:
ValidationResult

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

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.