Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

oracle.apps.fnd.appltest.diagfwk.engine.impl
Class TagImpl

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl<Tag>
      extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.TagImpl
All Implemented Interfaces:
DiagConstants, DiagBObj<Tag>, Tag

public class TagImpl
extends DiagBObjImpl<Tag>
implements Tag

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/impl/TagImpl.java /main/13 2009/12/03 12:15:20 cshare Exp $
Author:
ppradhan

Nested Class Summary
 
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status
 
Field Summary
 
Fields inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants
APPS_MSG_ID_TAG_NAME, CFG_ADR_PROVIDER_CLASS, CFG_CACHE_PROVIDER_CLASS, CFG_CRED_PROVIDER_CLASS, CFG_DAO_FACTORY_CLASS, CFG_DB_CONN_INFO_PROVIDER_CLASS, CFG_DB_CONN_PROVIDER_CLASS, CFG_NLS_PROVIDER_CLASS, CFG_PLSQL_PROVIDER_CLASS, CFG_PROFILE_PROVIDER_CLASS, CFG_SECURITY_PROVIDER_CLASS, CFG_SESSION_INFO_PROVIDER_CLASS, CFG_URL_PROVIDER_FACTORY_CLASS, CFG_WLS_MBEANSRV_CONNINFO_PROVIDER_CLASS, DATA_SECURITY_PERMISSION_ALLOWED, DATA_SECURITY_PERMISSION_NOT_ALLOWED, DELIM_URL, EXEC_MODE_CLI, EXEC_MODE_ESS, EXEC_MODE_INCIDENT, EXEC_MODE_JAVA, EXEC_MODE_UI, EXECUTABLE_TYPE_JAVA, EXECUTABLE_TYPE_PLSQL, EXECUTABLE_TYPE_TESTREF, FORMAT_HTML, FORMAT_XML, GUID_ORACLE_MINUS1, GUID_ORACLE_ZERO, INPUTS_STATUS_ALL_OPT_INPUTS, INPUTS_STATUS_NO_INPUTS, INPUTS_STATUS_REQ_INPUTS_NO_DEFAULTS, INPUTS_STATUS_REQ_INPUTS_W_DEFAULTS, IO_FLAG_I, IO_FLAG_O, JMX_API_BASE_OBJECT_NAME, LINK_EXTERNAL, LINK_INTERNAL, LINK_METALINK, N, NLS_BUNDLE_JAVA_RES, NLS_BUNDLE_MSG_SVC, NLS_BUNDLE_RES_REF, NLS_BUNDLE_XLIFF, NO, NULL, ODF_MBEAN_DOMAIN_NAME, PARAM_MON_INTERVAL, PLSQL_DEBUG_ENABLED_SYSTEM_PROP, PREREQ_TYPE_TAG_VALUE, PREREQ_TYPE_TEST, SECONDS_IN_ONE_DAY, SECONDS_IN_ONE_HOUR, STATUS_CANCELED, STATUS_EXECERROR, STATUS_FAILURE, STATUS_RUNNING, STATUS_SUCCESS, STATUS_WARNING, SYS_PROP_MAX_MONITOR_INTERNVAL, SYS_PROP_MAX_NUM_THREADS, SYSPROP_APPCONNFILE, SYSPROP_DIAG_CONFIG_FILE, TAG_TYPE_DIAG, TAG_TYPE_TAXONOMY, TEST_TYPE_DECL, TEST_TYPE_JAVA, USER_NAME, WEB_APP_NAME_TAG_NAME, Y, YES
 
Constructor Summary
TagImpl()
           
 
Method Summary
 void copy(Tag pObj)
           
 void copyT(java.lang.Object pObj)
          Copies the contents of the given object into this object
 void create()
          This method will save the definition of this tag into the Applications Database.
 boolean exists()
          Checks if this tag exists in the repository.
 void fetch()
          Fetches the definition for this tag.
 java.lang.String getDescription()
          Gets the description for the tag
 java.lang.String getDisplayName()
          Gets the tag display name
 java.lang.String getModuleId()
          Gets the Module ID for the taxonomy module that owns the seed data for this tag
 java.lang.String getTagId()
          Gets the tag id
 java.lang.String getTagName()
          Gets the tag name
 TagValueList getTagValueList()
          Gets the list of tag values for this tag
 boolean hasTestReferences()
          Checks to see if this tag is referred to from any diagnostic tests.
 void remove()
          Removes this tag from the repository.
