@Deprecated public class BusinessObjectDaoOjb extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb implements BusinessObjectDao, org.kuali.rice.krad.service.util.OjbCollectionAware
| Constructor and Description |
|---|
BusinessObjectDaoOjb(org.kuali.rice.krad.service.PersistenceStructureService persistenceStructureService)
Deprecated.
This constructs a
BusinessObjectDaoOjb |
| Modifier and Type | Method and Description |
|---|---|
int |
countMatching(Class clazz,
Map<String,?> fieldValues)
Deprecated.
This is the default impl that comes with Kuali - uses OJB.
|
int |
countMatching(Class clazz,
Map<String,?> positiveFieldValues,
Map<String,?> negativeFieldValues)
Deprecated.
This is the default impl that comes with Kuali - uses OJB.
|
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 the business object passed in.
|
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 all of the records for a given class name.
|
<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.
OJB does not support this method
|
<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 is the default impl that comes with Kuali - uses OJB.
|
<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 is the default impl that comes with Kuali - uses OJB.
|
protected org.kuali.rice.krad.service.util.OjbCollectionHelper |
getOjbCollectionHelper()
Deprecated.
OJB collection helper instance which processes collections before persisting
|
protected org.kuali.rice.krad.service.PersistenceStructureService |
getPersistenceStructureService()
Deprecated.
Gets the persistenceStructureService attribute.
|
org.kuali.rice.krad.bo.PersistableBusinessObject |
manageReadOnly(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
Deprecated.
No need to do anything - avoid saving and OJB will "manage read only"
|
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 business object.
|
org.kuali.rice.krad.bo.PersistableBusinessObject |
save(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
Deprecated.
Saves a business object.
|
void |
setOjbCollectionHelper(org.kuali.rice.krad.service.util.OjbCollectionHelper ojbCollectionHelper)
Deprecated.
Setter for the OJB collection helper
|
void |
setPersistenceStructureService(org.kuali.rice.krad.service.PersistenceStructureService persistenceStructureService)
Deprecated.
Sets the persistenceStructureService attribute value.
|
getDbPlatform, setDbPlatformcheckDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplatepublic BusinessObjectDaoOjb(org.kuali.rice.krad.service.PersistenceStructureService persistenceStructureService)
BusinessObjectDaoOjbpublic <T> T findBySinglePrimaryKey(Class<T> clazz, Object primaryKey)
BusinessObjectDaoBusinessObjectDao.findByPrimaryKey(Class, java.util.Map)findBySinglePrimaryKey in interface BusinessObjectDaoBusinessObjectDao.findBySinglePrimaryKey(java.lang.Class, java.lang.Object)public <T> T findByPrimaryKey(Class<T> clazz, Map<String,?> primaryKeys)
BusinessObjectDaofindByPrimaryKey in interface BusinessObjectDaoBusinessObjectDao.findByPrimaryKey(java.lang.Class, java.util.Map)public <T> Collection<T> findAll(Class<T> clazz)
findAll in interface BusinessObjectDaoclazz - - the name of the object being used, either KualiCodeBase or a subclassBusinessObjectDao.findAll(java.lang.Class)public <T> Collection<T> findAllOrderBy(Class<T> clazz, String sortField, boolean sortAscending)
BusinessObjectDaofindAllOrderBy in interface BusinessObjectDaoBusinessObjectDao.findAllOrderBy(java.lang.Class, java.lang.String, boolean)public <T> Collection<T> findMatching(Class<T> clazz, Map<String,?> fieldValues)
findMatching in interface BusinessObjectDaoBusinessObjectDao.findMatching(java.lang.Class, java.util.Map)public <T> Collection<T> findAllActive(Class<T> clazz)
BusinessObjectDaofindAllActive in interface BusinessObjectDaoBusinessObjectDao.findAllActive(java.lang.Class)public <T> Collection<T> findAllInactive(Class<T> clazz)
findAllInactive in interface BusinessObjectDaoBusinessObjectDao.findAllActive(java.lang.Class)public <T> Collection<T> findAllActiveOrderBy(Class<T> clazz, String sortField, boolean sortAscending)
BusinessObjectDaofindAllActiveOrderBy in interface BusinessObjectDaoBusinessObjectDao.findAllActiveOrderBy(java.lang.Class, java.lang.String, boolean)public <T> Collection<T> findMatchingActive(Class<T> clazz, Map<String,?> fieldValues)
BusinessObjectDaofindMatchingActive in interface BusinessObjectDaoBusinessObjectDao.findMatchingActive(java.lang.Class, java.util.Map)public int countMatching(Class clazz, Map<String,?> fieldValues)
countMatching in interface BusinessObjectDaoBusinessObjectDao.countMatching(java.lang.Class, java.util.Map)public int countMatching(Class clazz, Map<String,?> positiveFieldValues, Map<String,?> negativeFieldValues)
countMatching in interface BusinessObjectDaopositiveFieldValues - 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 <T> Collection<T> findMatchingOrderBy(Class<T> clazz, Map<String,?> fieldValues, String sortField, boolean sortAscending)
findMatchingOrderBy in interface BusinessObjectDaoBusinessObjectDao.findMatching(java.lang.Class, java.util.Map)public org.kuali.rice.krad.bo.PersistableBusinessObject save(org.kuali.rice.krad.bo.PersistableBusinessObject bo) throws org.springframework.dao.DataAccessException
save in interface BusinessObjectDaoorg.springframework.dao.DataAccessExceptionBusinessObjectDao.save(org.kuali.rice.krad.bo.PersistableBusinessObject)public List<? extends org.kuali.rice.krad.bo.PersistableBusinessObject> save(List businessObjects) throws org.springframework.dao.DataAccessException
save in interface BusinessObjectDaoorg.springframework.dao.DataAccessExceptionBusinessObjectDao.save(org.kuali.rice.krad.bo.PersistableBusinessObject)public void delete(Object bo)
delete in interface BusinessObjectDaobo - org.springframework.dao.DataAccessExceptionorg.kuali.rice.krad.dao.BusinessObjectDao#delete(org.kuali.rice.krad.bo.PersistableBusinessObject)public void delete(List<? extends org.kuali.rice.krad.bo.PersistableBusinessObject> boList)
BusinessObjectDaodelete in interface BusinessObjectDaoBusinessObjectDao.delete(java.util.List)public void deleteMatching(Class clazz, Map<String,?> fieldValues)
BusinessObjectDaodeleteMatching in interface BusinessObjectDaoBusinessObjectDao.deleteMatching(java.lang.Class, java.util.Map)public Object retrieve(Object object)
BusinessObjectDaoretrieve in interface BusinessObjectDaoorg.kuali.rice.krad.dao.BusinessObjectDao#retrieve(org.kuali.rice.krad.bo.PersistableBusinessObject)public <T> T findByPrimaryKeyUsingKeyObject(Class<T> clazz, Object pkObject)
findByPrimaryKeyUsingKeyObject in interface BusinessObjectDaoclazz - the class of the object to retrievepkObject - the value of the primary keyorg.kuali.rice.krad.dao.BusinessObjectDao#findByPrimaryKey(java.lang.Class, java.lang.Object)public org.kuali.rice.krad.bo.PersistableBusinessObject manageReadOnly(org.kuali.rice.krad.bo.PersistableBusinessObject bo)
manageReadOnly in interface BusinessObjectDaobo - the business object to managedBusinessObjectDao.manageReadOnly(org.kuali.rice.krad.bo.PersistableBusinessObject)protected org.kuali.rice.krad.service.PersistenceStructureService getPersistenceStructureService()
public void setPersistenceStructureService(org.kuali.rice.krad.service.PersistenceStructureService persistenceStructureService)
persistenceStructureService - The persistenceStructureService to set.protected org.kuali.rice.krad.service.util.OjbCollectionHelper getOjbCollectionHelper()
public void setOjbCollectionHelper(org.kuali.rice.krad.service.util.OjbCollectionHelper ojbCollectionHelper)
ojbCollectionHelper - Copyright © 2004–2014 The Kuali Foundation. All rights reserved.