Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

oracle.jbo.datasource
Class FindCriteriaImpl

java.lang.Object
  extended by oracle.jbo.datasource.FindCriteriaImpl
All Implemented Interfaces:
FindCriteria

public class FindCriteriaImpl
extends java.lang.Object
implements FindCriteria

Since:
release specific (what release of product did this appear in)

Constructor Summary
FindCriteriaImpl()
           
 
Method Summary
 java.util.List getChildFindCriteria()
          Gets the list of child view objects from which to retrieve data.
 boolean getExcludeAttribute()
          Gets the flag that indicates whether to include or exclude specified attributes.
 int getFetchSize()
          Gets the maximum number of rows to retrieve.
 int getFetchStart()
          Gets the zero-based row index to start with.
 ViewCriteria getFilter()
          Gets additional runtime search condition.
 java.util.List getFindAttribute()
          Gets the list of attributes (view attributes and link accessors) to retrieve.
 java.util.List getParameters()
           
 SortOrder getSortOrder()
          Gets the query result sort order.
 java.lang.String getSQL()
           
 void setChildFindCriteria(java.util.List value)
          Sets the list of child view objects from which to retrieve data.
 void setExcludeAttribute(boolean value)
          Sets the flag that indicates whether to include or exclude specified attributes.
 void setFetchSize(int value)
          Sets the maximum number of rows to retrieve.
 void setFetchStart(int value)
          Sets the zero-based row index to start with.
 void setFilter(ViewCriteria value)
          Sets additional runtime search condition.
 void setFindAttribute(java.util.List value)
          Sets the list of attributes (view attributes and link accessors) to retrieve.
 void setParameters(java.util.List parameters)
           
 void setSortOrder(SortOrder value)
          Sets the query result sort order.
 void setSQL(java.lang.String sql)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindCriteriaImpl

public FindCriteriaImpl()
Method Detail

getFetchStart

public int getFetchStart()
Description copied from interface: FindCriteria
Gets the zero-based row index to start with.

Specified by:
getFetchStart in interface FindCriteria
Returns:
starting row index.

setFetchStart

public void setFetchStart(int value)
Description copied from interface: FindCriteria
Sets the zero-based row index to start with. The default is 0 (first row).

Specified by:
setFetchStart in interface FindCriteria
Parameters:
value - starting row index

getFetchSize

public int getFetchSize()
Description copied from interface: FindCriteria
Gets the maximum number of rows to retrieve.

Specified by:
getFetchSize in interface FindCriteria
Returns:
maximum number of rows to retrieve.

setFetchSize

public void setFetchSize(int value)
Description copied from interface: FindCriteria
Sets the maximum number of rows to retrieve. A fetch size of -1 gets all rows found after the start row. If fetch size is greater than the number of remaining rows, only the remaining rows are returned.

Specified by:
setFetchSize in interface FindCriteria
Parameters:
value - maximum number of rows to retrieve

getFilter

public ViewCriteria getFilter()
Description copied from interface: FindCriteria
Gets additional runtime search condition.

Specified by:
getFilter in interface FindCriteria
Returns:
additional runtime search condition.

setFilter

public void setFilter(ViewCriteria value)
Description copied from interface: FindCriteria
Sets additional runtime search condition.

Specified by:
setFilter in interface FindCriteria
Parameters:
value - additional runtime search condition

getSortOrder

public SortOrder getSortOrder()
Description copied from interface: FindCriteria
Gets the query result sort order.

Specified by:
getSortOrder in interface FindCriteria
Returns:
query result sort order.

setSortOrder

public void setSortOrder(SortOrder value)
Description copied from interface: FindCriteria
Sets the query result sort order. This consists of an ordered array of sort attributes.

Specified by:
setSortOrder in interface FindCriteria
Parameters:
value - query result sort order

getExcludeAttribute

public boolean getExcludeAttribute()
Description copied from interface: FindCriteria
Gets the flag that indicates whether to include or exclude specified attributes.

Specified by:
getExcludeAttribute in interface FindCriteria
Returns:
exclusion flag.

setExcludeAttribute

public void setExcludeAttribute(boolean value)
Description copied from interface: FindCriteria
Sets the flag that indicates whether to include or exclude specified attributes. The default is false (include specified attributes).

Specified by:
setExcludeAttribute in interface FindCriteria
Parameters:
value - exclusion flag

getChildFindCriteria

public java.util.List getChildFindCriteria()
Description copied from interface: FindCriteria
Gets the list of child view objects from which to retrieve data.

Specified by:
getChildFindCriteria in interface FindCriteria
Returns:
list of child object search criteria.

setChildFindCriteria

public void setChildFindCriteria(java.util.List value)
Description copied from interface: FindCriteria
Sets the list of child view objects from which to retrieve data. When none is specified, children are fetched using the default search criteria (first row, all rows, no additional search condition, etc.).

Specified by:
setChildFindCriteria in interface FindCriteria
Parameters:
value - list of child object search criteria

getFindAttribute

public java.util.List getFindAttribute()
Description copied from interface: FindCriteria
Gets the list of attributes (view attributes and link accessors) to retrieve.

Specified by:
getFindAttribute in interface FindCriteria
Returns:
list of attribute names.

setFindAttribute

public void setFindAttribute(java.util.List value)
Description copied from interface: FindCriteria
Sets the list of attributes (view attributes and link accessors) to retrieve. When none is specified, all attributes are fetched.

Specified by:
setFindAttribute in interface FindCriteria
Parameters:
value - list of attribute names

setSQL

public void setSQL(java.lang.String sql)

getSQL

public java.lang.String getSQL()

setParameters

public void setParameters(java.util.List parameters)

getParameters

public java.util.List getParameters()

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

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