protected  void save()
           
 void setDescription(java.lang.String pDescription)
          Sets the description
 void setDisplayName(java.lang.String pDisplayName)
          Sets the tag display name
 void setModuleId(java.lang.String moduleId)
          Sets the module ID
 void setTagId(java.lang.String pTagId)
          Sets the tag id
 void setTagName(java.lang.String pTagName)
          Sets the tag name
 void setTagValueList(TagValueList pTagValueList)
          Sets the tag value list for this list
 
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl
copyCommon, getCreatedBy, getCreationDate, getLastUpdateDate, getLastUpdatedBy, getLastUpdateLogin, isCreatedByOracle, setCreatedBy, setCreationDate, setLastUpdateDate, setLastUpdatedBy, setLastUpdateLogin
 
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.appltest.diagfwk.engine.DiagBObj
getCreatedBy, getCreationDate, getLastUpdateDate, getLastUpdatedBy, getLastUpdateLogin, isCreatedByOracle, setCreatedBy, setCreationDate, setLastUpdateDate, setLastUpdatedBy, setLastUpdateLogin
 

Constructor Detail

TagImpl

public TagImpl()
Method Detail

getTagId

public java.lang.String getTagId()
Description copied from interface: Tag
Gets the tag id

Specified by:
getTagId in interface Tag
Returns:
the tag id

getTagName

public java.lang.String getTagName()
Description copied from interface: Tag
Gets the tag name

Specified by:
getTagName in interface Tag
Returns:
the tag name

getDisplayName

public java.lang.String getDisplayName()
Description copied from interface: Tag
Gets the tag display name

Specified by:
getDisplayName in interface Tag
Returns:
the tag display name

getDescription

public java.lang.String getDescription()
Description copied from interface: Tag
Gets the description for the tag

Specified by:
getDescription in interface Tag
Returns:
the description for the tag

setTagId

public void setTagId(java.lang.String pTagId)
Description copied from interface: Tag
Sets the tag id

Specified by:
setTagId in interface Tag
Parameters:
pTagId - the tag id

setTagName

public void setTagName(java.lang.String pTagName)
Description copied from interface: Tag
Sets the tag name

Specified by:
setTagName in interface Tag
Parameters:
pTagName - the tag name

setDisplayName

public void setDisplayName(java.lang.String pDisplayName)
Description copied from interface: Tag
Sets the tag display name

Specified by:
setDisplayName in interface Tag
Parameters:
pDisplayName - the tag display name

setDescription

public void setDescription(java.lang.String pDescription)
Description copied from interface: Tag
Sets the description

Specified by:
setDescription in interface Tag
Parameters:
pDescription - the description

getTagValueList

public TagValueList getTagValueList()
Description copied from interface: Tag
Gets the list of tag values for this tag

Specified by:
getTagValueList in interface Tag
Returns:
the list of tag values for this tag

setTagValueList

public void setTagValueList(TagValueList pTagValueList)
Description copied from interface: Tag
Sets the tag value list for this list

Specified by:
setTagValueList in interface Tag
Parameters:
pTagValueList - the tag value list

copy

public void copy(Tag pObj)
Specified by:
copy in interface Tag
Specified by:
copy in class DiagBObjImpl<Tag>

copyT

public void copyT(java.lang.Object pObj)
Description copied from interface: DiagBObj
Copies the contents of the given object into this object

Specified by:
copyT in interface DiagBObj<Tag>
Parameters:
pObj - the contents of the given object into this object

setModuleId

public void setModuleId(java.lang.String moduleId)
Description copied from interface: Tag
Sets the module ID

Specified by:
setModuleId in interface Tag
Parameters:
moduleId - the module ID

getModuleId

public java.lang.String getModuleId()
Description copied from interface: Tag
Gets the Module ID for the taxonomy module that owns the seed data for this tag

Specified by:
getModuleId in interface Tag
Returns:
the module ID for the taxonomy module that owns the seed data for this tag

create

public void create()
Description copied from interface: Tag
This method will save the definition of this tag into the Applications Database. Clients will need to set all the required properties on this Tag object prior to calling this method.

The required attributes are tagName, displayName, moduleId. The description attribute can also be populated optionally. If the tag is getting created for the first time, this API automatically generates a tagId for the tag and sets it on this object.

Specified by:
create in interface Tag

save

protected void save()

hasTestReferences

public boolean hasTestReferences()
Description copied from interface: Tag
Checks to see if this tag is referred to from any diagnostic tests. References could be in the form of associations or prerequisite relationship.

Currently, requires tag name to be set prior to invoking this method.

Specified by:
hasTestReferences in interface Tag
Returns:
true if this tag is referred to by at least one test. returns false otherwise.

remove

public void remove()
Description copied from interface: Tag
Removes this tag from the repository. Any child tag values are also removed.

The tag name must be set on this object prior to calling this method.

Specified by:
remove in interface Tag

fetch

public void fetch()
Description copied from interface: Tag
Fetches the definition for this tag. Tag name should be set on this object prior to calling this method.

Specified by:
fetch in interface Tag

exists

public boolean exists()
Description copied from interface: Tag
Checks if this tag exists in the repository.

The tag name must be set on this object prior to calling this method.

Specified by:
exists in interface Tag
Returns:
true if tag exists, false otherwise.

Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.