@Deprecated public interface BusinessObjectDao
Modifier and Type | Method and Description |
---|---|
int |
countMatching(Class clazz,
Map<String,?> fieldValues)
Deprecated.
|
int |
countMatching(Class clazz,
Map<String,?> positiveFieldValues,
Map<String,?> negativeFieldValues)
Deprecated.
This method returns the number of matching result given the positive criterias and
negative criterias.
|
void |
delete(List<? extends org.kuali.rice.krad.bo.PersistableBusinessObject> boList)
Deprecated.
Deletes each business object in the given List from the database.
|
void |
delete(Object bo)
Deprecated.
Deletes a business object from the database.
|
void |
deleteMatching(Class clazz,
Map<String,?> fieldValues)
Deprecated.
Deletes the business objects matching the given fieldValues
|
<T> Collection<T> |
findAll(Class<T> clazz)
Deprecated.
Retrieves a collection of business objects populated with data, such that each record in the database populates a new object
instance.
|
<T> Collection<T> |
findAllActive(Class<T> clazz)
Deprecated.
Retrieves a collection of business objects populated with data, such that each record in the database populates a new object
instance.
|
<T> Collection<T> |
findAllActiveOrderBy(Class<T> clazz,
String sortField,
boolean sortAscending)
Deprecated.
Retrieves a collection of business objects populated with data, such that each record in the database populates a new object
instance.
|
<T> Collection<T> |
findAllInactive(Class<T> clazz)
Deprecated.
|
<T> Collection<T> |
findAllOrderBy(Class<T> clazz,
String sortField,
boolean sortAscending)
Deprecated.
Retrieves a collection of business objects populated with data, such that each record in the database populates a new object
instance.
|
<T> T |
findByPrimaryKey(Class<T> clazz,
Map<String,?> primaryKeys)
Deprecated.
Retrieves an object instance identified bys it primary keys and values.
|
<T> T |
findByPrimaryKeyUsingKeyObject(Class<T> clazz,
Object pkObject)
Deprecated.
Retrieves an object, based on its PK object
|
<T> T |
findBySinglePrimaryKey(Class<T> clazz,
Object primaryKey)
Deprecated.
Retrieves an object instance identified by its primary key.
|
<T> Collection<T> |
findMatching(Class<T> clazz,
Map<String,?> fieldValues)
Deprecated.
This method retrieves a collection of business objects populated with data, such that each record in the database populates a
new object instance.
|
<T> Collection<T> |
findMatchingActive(Class<T> clazz,
Map<String,?> fieldValues)
Deprecated.
This method retrieves a collection of business objects populated with data, such that each record in the database populates a
new object instance.
|
<T> Collection<T> |
findMatchingOrderBy(Class<T> clazz,
Map<String,?> fieldValues,
String sortField,
boolean sortAscending)
Deprecated.
This method retrieves a collection of business objects populated with data, such that each record in the database populates a
new object instance.
|
org.kuali.rice.krad.bo.PersistableBusinessObject |
manageReadOnly(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
Deprecated.
Merges the given business object, but tells the ORM that the object is to be treated as Read Only,
and even if it has changes, it will not be persisted to the database
|
Object |
retrieve(Object object)
Deprecated.
Retrieves an object instance identified by the class of the given object and the object's primary key values.
|
List<? extends org.kuali.rice.krad.bo.PersistableBusinessObject> |
save(List businessObjects)
Deprecated.
Saves a List of BusinessObjects.
|
org.kuali.rice.krad.bo.PersistableBusinessObject |
save(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
Deprecated.
Saves any object that implements the BusinessObject interface.
|
org.kuali.rice.krad.bo.PersistableBusinessObject save(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
bo
- List<? extends org.kuali.rice.krad.bo.PersistableBusinessObject> save(List businessObjects)
businessObjects
- <T> T findBySinglePrimaryKey(Class<T> clazz, Object primaryKey)
findByPrimaryKey(Class, java.util.Map)
clazz
- primaryKey
- <T> T findByPrimaryKey(Class<T> clazz, Map<String,?> primaryKeys)
clazz
- primaryKeys
- <T> T findByPrimaryKeyUsingKeyObject(Class<T> clazz, Object pkObject)
clazz
- the class of the object to retrievepkObject
- the value of the primary keyObject retrieve(Object object)
object
- <T> Collection<T> findAll(Class<T> clazz)
clazz
- <T> Collection<T> findAllActive(Class<T> clazz)
clazz
- <T> Collection<T> findAllInactive(Class<T> clazz)
<T> Collection<T> findAllOrderBy(Class<T> clazz, String sortField, boolean sortAscending)
clazz
- <T> Collection<T> findAllActiveOrderBy(Class<T> clazz, String sortField, boolean sortAscending)
clazz
- <T> Collection<T> findMatching(Class<T> clazz, Map<String,?> fieldValues)
clazz
- fieldValues
- <T> Collection<T> findMatchingActive(Class<T> clazz, Map<String,?> fieldValues)
clazz
- fieldValues
- int countMatching(Class clazz, Map<String,?> fieldValues)
clazz
- fieldValues
- int countMatching(Class clazz, Map<String,?> positiveFieldValues, Map<String,?> negativeFieldValues)
clazz
- positiveFieldValues
- Map of fields and values for positive criterianegativeFieldValues
- Map of fields and values for negative criteria<T> Collection<T> findMatchingOrderBy(Class<T> clazz, Map<String,?> fieldValues, String sortField, boolean sortAscending)
clazz
- fieldValues
- void delete(Object bo)
bo
- void delete(List<? extends org.kuali.rice.krad.bo.PersistableBusinessObject> boList)
boList
- void deleteMatching(Class clazz, Map<String,?> fieldValues)
clazz
- fieldValues
- org.kuali.rice.krad.bo.PersistableBusinessObject manageReadOnly(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
bo
- the business object to managedCopyright © 2004–2014 The Kuali Foundation. All rights reserved.