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

E22565-06

oracle.apps.fnd.appltest.diagfwk.api.inputs
Interface InputParamContext

All Known Subinterfaces:
InputParamContextExtn
All Known Implementing Classes:
InputParamContextExtnImpl

public interface InputParamContext

Provides a context object to be used for communication between the diagnostic framework and the LOV provider and validator classes.

Validators and LOV Provider classes can use the context to get userful items such as a Connection to the applications database, current parameter name, current parameter value and any other contextual information.


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.
 java.lang.String getParameterName()
          Returns the name of the current input parameter
 java.lang.Object getParameterValue()
          Returns the value of the current input parameter.
 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.
 

Method Detail

getConnection

java.sql.Connection getConnection()
Provides a JDBC Connection to the applications database for the current system if available.

Returns:
a JDBC Connection to the applications database

getParameterName

java.lang.String getParameterName()
Returns the name of the current input parameter

Returns:
the name of the current input parameter

getParameterValue

java.lang.Object getParameterValue()
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.

Returns:
the current value for the curernt parameter.

getAttribute

java.lang.Object getAttribute(java.lang.String pKey)
Returns an attribute with the given key from the context

Returns:
the context object associated with the given key.

putAttribute

void putAttribute(java.lang.String pKey,
                  java.lang.Object pValue)
Puts the given attribute to the context keyed by the given key.

Parameters:
pKey - key for the attribute to add
pValue - the value for the attribute to add.

getValueFilterOperator

FilterOperator getValueFilterOperator()
Returns the current filter operator for the value for the current parameter.

Returns:
the current filter operator for the value for the current parameter.

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

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.