public class DocumentDaoOjb extends PlatformAwareDaoBaseOjb implements DocumentDao, OjbCollectionAware
| Modifier and Type | Field and Description | 
|---|---|
| protected BusinessObjectDao | businessObjectDao | 
| protected DocumentAdHocService | documentAdHocService | 
| Constructor and Description | 
|---|
| DocumentDaoOjb(BusinessObjectDao businessObjectDao,
              DocumentAdHocService documentAdHocService) | 
| Modifier and Type | Method and Description | 
|---|---|
| <T extends Document> | findByDocumentHeaderId(Class<T> clazz,
                      String id)Retrieve a Document of a specific type with a given document header ID. | 
| <T extends Document> | findByDocumentHeaderIds(Class<T> clazz,
                       List<String> idList)Retrieve a List of Document instances with the given ids | 
| BusinessObjectDao | getBusinessObjectDao()Returns the  BusinessObjectDao | 
| DocumentAdHocService | getDocumentAdHocService() | 
| protected OjbCollectionHelper | getOjbCollectionHelper() | 
| <T extends Document> | save(T document) | 
| void | setBusinessObjectDao(BusinessObjectDao businessObjectDao)Sets the  BusinessObjectDao | 
| void | setDocumentAdHocService(DocumentAdHocService dahs)Setter for injecting the DocumentAdHocService | 
| void | setOjbCollectionHelper(OjbCollectionHelper ojbCollectionHelper) | 
getDbPlatform, setDbPlatformcheckDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPersistenceBrokerTemplateprotected BusinessObjectDao businessObjectDao
protected DocumentAdHocService documentAdHocService
public DocumentDaoOjb(BusinessObjectDao businessObjectDao, DocumentAdHocService documentAdHocService)
public <T extends Document> T save(T document) throws org.springframework.dao.DataAccessException
save in interface DocumentDaoorg.springframework.dao.DataAccessExceptionorg.kuali.dao.DocumentDao#save(null)public <T extends Document> T findByDocumentHeaderId(Class<T> clazz, String id)
findByDocumentHeaderId in interface DocumentDaoclazz - id - public <T extends Document> List<T> findByDocumentHeaderIds(Class<T> clazz, List<String> idList)
findByDocumentHeaderIds in interface DocumentDaoclazz - idList - public BusinessObjectDao getBusinessObjectDao()
BusinessObjectDaogetBusinessObjectDao in interface DocumentDaoBusinessObjectDaoDocumentDao.getBusinessObjectDao()public void setBusinessObjectDao(BusinessObjectDao businessObjectDao)
BusinessObjectDaobusinessObjectDao - ths BusinessObjectDaopublic DocumentAdHocService getDocumentAdHocService()
getDocumentAdHocService in interface DocumentDaopublic void setDocumentAdHocService(DocumentAdHocService dahs)
dahs - protected OjbCollectionHelper getOjbCollectionHelper()
public void setOjbCollectionHelper(OjbCollectionHelper ojbCollectionHelper)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.