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

E22565-02

oracle.apps.fnd.appltest.diagfwk.test.sample.lov
Class SampleAppLOVProvider

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.test.sample.lov.SampleAppLOVProvider
All Implemented Interfaces:
DiagLOVProvider
Direct Known Subclasses:
SampleAppLOVProviderCustomBean

public class SampleAppLOVProvider
extends java.lang.Object
implements DiagLOVProvider

Implements a sample Applications LOV. Provides Application Short Name and Display Name columns with the App Short Name as the value column for the LOV.

Rows of LOV data are represented using Map objects.

Since:
release specific (what release of product did this appear in)
Version:
$Header: SampleAppLOVProvider.java 24-mar-2008.02:31:28 ppradhan Exp $
Author:
ppradhan

Field Summary
protected static java.lang.String COL_APP_DISP_NAME
           
protected static java.lang.String COL_APP_SHORT_NAME
           
protected  InputParamContext mContext
           
 
Constructor Summary
SampleAppLOVProvider()
           
 
Method Summary
protected  java.lang.Object createLOVRow(java.sql.ResultSet pRs)
           
 java.util.List getData(InputParamContext context)
          Returns the data for this LOV.
 java.util.List<LOVColumn> getLOVColumnList()
          Returns the metadata about the LOV columns in the form of a list of LOVColumn objects
 java.lang.String getNlsBundle()
          Returns the NLS Bundle name for the LOV.
 java.lang.String getValueColumnName()
          Returns the name of the value column for this LOV
protected  java.lang.String prepareFilterValue(java.lang.String pOrigFilterValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COL_APP_SHORT_NAME

protected static final java.lang.String COL_APP_SHORT_NAME
See Also:
Constant Field Values

COL_APP_DISP_NAME

protected static final java.lang.String COL_APP_DISP_NAME
See Also:
Constant Field Values

mContext

protected InputParamContext mContext
Constructor Detail

SampleAppLOVProvider

public SampleAppLOVProvider()
Method Detail

getNlsBundle

public java.lang.String getNlsBundle()
Description copied from interface: DiagLOVProvider
Returns the NLS Bundle name for the LOV. This is generally the class name for a Java Resource Bundle.

Specified by:
getNlsBundle in interface DiagLOVProvider
Returns:
the NLS Bundle name.

getLOVColumnList

public java.util.List<LOVColumn> getLOVColumnList()
Description copied from interface: DiagLOVProvider
Returns the metadata about the LOV columns in the form of a list of LOVColumn objects

Specified by:
getLOVColumnList in interface DiagLOVProvider
Returns:
a list of LOVColumn objects for each column in the LOV.

getValueColumnName

public java.lang.String getValueColumnName()
Description copied from interface: DiagLOVProvider
Returns the name of the value column for this LOV

Specified by:
getValueColumnName in interface DiagLOVProvider
Returns:
the name of the value column for this LOV.

getData

public java.util.List getData(InputParamContext context)
Description copied from interface: DiagLOVProvider
Returns the data for this LOV. The list can be either a list of Java bean objects (with attribute names matching the corresponding column names). This list can also be a list of Map objects with the attributes keyed using the corresponding column names.

Specified by:
getData in interface DiagLOVProvider
Parameters:
context - the context provided by the framework when getting the data for the LOV.
Returns:
the list of data for the LOV.

prepareFilterValue

protected java.lang.String prepareFilterValue(java.lang.String pOrigFilterValue)

createLOVRow

protected java.lang.Object createLOVRow(java.sql.ResultSet pRs)
                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

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

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.