|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TestRunDAO
Provide Data Access APIs for Test Run related information.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.provider.dao.BaseDAO |
---|
BaseDAO.DBSessionInfo |
Method Summary | |
---|---|
void |
deleteRun(java.lang.String pRunId)
Deletes the run with the given run ID (including all the executions in the run). |
void |
deleteRuns(java.lang.String[] pRunIds)
Deletes runs with the given set of run IDs. |
boolean |
existsExecution(java.lang.String pExecutionId)
Checks to see if an Execution with the given Execution ID exists. |
boolean |
existsRun(java.lang.String pRunId)
Checks to see if a Run with the given Run ID exists. |
TestExec |
fetch(java.lang.String pExecId)
Queries Diagnostic Test Execution data in the repository to fetch TestExec object. |
TestRun |
fetch(java.lang.String pRunId,
boolean pFetchExecs)
Queries Diagnostic Run data in the repository to fetch TestRun object. |
TestRun |
fetch(java.lang.String pRunId,
boolean pFetchExecs,
boolean bLoadReport)
Queries Diagnostic Run data in the repository to fetch TestRun object. |
TestRun |
fetchByRunName(java.lang.String pRunName,
boolean pFetchExecs)
Queries Diagnostic Run data in the repository to fetch TestRun object. |
TestRun |
fetchByRunName(java.lang.String pRunName,
boolean pFetchExecs,
boolean bLoadReport)
Queries Diagnostic Run data in the repository to fetch TestRun object. |
TestExec |
fetchExecution(java.lang.String pExecId,
boolean pIncludeChildren)
Gets the test execution for the given execution ID. |
TestExec |
fetchExecution(java.lang.String pExecId,
boolean pIncludeChildren,
boolean bLoadReport)
Gets the test execution for the given execution ID. |
TestExecList |
fetchExecutions(java.lang.String pRunId)
Fetches the executions for the given test run. |
TestExecList |
fetchExecutions(java.lang.String pRunId,
boolean bLoadReport)
Fetches the executions for the given test run. |
TestExec |
fetchTestExec(java.lang.String pExecId,
boolean bLoadReport)
Queries Diagnostic Test Execution data in the repository to fetch TestExec object. |
int |
getQueryRunsMaxLimit()
Returns the maximum limit on the number of rows returned by the query runs API. |
java.lang.String |
queryExecStatus(java.lang.String pExecId)
Queries the status of the given execution ID |
TestExecList |
queryImmediateChildExecutions(java.lang.String pParentExecId)
Queries the immediate test executions for the given execution ID. |
TestExecList |
queryImmediateExecutions(java.lang.String pRunId)
Queries the immediate test executions for the given run ID. |
java.lang.String |
queryRunId(java.lang.String pRunName)
Queries the Run ID for the given Run name. |
TestRunList |
queryRuns(java.lang.String[] pStatusCodes,
java.lang.Long pTimeInterval,
java.lang.String pRunByUser,
java.util.Date pFromDate,
java.util.Date pToDate,
java.lang.String pRunName,
java.lang.String pTestDisplayName)
Queries test runs based on the given criteria. |
java.lang.String |
queryRunStatus(java.lang.String pRunId)
Queries the status of the given run ID |
void |
save(TestExec exec)
Saves the given TestExec object into the repository. |
void |
save(TestRun pTestRun)
Saves the given TestRun object into the repository. |
void |
updateRunStatus(TestRun pRun,
java.lang.String pExpectedCurrentStatusCode,
java.lang.String pNewStatusCode,
java.lang.String pExecStatusCodeToUpdate)
Updates the status of the given run to the specified status code. |
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.provider.dao.BaseDAO |
---|
createSysGuid, getDBSessionInfo, queryNlsParameters, querySysDate, querySysDate |
Method Detail |
---|
void save(TestExec exec)
exec
- TestExec representing a particular test
execution to be saved into the test repository.void save(TestRun pTestRun)
pTestRun
- TestRun representing a particular test
run to be saved into the test repository.TestRun fetch(java.lang.String pRunId, boolean pFetchExecs)
pRunId
- a GUID representing TestRun objectpFetchExecs
- - set true for returning all child
TestExecs for a giveb TestRun
TestRun fetch(java.lang.String pRunId, boolean pFetchExecs, boolean bLoadReport)
pRunId
- a GUID representing TestRun objectpFetchExecs
- - set true for returning all child
TestExecs for a giveb TestRunbLoadReport
- flag that indicates whether the fetch should
check for view report security permission and load the report if allowed
TestRun fetchByRunName(java.lang.String pRunName, boolean pFetchExecs)
pRunName
- name of the run for which to fetch detailspFetchExecs
- flag that indicates whether included
test executions should also be fetched.
TestRun fetchByRunName(java.lang.String pRunName, boolean pFetchExecs, boolean bLoadReport)
pRunName
- name of the run for which to fetch detailspFetchExecs
- flag that indicates whether included
test executions should also be fetched.bLoadReport
- flag that indicates whether the fetch should
check for view report security permission and load the report if allowed
TestExecList fetchExecutions(java.lang.String pRunId)
pRunId
- Run GUID for the test run
TestExecList fetchExecutions(java.lang.String pRunId, boolean bLoadReport)
pRunId
- Run GUID for the test runbLoadReport
- flag that indicates whether the fetch should
check for view report security permission and
load the report if allowed
TestExec fetch(java.lang.String pExecId)
pExecId
- - A GUID, representing a TestExec object
TestExec fetchTestExec(java.lang.String pExecId, boolean bLoadReport)
pExecId
- - A GUID, representing a TestExec objectbLoadReport
- flag that indicates whether the fetch should
check for view report security permission
and load report if allowed
java.lang.String queryRunId(java.lang.String pRunName)
pRunName
- name for the run.
TestExec fetchExecution(java.lang.String pExecId, boolean pIncludeChildren)
pExecId
- execution ID to fetchpIncludeChildren
- if true, the API will also fetch
child executions (if any exist) for the given execution ID.
TestExec fetchExecution(java.lang.String pExecId, boolean pIncludeChildren, boolean bLoadReport)
pExecId
- execution ID to fetchpIncludeChildren
- if true, the API will also fetch
child executions (if any exist) for the given execution ID.bLoadReport
- if true, the API will check the report view
permission and load the report if allowed
TestRunList queryRuns(java.lang.String[] pStatusCodes, java.lang.Long pTimeInterval, java.lang.String pRunByUser, java.util.Date pFromDate, java.util.Date pToDate, java.lang.String pRunName, java.lang.String pTestDisplayName)
pStatusCodes
- status codes for the test run. All runs with these
status codes are fetched.pTimeInterval
- time interval in seconds that specifies the interval
for querying test runs. All runs that started with the last specified number
of seconds are fetchedpRunByUser
- user like predicate to limit the list runs bypFromDate
- all runs started after this date are fetchedpToDate
- all runs started before this date are fetchedpRunName
- all runs with run names like this run name are fetched
TestExecList queryImmediateExecutions(java.lang.String pRunId)
pRunId
- run ID for which to query the executions
TestExecList queryImmediateChildExecutions(java.lang.String pParentExecId)
pParentExecId
- parent execution ID for which to query the
child executions
void updateRunStatus(TestRun pRun, java.lang.String pExpectedCurrentStatusCode, java.lang.String pNewStatusCode, java.lang.String pExecStatusCodeToUpdate)
pRun
- Test Run for which to update the status. The
run ID attribute for the test run must be set on the instance.pExpectedCurrentStatusCode
- the current expected
status code of the run. If the run is not in the expected
status code at the time of update then an exception is thrown
and update is not performed. If null, update is always performed
regardless of current status.pNewStatusCode
- the new status code to update to.pExecStatusCodeToUpdate
- Any nested executions for the given
run with with this status code are also updated to the new status code.
If this is null, then status of nested executions are not updated.java.lang.String queryRunStatus(java.lang.String pRunId)
pRunId
- run ID
java.lang.String queryExecStatus(java.lang.String pExecId)
pExecId
- the execution ID
void deleteRun(java.lang.String pRunId)
pRunId
- ID for the run to delete.void deleteRuns(java.lang.String[] pRunIds)
pRunIds
- list of run IDs to delete.int getQueryRunsMaxLimit()
boolean existsRun(java.lang.String pRunId)
pRunId
- Run ID
boolean existsExecution(java.lang.String pExecutionId)
pExecutionId
- Execution ID
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |