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

E22565-06

oracle.apps.fnd.appltest.diagfwk.engine.provider.dao
Interface BaseDAO

All Known Subinterfaces:
TagDAO, TestDefDAO, TestRunDAO, TestStatsDAO
All Known Implementing Classes:
OADBBaseDAO, OADBTagDAO, OADBTestDefDAO, OADBTestRunDAO, OADBTestStatsDAO

public interface BaseDAO

Base interface for diagnostics DAO interfaces.

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/provider/dao/BaseDAO.java /main/9 2009/04/07 09:52:51 viramac Exp $
Author:
ppradhan

Nested Class Summary
static class BaseDAO.DBSessionInfo
          A class that encapsulates information regarding the database session.
 
Method Summary
 java.lang.String createSysGuid()
          Generates a new system GUID
 BaseDAO.DBSessionInfo getDBSessionInfo(DiagContextExtn context)
          Retrieves the database session information for the connection encapsulated by the passed in context.
 java.lang.String[] queryNlsParameters(java.lang.String[] pNlsParameterNames)
          Queries the values of the given NLS parameter names from the repository.
 java.util.Date querySysDate()
          Queries the system date from the Applications database and returns it.
 java.util.Date querySysDate(java.lang.String pRel)
          Returns a date relative to sysdate as specified by pRel
 

Method Detail

createSysGuid

java.lang.String createSysGuid()
Generates a new system GUID

Returns:
the newly generated system GUID.

querySysDate

java.util.Date querySysDate()
Queries the system date from the Applications database and returns it.

Returns:
the system date from the Applications database and returns it.

querySysDate

java.util.Date querySysDate(java.lang.String pRel)
Returns a date relative to sysdate as specified by pRel

Parameters:
pRel - a String such as "+1","-1" etc that indicates a date relative to sysdate
Returns:
a date relative to sysdate

queryNlsParameters

java.lang.String[] queryNlsParameters(java.lang.String[] pNlsParameterNames)
Queries the values of the given NLS parameter names from the repository.

Parameters:
pNlsParameterNames - The names of the NLS parameters to query
Returns:
the corresponding values of the NLS parameters in the order that they exist in the input array. If a particular parameter value is not found then the value is null for that parameter in the return array.

getDBSessionInfo

BaseDAO.DBSessionInfo getDBSessionInfo(DiagContextExtn context)
Retrieves the database session information for the connection encapsulated by the passed in context.

Parameters:
context - a diag context object.
Returns:
a DBSessionInfo object.

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

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.