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

E22565-02

oracle.apps.fnd.appltest.diagfwk.engine.impl.inputs
Class InputParamContextExtnImpl

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.inputs.InputParamContextExtnImpl
All Implemented Interfaces:
InputParamContext, InputParamContextExtn

public class InputParamContextExtnImpl
extends java.lang.Object
implements InputParamContextExtn

Provides implementation for all the APIs in the InputParamContextExtn interface.

Since:
release specific (what release of product did this appear in)
Version:
$Header: InputParamContextExtnImpl.java 23-mar-2008.22:31:53 ppradhan Exp $
Author:
ppradhan

Constructor Summary
InputParamContextExtnImpl()
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String pKey)
          Returns an attribute with the given key from the context
 java.sql.Connection getConnection()
          Provides a JDBC Connection to the applications database for the current system if available.
 FilterOperator getFilterOperator(java.lang.String pColumnName)
           
 java.lang.String getParameterName()
          Returns the name of the current input parameter
 java.lang.Object getParameterValue()
          Returns the value of the current input parameter.
 java.lang.String getValueColumnName()
          Gets the name of the value column for the current LOV.
 FilterOperator getValueFilterOperator()
          Returns the current filter operator for the value for the current parameter.
 void putAttribute(java.lang.String pKey, java.lang.Object pValue)
          Puts the given attribute to the context keyed by the given key.
 void putConnection(java.sql.Connection pCon)
          Puts a JDBC Connection to the applications database into the context
 void putFilterOperator(java.lang.String pColumnName, FilterOperator pFO)
           
 void putParameterName(java.lang.String pParamName)
          Puts the name of the current parameter into the context
 void putParameterValue(java.lang.Object pParamValue)
          Puts the value of the current parameter into the context
 void putValueColumnName(java.lang.String pValueColumnName)
          Sets the name of the value column.
 void putValueFilterOperator(FilterOperator pFO)
          Sets the filter operator for the value column.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputParamContextExtnImpl

public InputParamContextExtnImpl()
Method Detail

putConnection

public void putConnection(java.sql.Connection pCon)
Description copied from interface: InputParamContextExtn
Puts a JDBC Connection to the applications database into the context

Specified by:
putConnection in interface InputParamContextExtn
Parameters:
pCon - JDBC Connection the applications database

putParameterName

public void putParameterName(java.lang.String pParamName)
Description copied from interface: InputParamContextExtn
Puts the name of the current parameter into the context

Specified by:
putParameterName in interface InputParamContextExtn
Parameters:
pParamName - the name of the current parameter

putParameterValue

public void putParameterValue(java.lang.Object pParamValue)
Description copied from interface: InputParamContextExtn
Puts the value of the current parameter into the context

Specified by:
putParameterValue in interface InputParamContextExtn
Parameters:
pParamValue - the value of the current parameter.

getConnection

public java.sql.Connection getConnection()
Description copied from interface: InputParamContext
Provides a JDBC Connection to the applications database for the current system if available.

Specified by:
getConnection in interface InputParamContext
Returns:
a JDBC Connection to the applications database

getParameterName

public java.lang.String getParameterName()
Description copied from interface: InputParamContext
Returns the name of the current input parameter

Specified by:
getParameterName in interface InputParamContext
Returns:
the name of the current input parameter

getParameterValue

public java.lang.Object getParameterValue()
Description copied from interface: InputParamContext
Returns the value of the current input parameter. The value can be used by validators to execute their domain specific validation. Additionally, it can also be used by LOV Providers as a filter value for providing a filtered list of values.

Specified by:
getParameterValue in interface InputParamContext
Returns:
the current value for the curernt parameter.

getValueFilterOperator

public FilterOperator getValueFilterOperator()
Description copied from interface: InputParamContext
Returns the current filter operator for the value for the current parameter.

Specified by:
getValueFilterOperator in interface InputParamContext
Returns:
the current filter operator for the value for the current parameter.

getFilterOperator

public FilterOperator getFilterOperator(java.lang.String pColumnName)

putFilterOperator

public void putFilterOperator(java.lang.String pColumnName,
                              FilterOperator pFO)

putValueFilterOperator

public void putValueFilterOperator(FilterOperator pFO)
Description copied from interface: InputParamContextExtn
Sets the filter operator for the value column. Call this in context of a parameter that supports LOV to set its value column filter operator.

Specified by:
putValueFilterOperator in interface InputParamContextExtn
Parameters:
pFO - the filter operator for the value column.

putValueColumnName

public void putValueColumnName(java.lang.String pValueColumnName)
Description copied from interface: InputParamContextExtn
Sets the name of the value column. Call this in context of a parameter that supports LOV to set its value column name.

Specified by:
putValueColumnName in interface InputParamContextExtn
Parameters:
pValueColumnName - the name of the value column

getValueColumnName

public java.lang.String getValueColumnName()
Description copied from interface: InputParamContextExtn
Gets the name of the value column for the current LOV. Generally useful in the context of a parameter that supports LOV

Specified by:
getValueColumnName in interface InputParamContextExtn
Returns:
the name of the value column for the current LOV.

getAttribute

public java.lang.Object getAttribute(java.lang.String pKey)
Description copied from interface: InputParamContext
Returns an attribute with the given key from the context

Specified by:
getAttribute in interface InputParamContext
Returns:
the context object associated with the given key.

putAttribute

public void putAttribute(java.lang.String pKey,
                         java.lang.Object pValue)
Description copied from interface: InputParamContext
Puts the given attribute to the context keyed by the given key.

Specified by:
putAttribute in interface InputParamContext
Parameters:
pKey - key for the attribute to add
pValue - the value for the attribute to add.

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

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.