Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.dt.common.model
Class DependentJdbcLovDataProviderImpl

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.common.model.AbstractLovDataProviderImpl
      extended by oracle.apps.fnd.applcore.dt.common.model.JdbcLovDataProviderImpl
          extended by oracle.apps.fnd.applcore.dt.common.model.DependentJdbcLovDataProviderImpl
All Implemented Interfaces:
LovDataProvider

public class DependentJdbcLovDataProviderImpl
extends JdbcLovDataProviderImpl

Abstract class to implement some of the common logic for List of Value data providers.

Author:
Michael Luetchford <michael.luetchford@oracle.com>

Field Summary
 
Fields inherited from class oracle.apps.fnd.applcore.dt.common.model.AbstractLovDataProviderImpl
_columns
 
Constructor Summary
DependentJdbcLovDataProviderImpl(java.lang.String query, java.util.List<LovDataProviderColumn> columnNames, java.sql.Connection connection, java.util.Map<LovDataProviderColumn,java.lang.Object> dependentCriteria)
          Constructor to provide sufficient context for this provider to retrieve the values required for this LOV.
 
Method Summary
 void applyCriteria(java.util.Map<LovDataProviderColumn,java.lang.Object> criteria)
          Apply the criteria to the data to produce a restricted list.
 
Methods inherited from class oracle.apps.fnd.applcore.dt.common.model.JdbcLovDataProviderImpl
close, getData, next
 
Methods inherited from class oracle.apps.fnd.applcore.dt.common.model.AbstractLovDataProviderImpl
getColumnCount, getColumnNames, getColumns, getHiddenColumnIndexes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependentJdbcLovDataProviderImpl

public DependentJdbcLovDataProviderImpl(java.lang.String query,
                                        java.util.List<LovDataProviderColumn> columnNames,
                                        java.sql.Connection connection,
                                        java.util.Map<LovDataProviderColumn,java.lang.Object> dependentCriteria)
                                 throws java.lang.ClassNotFoundException,
                                        java.sql.SQLException
Constructor to provide sufficient context for this provider to retrieve the values required for this LOV.

Parameters:
query - The SQL query that should be executed including bind parameters for criteria items.
columnNames - The names that should be displayed for the SQL query columns - null means the column should not be displayed.
connection - The JDBC Database connection.
dependentCriteria - The dependent query map of column to value.
Throws:
java.lang.ClassNotFoundException - Query prepartion exception.
java.sql.SQLException - Query prepartion exception.
Method Detail

applyCriteria

public void applyCriteria(java.util.Map<LovDataProviderColumn,java.lang.Object> criteria)
Apply the criteria to the data to produce a restricted list.

Specified by:
applyCriteria in interface LovDataProvider
Overrides:
applyCriteria in class JdbcLovDataProviderImpl
Parameters:
criteria - a column, value mapping to be applied.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.