Method Summary |
|
long | getNextSeqValue(String name) |
Object | load(PersistentObject persistentObject) Retrieves persistent object "by example" by primary key. |
Object | load(PersistentObject persistentObject, LockType lockType) Retrieves persistent object "by example" by primary key. |
Object | load(PersistentObject persistentObject, LockType lockType, long timeout) Retrieves persistent object "by example" by primary key. |
Object | load(PersistentObject persistentObject, LifeCycleController controller) |
Object | load(PersistentObject persistentObject, LifeCycleController controller, LockType lockType, long timeout) |
Object | loadForUpdate(PersistentObject persistentObject) Retrieves persistent object "by example" by primary key. |
Collection | select(PersistentObject persistentObject) Retrieves collection of persistent objects "by example" PersistentObject.
The fields and their values that are set on the object are then joined by "and" into sql where clause.
PersistentObject passed as parameter used as a factory of objects to be returned.
Parameters: persistentObject - PersistentObject which values and corresponding column names are used to build the where clause Collection of persistent objects never null. |
Collection | select(Query query) Retrieves collection of persistent objects "by query".
Query controls the type of collection and objects to return.
Collection is never null. |
Collection | select(PersistentObject persistentObject, LifeCycleController controller, LockType lock) Retrieves collection of persistent objects "by example" PersistentObject.
The fields and their values that are set on the object are then joined by "and" into sql where clause.
PersistentObject passed as parameter used as a factory of objects to be returned.
Parameters: persistentObject - PersistentObject which values and corresponding column names are used to build the where clause Parameters: controller - Collection of persistent objects - never null. |
Collection | select(Query query, LifeCycleController controller) Retrieves collection of persistent objects "by query".
Query controls the type of collection and objects to return.
Collection is never null. |
Collection | select(PersistentObject persistentObject, LifeCycleController controller) Retrieves collection of persistent objects "by example" PersistentObject.
The fields and their values that are set on the object are then joined by "and" into sql where clause.
PersistentObject passed as parameter used as a factory of objects to be returned.
Parameters: persistentObject - PersistentObject which values and corresponding column names are used to build the where clause Parameters: controller - Collection of persistent objects - never null. |
Collection | select(PersistentObject persistentObject, LifeCycleController controller, LockType lock, long timeout) Retrieves collection of persistent objects "by example" PersistentObject.
The fields and their values that are set on the object are then joined by "and" into sql where clause.
PersistentObject passed as parameter used as a factory of objects to be returned.
Parameters: persistentObject - PersistentObject which values and corresponding column names are used to build the where clause Parameters: controller - Parameters: lock - Parameters: timeout - Timeout on lock in seconds Collection of persistent objects - never null. |
long | selectCount(Query query) Method will use query object to build "select count(*)" statement. |
long | selectCount(PersistentObject persistentObject) Method will use PersistentObject object to build "select count(*)" statement. |
boolean | selectExists(Query query) Method will use query object to build exists sql statement. |
boolean | selectExists(PersistentObject persistentObject) Method will use persistentObject to build exists sql statement. |
Object | selectFirst(Query query) Retrieves collection of persistent objects "by query" and returns the 1st object. |
Object | selectFirst(Query query, LifeCycleController controller) |
Object | selectFirst(PersistentObject persistentObject) Retrieves collection of persistent objects "by example" and returns the 1st object. |
Object | selectFirst(PersistentObject persistentObject, LifeCycleController controller) |
Object | selectFirstForUpdate(PersistentObject persistentObject) Retrieves collection of persistent objects "by example" and returns the 1st object. |
Collection | selectForUpdate(PersistentObject persistentObject) Retrieves collection of persistent objects "by example" PersistentObject.
The fields and their values that are set on the object are then joined by "and" into sql where clause.
PersistentObject passed as parameter used as a factory of objects to be returned.
Method will wait indefinitely until the records are released if locked by another session
and will lock them upon retieval
Parameters: persistentObject - PersistentObject which values and corresponding column names are used to build the where clause Collection of persistent objects - never null. |
MultipartCollection | selectMultiPartResultCall(Call query, LifeCycleController controller) |
MultipartCollection | selectMultiPartResultCall(Call query) |
Object | selectSingle(Query query) |
Collection | selectSinglePartResultCall(Call query, LifeCycleController controller) |
Collection | selectSinglePartResultCall(Call query) |