@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 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.
Defers to correct DAO for this class
|
<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.
|
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 org.kuali.rice.krad.bo.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> Collection<T> findAll(Class<T> clazz)
BusinessObjectDao
findAll
in interface BusinessObjectDao
BusinessObjectDao.findAll(java.lang.Class)
public <T> Collection<T> findAllActive(Class<T> clazz)
BusinessObjectDao
findAllActive
in interface BusinessObjectDao
BusinessObjectDao.findAllActive(java.lang.Class)
public <T> Collection<T> findAllInactive(Class<T> clazz)
findAllInactive
in interface BusinessObjectDao
BusinessObjectDao.findAllInactive(java.lang.Class)
public <T> 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> 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> T findBySinglePrimaryKey(Class<T> clazz, Object primaryKey)
BusinessObjectDao
BusinessObjectDao.findByPrimaryKey(Class, java.util.Map)
findBySinglePrimaryKey
in interface BusinessObjectDao
BusinessObjectDao.findBySinglePrimaryKey(java.lang.Class, java.lang.Object)
public <T> T findByPrimaryKey(Class<T> clazz, Map<String,?> primaryKeys)
BusinessObjectDao
findByPrimaryKey
in interface BusinessObjectDao
BusinessObjectDao.findByPrimaryKey(java.lang.Class, java.util.Map)
public <T> Collection<T> findMatching(Class<T> clazz, Map<String,?> fieldValues)
BusinessObjectDao
findMatching
in interface BusinessObjectDao
BusinessObjectDao.findMatching(java.lang.Class, java.util.Map)
public <T> Collection<T> findMatchingActive(Class<T> clazz, Map<String,?> fieldValues)
BusinessObjectDao
findMatchingActive
in interface BusinessObjectDao
BusinessObjectDao.findMatchingActive(java.lang.Class, java.util.Map)
public <T> 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 org.kuali.rice.krad.bo.PersistableBusinessObject manageReadOnly(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
BusinessObjectDao
manageReadOnly
in interface BusinessObjectDao
bo
- the business object to managedBusinessObjectDao.manageReadOnly(org.kuali.rice.krad.bo.PersistableBusinessObject)
public <T> 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 org.kuali.rice.krad.bo.PersistableBusinessObject save(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
BusinessObjectDao
save
in interface BusinessObjectDao
BusinessObjectDao.save(org.kuali.rice.krad.bo.PersistableBusinessObject)
public List<? extends org.kuali.rice.krad.bo.PersistableBusinessObject> save(List businessObjects)
BusinessObjectDao
save
in interface BusinessObjectDao
BusinessObjectDao.save(java.util.List)
public void setBusinessObjectDaoOjb(BusinessObjectDao businessObjectDaoOjb)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.