Package org.kuali.rice.krad.dao.impl
Class DocumentDaoOjb
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
org.kuali.rice.krad.dao.impl.DocumentDaoOjb
- All Implemented Interfaces:
org.kuali.rice.core.framework.persistence.dao.PlatformAwareDao,DocumentDao,OjbCollectionAware,org.springframework.beans.factory.InitializingBean
@Deprecated
public class DocumentDaoOjb
extends PlatformAwareDaoBaseOjb
implements DocumentDao, OjbCollectionAware
Deprecated.
OJB implementation of the DocumentDao interface
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BusinessObjectDaoDeprecated.protected org.kuali.rice.krad.service.DocumentAdHocServiceDeprecated.Fields inherited from class org.springframework.dao.support.DaoSupport
logger -
Constructor Summary
ConstructorsConstructorDescriptionDocumentDaoOjb(BusinessObjectDao businessObjectDao, org.kuali.rice.krad.service.DocumentAdHocService documentAdHocService) Deprecated. -
Method Summary
Modifier and TypeMethodDescription<T extends org.kuali.rice.krad.document.Document>
TfindByDocumentHeaderId(Class<T> clazz, String id) Deprecated.Retrieve a Document of a specific type with a given document header ID.<T extends org.kuali.rice.krad.document.Document>
List<T> findByDocumentHeaderIds(Class<T> clazz, List<String> idList) Deprecated.Retrieve a List of Document instances with the given idsDeprecated.Returns theBusinessObjectDaoorg.kuali.rice.krad.service.DocumentAdHocServiceDeprecated.protected OjbCollectionHelperDeprecated.<T extends org.kuali.rice.krad.document.Document>
Tsave(T document) Deprecated.voidsetBusinessObjectDao(BusinessObjectDao businessObjectDao) Deprecated.Sets theBusinessObjectDaovoidsetDocumentAdHocService(org.kuali.rice.krad.service.DocumentAdHocService dahs) Deprecated.Setter for injecting the DocumentAdHocServicevoidsetOjbCollectionHelper(OjbCollectionHelper ojbCollectionHelper) Deprecated.Methods inherited from class org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
getDbPlatform, setDbPlatformMethods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplateMethods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDaoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.service.util.OjbCollectionAware
getPersistenceBrokerTemplate
-
Field Details
-
businessObjectDao
Deprecated. -
documentAdHocService
protected org.kuali.rice.krad.service.DocumentAdHocService documentAdHocServiceDeprecated.
-
-
Constructor Details
-
DocumentDaoOjb
public DocumentDaoOjb(BusinessObjectDao businessObjectDao, org.kuali.rice.krad.service.DocumentAdHocService documentAdHocService) Deprecated.
-
-
Method Details
-
save
public <T extends org.kuali.rice.krad.document.Document> T save(T document) throws org.springframework.dao.DataAccessException Deprecated.- Specified by:
savein interfaceDocumentDao- Throws:
org.springframework.dao.DataAccessException
-
findByDocumentHeaderId
public <T extends org.kuali.rice.krad.document.Document> T findByDocumentHeaderId(Class<T> clazz, String id) Deprecated.Retrieve a Document of a specific type with a given document header ID.- Specified by:
findByDocumentHeaderIdin interfaceDocumentDao- Parameters:
clazz-id-- Returns:
- Document with given id
-
findByDocumentHeaderIds
public <T extends org.kuali.rice.krad.document.Document> List<T> findByDocumentHeaderIds(Class<T> clazz, List<String> idList) Deprecated.Retrieve a List of Document instances with the given ids- Specified by:
findByDocumentHeaderIdsin interfaceDocumentDao- Parameters:
clazz-idList-- Returns:
- List
-
getBusinessObjectDao
Deprecated.Returns theBusinessObjectDao- Specified by:
getBusinessObjectDaoin interfaceDocumentDao- Returns:
- the
BusinessObjectDao - See Also:
-
setBusinessObjectDao
Deprecated.Sets theBusinessObjectDao- Parameters:
businessObjectDao- thsBusinessObjectDao
-
getDocumentAdHocService
public org.kuali.rice.krad.service.DocumentAdHocService getDocumentAdHocService()Deprecated.- Specified by:
getDocumentAdHocServicein interfaceDocumentDao- Returns:
- the documentAdHocService
-
setDocumentAdHocService
public void setDocumentAdHocService(org.kuali.rice.krad.service.DocumentAdHocService dahs) Deprecated.Setter for injecting the DocumentAdHocService- Parameters:
dahs-
-
getOjbCollectionHelper
Deprecated. -
setOjbCollectionHelper
Deprecated.
-