oracle.apps.fnd.applcore.dt.common.model
Class DependentJdbcLovDataProviderImpl
java.lang.Object
oracle.apps.fnd.applcore.dt.common.model.AbstractLovDataProviderImpl
oracle.apps.fnd.applcore.dt.common.model.JdbcLovDataProviderImpl
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.
Copyright © 2012 Oracle. All Rights Reserved.