|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.dao.impl.DocumentDaoJpa
public class DocumentDaoJpa
This class is the OJB implementation of the DocumentDao interface.
| Field Summary | |
|---|---|
private BusinessObjectDao |
businessObjectDao
|
private DocumentAdHocService |
documentAdHocService
|
private javax.persistence.EntityManager |
entityManager
|
private static org.apache.log4j.Logger |
LOG
|
| Constructor Summary | |
|---|---|
DocumentDaoJpa(javax.persistence.EntityManager entityManager,
BusinessObjectDao businessObjectDao,
DocumentAdHocService documentAdHocService)
|
|
| Method Summary | |
|---|---|
Document |
findByDocumentHeaderId(Class clazz,
String id)
Retrieve a Document of a specific type with a given document header ID. |
List |
findByDocumentHeaderIds(Class clazz,
List idList)
Retrieve a List of Document instances with the given ids |
BusinessObjectDao |
getBusinessObjectDao()
|
DocumentAdHocService |
getDocumentAdHocService()
|
javax.persistence.EntityManager |
getEntityManager()
|
void |
save(Document document)
|
void |
saveMaintainableBusinessObject(PersistableBusinessObject businessObject)
Deprecated. |
void |
setBusinessObjectDao(BusinessObjectDao businessObjectDao)
|
void |
setDocumentAdHocService(DocumentAdHocService dahs)
Setter for injecting the DocumentAdHocService |
void |
setEntityManager(javax.persistence.EntityManager entityManager)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static org.apache.log4j.Logger LOG
private BusinessObjectDao businessObjectDao
private DocumentAdHocService documentAdHocService
private javax.persistence.EntityManager entityManager
| Constructor Detail |
|---|
public DocumentDaoJpa(javax.persistence.EntityManager entityManager,
BusinessObjectDao businessObjectDao,
DocumentAdHocService documentAdHocService)
| Method Detail |
|---|
public void save(Document document)
throws org.springframework.dao.DataAccessException
save in interface DocumentDaoorg.springframework.dao.DataAccessException
public Document findByDocumentHeaderId(Class clazz,
String id)
throws org.springframework.dao.DataAccessException
findByDocumentHeaderId in interface DocumentDaoclazz - id -
org.springframework.dao.DataAccessException
public List findByDocumentHeaderIds(Class clazz,
List idList)
throws org.springframework.dao.DataAccessException
findByDocumentHeaderIds in interface DocumentDaoclazz - idList -
org.springframework.dao.DataAccessException@Deprecated public void saveMaintainableBusinessObject(PersistableBusinessObject businessObject)
public BusinessObjectDao getBusinessObjectDao()
getBusinessObjectDao in interface DocumentDaopublic void setBusinessObjectDao(BusinessObjectDao businessObjectDao)
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
entityManager - the entityManager to setpublic DocumentAdHocService getDocumentAdHocService()
getDocumentAdHocService in interface DocumentDaopublic void setDocumentAdHocService(DocumentAdHocService dahs)
dahs -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||