Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

oracle.apps.fnd.appltest.diagfwk.engine.facade
Class TagDefFacade

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.engine.facade.TagDefFacade

public class TagDefFacade
extends java.lang.Object

Facade APIs that are related to tags and tag values. This APIs are generally meant to be used by the interface layers of the diagnostics framework (such as the user-interface) and are not for public use.

Since:
release specific (what release of product did this appear in)
Version:
$Header: atgpf/appltest/applications/Diagnostics/Engine/src/oracle/apps/fnd/appltest/diagfwk/engine/facade/TagDefFacade.java /main/2 2008/10/16 17:20:43 lwong Exp $
Author:
ppradhan

Constructor Summary
TagDefFacade()
           
 
Method Summary
 boolean exists(java.lang.String pTagName)
          Checks if the given tag name has one or more tag values that are referred to by at least one test.
 boolean exists(java.lang.String pTagName, java.lang.String pTagValue)
          Checks if the given tag value for a tag name exists.
 boolean hasTestReferences(java.lang.String pTagName)
          Checks if the given tag name has one or more tag values that are referred to by at least one test.
 boolean hasTestReferences(java.lang.String pTagName, java.lang.String pTagValue)
          Checks if the given tag name value pair has at least one test that refers it.
 void removeTag(java.lang.String pTagName)
          Removes the given Tag definition from the Applications Database.
 void removeTagValue(java.lang.String pTagName, java.lang.String pTagValue)
          Removes the given Tag Value definition from the Applications Database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagDefFacade

public TagDefFacade()
Method Detail

removeTagValue

public void removeTagValue(java.lang.String pTagName,
                           java.lang.String pTagValue)
                    throws DiagfwkException
Removes the given Tag Value definition from the Applications Database. Any tests that references this tag value are also cleaned up so that they no longer reference this tag value after this operation is completed.

Throws:
DiagfwkException - when any error occurs during the removal.

removeTag

public void removeTag(java.lang.String pTagName)
               throws DiagfwkException
Removes the given Tag definition from the Applications Database. Any included tag values are also removed.

Throws:
DiagfwkException - when any error occurs during the removal.

hasTestReferences

public boolean hasTestReferences(java.lang.String pTagName,
                                 java.lang.String pTagValue)
Checks if the given tag name value pair has at least one test that refers it. References could be in the form of a direct association or prerequisite.

Parameters:
pTagName - - name of the tag
pTagValue - - value of the tag
Returns:
Returns true if the tag name value pair is referred to by at least one test. returns false otherwise.

hasTestReferences

public boolean hasTestReferences(java.lang.String pTagName)
Checks if the given tag name has one or more tag values that are referred to by at least one test. References could be either in the form of a direct association or in the form of a prerequisite.

Parameters:
pTagName - name of the tag to check for
Returns:
true if the given tag name is referred to by at least one test. returns false otherwise.

exists

public boolean exists(java.lang.String pTagName)
Checks if the given tag name has one or more tag values that are referred to by at least one test. References could be either in the form of a direct association or in the form of a prerequisite.

Parameters:
pTagName - name of the tag to check for
Returns:
true if the given tag name is referred to by at least one test. returns false otherwise.

exists

public boolean exists(java.lang.String pTagName,
                      java.lang.String pTagValue)
Checks if the given tag value for a tag name exists.

Parameters:
pTagName - name of the tag to check for
pTagValue - tag value to check for
Returns:
true if the given tag value exists returns false otherwise.

Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.