Package org.kuali.rice.krad.dao.proxy
Class BusinessObjectDaoProxy
java.lang.Object
org.kuali.rice.krad.dao.proxy.BusinessObjectDaoProxy
- All Implemented Interfaces:
BusinessObjectDao
@Deprecated
@Transactional
public class BusinessObjectDaoProxy
extends Object
implements BusinessObjectDao
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends PersistableBusinessObject>
intcountMatching(Class<T> clazz, Map<String, ?> fieldValues) Deprecated.<T extends PersistableBusinessObject>
intDeprecated.This method returns the number of matching result given the positive criterias and negative criterias.voidDeprecated.Deletes a business object from the database.<T extends PersistableBusinessObject>
voidDeprecated.Deletes each business object in the given List from the database.<T extends PersistableBusinessObject>
voiddeleteMatching(Class<T> clazz, Map<String, ?> fieldValues) Deprecated.Deletes the business objects matching the given fieldValues<T extends PersistableBusinessObject>
List<T> Deprecated.Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance.<T extends PersistableBusinessObject>
QueryPagingResults<T> findAll(Class<T> clazz, QueryPagingRequest pagingRequest) Deprecated.<T extends PersistableBusinessObject>
List<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 extends PersistableBusinessObject>
QueryPagingResults<T> findAllActive(Class<T> clazz, QueryPagingRequest pagingRequest) Deprecated.<T extends PersistableBusinessObject>
List<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 extends PersistableBusinessObject>
QueryPagingResults<T> findAllActiveOrderBy(Class<T> clazz, String sortField, boolean sortAscending, QueryPagingRequest pagingRequest) Deprecated.<T extends PersistableBusinessObject>
List<T> findAllInactive(Class<T> clazz) Deprecated.<T extends PersistableBusinessObject>
QueryPagingResults<T> findAllInactive(Class<T> clazz, QueryPagingRequest pagingRequest) Deprecated.<T extends PersistableBusinessObject>
List<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 extends PersistableBusinessObject>
QueryPagingResults<T> findAllOrderBy(Class<T> clazz, String sortField, boolean sortAscending, QueryPagingRequest pagingRequest) Deprecated.<T extends PersistableBusinessObject>
TfindByPrimaryKey(Class<T> clazz, Map<String, ?> primaryKeys) Deprecated.Retrieves an object instance identified bys it primary keys and values.<T extends PersistableBusinessObject>
TfindByPrimaryKeyUsingKeyObject(Class<T> clazz, Object pkObject) Deprecated.Defers to correct DAO for this class<T extends PersistableBusinessObject>
TfindBySinglePrimaryKey(Class<T> clazz, Object primaryKey) Deprecated.Retrieves an object instance identified by its primary key.<T extends PersistableBusinessObject>
List<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 extends PersistableBusinessObject>
QueryPagingResults<T> findMatching(Class<T> clazz, Map<String, ?> fieldValues, QueryPagingRequest pagingRequest) Deprecated.<T extends PersistableBusinessObject>
List<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 extends PersistableBusinessObject>
QueryPagingResults<T> findMatchingActive(Class<T> clazz, Map<String, ?> fieldValues, QueryPagingRequest pagingRequest) Deprecated.<T extends PersistableBusinessObject>
List<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.<T extends PersistableBusinessObject>
QueryPagingResults<T> findMatchingOrderBy(Class<T> clazz, Map<String, ?> fieldValues, String sortField, boolean sortAscending, QueryPagingRequest pagingRequest) Deprecated.<T extends PersistableBusinessObject>
TmanageReadOnly(T 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 databaseDeprecated.Retrieves an object instance identified by the class of the given object and the object's primary key values.<T extends PersistableBusinessObject>
List<T> Deprecated.Saves a List of BusinessObjects.<T extends PersistableBusinessObject>
Tsave(T bo) Deprecated.Saves any object that implements the BusinessObject interface.voidsetBusinessObjectDaoOjb(BusinessObjectDao businessObjectDaoOjb) Deprecated.
-
Constructor Details
-
BusinessObjectDaoProxy
public BusinessObjectDaoProxy()Deprecated.
-
-
Method Details
-
countMatching
public <T extends PersistableBusinessObject> int countMatching(Class<T> clazz, Map<String, ?> fieldValues) Deprecated.- Specified by:
countMatchingin interfaceBusinessObjectDao- Returns:
- count of BusinessObjects of the given class whose fields match the values in the given Map.
-
countMatching
public <T extends PersistableBusinessObject> int countMatching(Class<T> clazz, Map<String, ?> positiveFieldValues, Map<String, ?> negativeFieldValues) Deprecated.Description copied from interface:BusinessObjectDaoThis method returns the number of matching result given the positive criterias and negative criterias. The negative criterias are the ones that will be set to "notEqualTo" or "notIn"- Specified by:
countMatchingin interfaceBusinessObjectDao- Parameters:
positiveFieldValues- Map of fields and values for positive criterianegativeFieldValues- Map of fields and values for negative criteria
-
delete
Deprecated.Description copied from interface:BusinessObjectDaoDeletes a business object from the database.- Specified by:
deletein interfaceBusinessObjectDao
-
delete
Deprecated.Description copied from interface:BusinessObjectDaoDeletes each business object in the given List from the database.- Specified by:
deletein interfaceBusinessObjectDao
-
deleteMatching
public <T extends PersistableBusinessObject> void deleteMatching(Class<T> clazz, Map<String, ?> fieldValues) Deprecated.Description copied from interface:BusinessObjectDaoDeletes the business objects matching the given fieldValues- Specified by:
deleteMatchingin interfaceBusinessObjectDao
-
findAll
Deprecated.Description copied from interface:BusinessObjectDaoRetrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will only retrieve business objects by class type.- Specified by:
findAllin interfaceBusinessObjectDao
-
findAll
public <T extends PersistableBusinessObject> QueryPagingResults<T> findAll(Class<T> clazz, QueryPagingRequest pagingRequest) Deprecated.- Specified by:
findAllin interfaceBusinessObjectDao
-
findAllActive
Deprecated.Description copied from interface:BusinessObjectDaoRetrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will only retrieve business objects by class type. Adds criteria on active column to return only active records. Assumes there exist a mapping for PropertyConstants.Active- Specified by:
findAllActivein interfaceBusinessObjectDao
-
findAllActive
public <T extends PersistableBusinessObject> QueryPagingResults<T> findAllActive(Class<T> clazz, QueryPagingRequest pagingRequest) Deprecated.- Specified by:
findAllActivein interfaceBusinessObjectDao
-
findAllInactive
Deprecated.- Specified by:
findAllInactivein interfaceBusinessObjectDao
-
findAllInactive
public <T extends PersistableBusinessObject> QueryPagingResults<T> findAllInactive(Class<T> clazz, QueryPagingRequest pagingRequest) Deprecated.- Specified by:
findAllInactivein interfaceBusinessObjectDao
-
findAllActiveOrderBy
public <T extends PersistableBusinessObject> List<T> findAllActiveOrderBy(Class<T> clazz, String sortField, boolean sortAscending) Deprecated.Description copied from interface:BusinessObjectDaoRetrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will only retrieve business objects by class type. Orders the results by the given field. Adds criteria on active column to return only active records. Assumes there exist a mapping for PropertyConstants.Active- Specified by:
findAllActiveOrderByin interfaceBusinessObjectDao
-
findAllActiveOrderBy
public <T extends PersistableBusinessObject> QueryPagingResults<T> findAllActiveOrderBy(Class<T> clazz, String sortField, boolean sortAscending, QueryPagingRequest pagingRequest) Deprecated.- Specified by:
findAllActiveOrderByin interfaceBusinessObjectDao
-
findAllOrderBy
public <T extends PersistableBusinessObject> List<T> findAllOrderBy(Class<T> clazz, String sortField, boolean sortAscending) Deprecated.Description copied from interface:BusinessObjectDaoRetrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will only retrieve business objects by class type. Orders the results by the given field.- Specified by:
findAllOrderByin interfaceBusinessObjectDao
-
findAllOrderBy
public <T extends PersistableBusinessObject> QueryPagingResults<T> findAllOrderBy(Class<T> clazz, String sortField, boolean sortAscending, QueryPagingRequest pagingRequest) Deprecated.- Specified by:
findAllOrderByin interfaceBusinessObjectDao
-
findBySinglePrimaryKey
public <T extends PersistableBusinessObject> T findBySinglePrimaryKey(Class<T> clazz, Object primaryKey) Deprecated.Description copied from interface:BusinessObjectDaoRetrieves an object instance identified by its primary key. For composite keys, useBusinessObjectDao.findByPrimaryKey(Class, Map)- Specified by:
findBySinglePrimaryKeyin interfaceBusinessObjectDao
-
findByPrimaryKey
public <T extends PersistableBusinessObject> T findByPrimaryKey(Class<T> clazz, Map<String, ?> primaryKeys) Deprecated.Description copied from interface:BusinessObjectDaoRetrieves an object instance identified bys it primary keys and values. This can be done by constructing a map where the key to the map entry is the primary key attribute and the value of the entry being the primary key value. For composite keys, pass in each primaryKey attribute and its value as a map entry.- Specified by:
findByPrimaryKeyin interfaceBusinessObjectDao
-
findMatching
public <T extends PersistableBusinessObject> List<T> findMatching(Class<T> clazz, Map<String, ?> fieldValues) Deprecated.Description copied from interface:BusinessObjectDaoThis method retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will retrieve business objects by class type and also by criteria passed in as key-value pairs, specifically attribute name-expected value.- Specified by:
findMatchingin interfaceBusinessObjectDao
-
findMatching
public <T extends PersistableBusinessObject> QueryPagingResults<T> findMatching(Class<T> clazz, Map<String, ?> fieldValues, QueryPagingRequest pagingRequest) Deprecated.- Specified by:
findMatchingin interfaceBusinessObjectDao
-
findMatchingActive
public <T extends PersistableBusinessObject> List<T> findMatchingActive(Class<T> clazz, Map<String, ?> fieldValues) Deprecated.Description copied from interface:BusinessObjectDaoThis method retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will retrieve business objects by class type and also by criteria passed in as key-value pairs, specifically attribute name-expected value. Adds criteria on active column to return only active records. Assumes there exist a mapping for PropertyConstants.Active- Specified by:
findMatchingActivein interfaceBusinessObjectDao
-
findMatchingActive
public <T extends PersistableBusinessObject> QueryPagingResults<T> findMatchingActive(Class<T> clazz, Map<String, ?> fieldValues, QueryPagingRequest pagingRequest) Deprecated.- Specified by:
findMatchingActivein interfaceBusinessObjectDao
-
findMatchingOrderBy
public <T extends PersistableBusinessObject> List<T> findMatchingOrderBy(Class<T> clazz, Map<String, ?> fieldValues, String sortField, boolean sortAscending) Deprecated.Description copied from interface:BusinessObjectDaoThis method retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will retrieve business objects by class type and also by criteria passed in as key-value pairs, specifically attribute name-expected value. Orders the results by the given field.- Specified by:
findMatchingOrderByin interfaceBusinessObjectDao
-
findMatchingOrderBy
public <T extends PersistableBusinessObject> QueryPagingResults<T> findMatchingOrderBy(Class<T> clazz, Map<String, ?> fieldValues, String sortField, boolean sortAscending, QueryPagingRequest pagingRequest) Deprecated.- Specified by:
findMatchingOrderByin interfaceBusinessObjectDao
-
retrieve
Deprecated.Description copied from interface:BusinessObjectDaoRetrieves an object instance identified by the class of the given object and the object's primary key values.- Specified by:
retrievein interfaceBusinessObjectDao
-
manageReadOnly
Deprecated.Description copied from interface:BusinessObjectDaoMerges 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- Specified by:
manageReadOnlyin interfaceBusinessObjectDao- Parameters:
bo- the business object to managed- Returns:
- the managed copied of the business object
-
findByPrimaryKeyUsingKeyObject
public <T extends PersistableBusinessObject> T findByPrimaryKeyUsingKeyObject(Class<T> clazz, Object pkObject) Deprecated.Defers to correct DAO for this class- Specified by:
findByPrimaryKeyUsingKeyObjectin interfaceBusinessObjectDao- Parameters:
clazz- the class of the object to retrievepkObject- the value of the primary key- Returns:
- the retrieved PersistableBusinessObject
-
save
Deprecated.Description copied from interface:BusinessObjectDaoSaves any object that implements the BusinessObject interface.- Specified by:
savein interfaceBusinessObjectDao
-
save
Deprecated.Description copied from interface:BusinessObjectDaoSaves a List of BusinessObjects.- Specified by:
savein interfaceBusinessObjectDao
-
setBusinessObjectDaoOjb
Deprecated.
-
DataObjectService