|
Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TagDAO
Models a Data Access Object for retrieving Tag related information.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.provider.dao.BaseDAO |
---|
BaseDAO.DBSessionInfo |
Method Summary | |
---|---|
boolean |
exists(java.lang.String pTagName)
Checks if this tag exists in the repository. |
boolean |
exists(java.lang.String pTagName,
java.lang.String pTagValue)
Checks if this tag value exists in the repository. |
boolean |
existsTagTypeTagValue(java.lang.String tagValueId,
java.lang.String tagType)
Queries the repository to check if a tag value with the given tagValueId and tagType exists. |
TestPrereqList |
fetchAllTagValueIdPrereqs(java.lang.String pTagValueId)
|
TestPrereqList |
fetchAllTagValueIdPrereqs(java.lang.String pTagValueId,
boolean pProcessIncludedTests)
|
java.util.List<java.lang.String> |
fetchAllTestIdPrereqs(java.lang.String pTagValueId)
|
TestPrereqList |
fetchAllTestIdPrereqs(java.lang.String pTagValueId,
int pOrder,
TestPrereqList pTagValuePrereqList,
TestPrereqList pIncludedTagValueList,
TestPrereqList pIncludedTestList)
|
java.util.List<java.lang.String> |
fetchAllTestIdPrereqs(java.lang.String pTagValueId,
java.util.List<java.lang.String> pPrereqTagValueIdList)
|
java.util.List<java.lang.String> |
fetchChildTestIds(java.lang.String pTagValueId,
boolean pRecurse)
|
TagValuePrereqList |
fetchImmediateTagValueIdPrereqs(java.lang.String pTagValueId)
Returns a list of TagValuePrereq objects that are immediate (top level) prerequisites of the given tag value id. |
Tag |
fetchTagByName(java.lang.String name)
Fetches tag definition for a particular tag using the tag name |
TagValue |
fetchTagValue(java.lang.String tagName,
java.lang.String tagValue)
Fetches the tag value definition for a particular tag value using the given tag name and tag value |
java.lang.String[] |
getModuleIdsForApps(java.lang.String[] pAppCodes)
|
java.lang.String[] |
getModuleIdsForModuleKeys(java.lang.String[] pModuleKeys)
|
java.lang.String |
getTagId(java.lang.String pTagName)
Queries the tag ID for the given tag name |
java.lang.String |
getTagValueId(java.lang.String tagName,
java.lang.String tagValue)
Queries to see if a native diagnostic tag value with the given tagName and tagValue exists in the repository. |
boolean |
hasTestReferences(java.lang.String pTagName)
Checks to see if one or more diagnostic tests reference the given tag name. |
boolean |
hasTestReferences(java.lang.String pTagName,
java.lang.String pTagValue)
Checks to see if one or more diagnostic tests reference the given tag name value pair. |
void |
remove(java.lang.String pTagName)
Removes the given tag from the diagnostics repository. |
void |
remove(java.lang.String pTagName,
java.lang.String pTagValue)
Removes the given tag name and value pair from the diagnostics repository. |
void |
save(Tag pTag)
Saves the given tag entity into the diagnostics repository |
void |
save(TagValue pTagValue)
Saves the given tag value entity into the diagnostics repository |
void |
saveWithinTxn(TagValue pObj,
java.sql.Connection pConn)
Saves the given tag value entity into the diagnostics repository, but allows for this to be done as part of a different transaction. |
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.provider.dao.BaseDAO |
---|
createSysGuid, getDBSessionInfo, queryNlsParameters, querySysDate, querySysDate |
Method Detail |
---|
boolean existsTagTypeTagValue(java.lang.String tagValueId, java.lang.String tagType)
tagValueId
- tagType
-
java.lang.String getTagValueId(java.lang.String tagName, java.lang.String tagValue)
tagName
- - Name of the tagtagValue
- - Value of the tag
java.lang.String getTagId(java.lang.String pTagName)
pTagName
- name of the tag to query
TagValuePrereqList fetchImmediateTagValueIdPrereqs(java.lang.String pTagValueId)
pTagValueId
- tag value id for which to fetch the prereqs
TestPrereqList fetchAllTagValueIdPrereqs(java.lang.String pTagValueId) throws DiagPrereqCycleException
pTagValueId
- - Source Tag Value ID for which to find TagValueId Prereq List
DiagPrereqCycleException
- shows cycle found during dependency resolution process.TestPrereqList fetchAllTagValueIdPrereqs(java.lang.String pTagValueId, boolean pProcessIncludedTests) throws DiagPrereqCycleException
pTagValueId
- Tag Value Id for which to fetch all Tag Value Prereqs.pProcessIncludedTests
- Flag value true indicates that tag value prereq dependency resolution process
will analyze both tag value prereqs and test prereqs.
DiagPrereqCycleException
- shows cycle found during dependency resolution process.java.util.List<java.lang.String> fetchAllTestIdPrereqs(java.lang.String pTagValueId) throws DiagPrereqCycleException
pTagValueId
- - Source Tag Value ID for which to find TagValueId Prereq List
DiagPrereqCycleException
- shows cycle found during dependency resolution process.java.util.List<java.lang.String> fetchAllTestIdPrereqs(java.lang.String pTagValueId, java.util.List<java.lang.String> pPrereqTagValueIdList) throws DiagPrereqCycleException
pTagValueId
- - Tag Value IdpPrereqTagValueIdList
- - When value is null, API will not add Prereq Tag Value Ids.
When value is not null, API will append Prereq Tag Value Id list,
discovered while resolving tag value id dependencies, including child tag value ids
of the passed parameter "pTagValueId", but excluding the parameter itself.
DiagPrereqCycleException
- shows cycle found during dependency resolution process.TestPrereqList fetchAllTestIdPrereqs(java.lang.String pTagValueId, int pOrder, TestPrereqList pTagValuePrereqList, TestPrereqList pIncludedTagValueList, TestPrereqList pIncludedTestList) throws DiagPrereqCycleException
pTagValueId
- - Tag Value IdpOrder
- - Order number of pTagValueIdpTagValuePrereqList
- - When value is null, API will not add TagValue type TestPrereqs.
When value is not null, API will append TagValue type TestPrereqs,
discovered while resolving tag value id dependencies, excluding the parameter - pTagValueId -
itself and its child tag value ids.pIncludedTagValueList
- - When not null, add child Tag Values (as TestPrereqList with order info)pIncludedTestList
- - When not null, add child Tests (as TestPrereqList with order info)
DiagPrereqCycleException
- shows cycle found during dependency resolution process.java.util.List<java.lang.String> fetchChildTestIds(java.lang.String pTagValueId, boolean pRecurse)
pTagValueId
- - Child Tag Value ID'spRecurse
- - when true, prerequites are resolved recursively;
otherwise, only straight chid nodes are considered.
java.lang.String[] getModuleIdsForApps(java.lang.String[] pAppCodes)
pAppCodes
- - Taxonomy Module Keys - Each Module Key has unique Module Id
java.lang.String[] getModuleIdsForModuleKeys(java.lang.String[] pModuleKeys)
pModuleKeys
- - Taxonomy Module Keys - Each Module Key has unique Module Id
void save(Tag pTag)
pTag
- tag entity to savevoid save(TagValue pTagValue)
pTagValue
- tag value entity to savevoid saveWithinTxn(TagValue pObj, java.sql.Connection pConn)
pObj
- tag value entity to savepConn
- the connection to use for savingvoid remove(java.lang.String pTagName)
pTagName
- name of the tag to remove.void remove(java.lang.String pTagName, java.lang.String pTagValue)
pTagName
- name of the tagpTagValue
- value of the tagboolean hasTestReferences(java.lang.String pTagName, java.lang.String pTagValue)
pTagName
- name of the tag to checkpTagValue
- value of the tag to check
boolean hasTestReferences(java.lang.String pTagName)
pTagName
- name of the tag to check
boolean exists(java.lang.String pTagName)
The tag name must be set on this object prior to calling this method.
pTagName
- name of the tag to check
boolean exists(java.lang.String pTagName, java.lang.String pTagValue)
The tag name must be set on this object prior to calling this method.
pTagName
- name of the tag to checkpTagValue
- name of the tag value tag to check
Tag fetchTagByName(java.lang.String name)
name
- name of the tag to detch
TagValue fetchTagValue(java.lang.String tagName, java.lang.String tagValue)
tagName
- tag nametagValue
- tag value
|
Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |