DataObjectService
@Deprecated @Transactional public class BusinessObjectDaoProxy extends Object implements BusinessObjectDao
Constructor and Description |
---|
BusinessObjectDaoProxy()
Deprecated.
|
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 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 extends BusinessObject> |
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 extends BusinessObject> |
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 BusinessObject> |
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 BusinessObject> |
findAllInactive(Class<T> clazz)
Deprecated.
|
<T extends BusinessObject> |
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 BusinessObject> |
findByPrimaryKey(Class<T> clazz,
Map<String,?> primaryKeys)
Deprecated.
Retrieves an object instance identified bys it primary keys and values.
|
<T extends BusinessObject> |
findByPrimaryKeyUsingKeyObject(Class<T> clazz,
Object pkObject)
Deprecated.
Defers to correct DAO for this class
|
<T extends BusinessObject> |
findBySinglePrimaryKey(Class<T> clazz,
Object primaryKey)
Deprecated.
Retrieves an object instance identified by its primary key.
|
<T extends BusinessObject> |
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 BusinessObject> |
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 BusinessObject> |
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.
|
PersistableBusinessObject |
manageReadOnly(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 PersistableBusinessObject> |
save(List businessObjects)
Deprecated.
Saves a List of BusinessObjects.
|
PersistableBusinessObject |
save(PersistableBusinessObject bo)
Deprecated.
Saves any object that implements the BusinessObject interface.
|
void |
setBusinessObjectDaoOjb(BusinessObjectDao businessObjectDaoOjb)
Deprecated.
|
public BusinessObjectDaoProxy()
public int countMatching(Class clazz, Map<String,?> fieldValues)
countMatching
in interface BusinessObjectDao
BusinessObjectDao.countMatching(java.lang.Class, java.util.Map)
public int countMatching(Class clazz, Map<String,?> positiveFieldValues, Map<String,?> negativeFieldValues)
BusinessObjectDao
countMatching
in interface BusinessObjectDao
positiveFieldValues
- Map of fields and values for positive criterianegativeFieldValues
- Map of fields and values for negative criteriaBusinessObjectDao.countMatching(java.lang.Class, java.util.Map, java.util.Map)
public void delete(Object bo)
BusinessObjectDao
delete
in interface BusinessObjectDao
org.kuali.rice.krad.dao.BusinessObjectDao#delete(org.kuali.rice.krad.bo.PersistableBusinessObject)
public void delete(List<? extends PersistableBusinessObject> boList)
BusinessObjectDao
delete
in interface BusinessObjectDao
BusinessObjectDao.delete(java.util.List)
public void deleteMatching(Class clazz, Map<String,?> fieldValues)
BusinessObjectDao
deleteMatching
in interface BusinessObjectDao
BusinessObjectDao.deleteMatching(java.lang.Class, java.util.Map)
public <T extends BusinessObject> Collection<T> findAll(Class<T> clazz)
BusinessObjectDao
findAll
in interface BusinessObjectDao
BusinessObjectDao.findAll(java.lang.Class)
public <T extends BusinessObject> Collection<T> findAllActive(Class<T> clazz)
BusinessObjectDao
findAllActive
in interface BusinessObjectDao
BusinessObjectDao.findAllActive(java.lang.Class)
public <T extends BusinessObject> Collection<T> findAllInactive(Class<T> clazz)
findAllInactive
in interface BusinessObjectDao
BusinessObjectDao.findAllInactive(java.lang.Class)
public <T extends BusinessObject> Collection<T> findAllActiveOrderBy(Class<T> clazz, String sortField, boolean sortAscending)
BusinessObjectDao
findAllActiveOrderBy
in interface BusinessObjectDao
BusinessObjectDao.findAllActiveOrderBy(java.lang.Class, java.lang.String, boolean)
public <T extends BusinessObject> Collection<T> findAllOrderBy(Class<T> clazz, String sortField, boolean sortAscending)
BusinessObjectDao
findAllOrderBy
in interface BusinessObjectDao
BusinessObjectDao.findAllOrderBy(java.lang.Class, java.lang.String, boolean)
public <T extends BusinessObject> T findBySinglePrimaryKey(Class<T> clazz, Object primaryKey)
BusinessObjectDao
BusinessObjectDao.findByPrimaryKey(Class, Map)
findBySinglePrimaryKey
in interface BusinessObjectDao
BusinessObjectDao.findBySinglePrimaryKey(java.lang.Class, java.lang.Object)
public <T extends BusinessObject> T findByPrimaryKey(Class<T> clazz, Map<String,?> primaryKeys)
BusinessObjectDao
findByPrimaryKey
in interface BusinessObjectDao
BusinessObjectDao.findByPrimaryKey(java.lang.Class, java.util.Map)
public <T extends BusinessObject> Collection<T> findMatching(Class<T> clazz, Map<String,?> fieldValues)
BusinessObjectDao
findMatching
in interface BusinessObjectDao
BusinessObjectDao.findMatching(java.lang.Class, java.util.Map)
public <T extends BusinessObject> Collection<T> findMatchingActive(Class<T> clazz, Map<String,?> fieldValues)
BusinessObjectDao
findMatchingActive
in interface BusinessObjectDao
BusinessObjectDao.findMatchingActive(java.lang.Class, java.util.Map)
public <T extends BusinessObject> Collection<T> findMatchingOrderBy(Class<T> clazz, Map<String,?> fieldValues, String sortField, boolean sortAscending)
BusinessObjectDao
findMatchingOrderBy
in interface BusinessObjectDao
BusinessObjectDao.findMatchingOrderBy(java.lang.Class, java.util.Map, java.lang.String, boolean)
public Object retrieve(Object object)
BusinessObjectDao
retrieve
in interface BusinessObjectDao
org.kuali.rice.krad.dao.BusinessObjectDao#retrieve(org.kuali.rice.krad.bo.PersistableBusinessObject)
public PersistableBusinessObject manageReadOnly(PersistableBusinessObject bo)
BusinessObjectDao
manageReadOnly
in interface BusinessObjectDao
bo
- the business object to managedBusinessObjectDao.manageReadOnly(org.kuali.rice.krad.bo.PersistableBusinessObject)
public <T extends BusinessObject> T findByPrimaryKeyUsingKeyObject(Class<T> clazz, Object pkObject)
findByPrimaryKeyUsingKeyObject
in interface BusinessObjectDao
clazz
- the class of the object to retrievepkObject
- the value of the primary keyBusinessObjectDao.findByPrimaryKeyUsingKeyObject(java.lang.Class, java.lang.Object)
public PersistableBusinessObject save(PersistableBusinessObject bo)
BusinessObjectDao
save
in interface BusinessObjectDao
BusinessObjectDao.save(org.kuali.rice.krad.bo.PersistableBusinessObject)
public List<? extends PersistableBusinessObject> save(List businessObjects)
BusinessObjectDao
save
in interface BusinessObjectDao
BusinessObjectDao.save(java.util.List)
public void setBusinessObjectDaoOjb(BusinessObjectDao businessObjectDaoOjb)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.