Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

oracle.jbo
Interface CriteriaAdapter

All Known Implementing Classes:
BaseSQLBuilderImpl, CommonCriteriaAdapter, CriteriaAdapterImpl, DB2SQLBuilderImpl, OLiteSQLBuilderImpl, OracleSQLBuilderImpl, SQL92SQLBuilderImpl, SQLServerSQLBuilderImpl, WLSQLBuilderImpl

public interface CriteriaAdapter

CriteriaAdapter is the interface that a ViewCriteria adapter is expected implement. The user can specify a custom ViewCriteria adapter through the jbo.ViewCriteriaAdapter property. The class specified as the value of this property should implement this interface.

In particular, getCriteriaClause(ViewCriteria criteria) will be called to build a where-clause fragment from the criteria.


Method Summary
 java.lang.String getCriteriaClause(ViewCriteria criteria)
          Returns a where-clause fragment from the criteria.
 

Method Detail

getCriteriaClause

java.lang.String getCriteriaClause(ViewCriteria criteria)
Returns a where-clause fragment from the criteria.

Returns:
the where-clause.

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

Copyright © 1997, 2011, Oracle. All rights reserved.