org.kuali.rice.kew.routeheader.dao.impl
Class DocumentRouteHeaderDAOJpaImpl
java.lang.Object
   org.kuali.rice.kew.routeheader.dao.impl.DocumentRouteHeaderDAOJpaImpl
org.kuali.rice.kew.routeheader.dao.impl.DocumentRouteHeaderDAOJpaImpl
- All Implemented Interfaces: 
- DocumentRouteHeaderDAO
- public class DocumentRouteHeaderDAOJpaImpl 
- extends Object- implements DocumentRouteHeaderDAO
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DocumentRouteHeaderDAOJpaImpl
public DocumentRouteHeaderDAOJpaImpl()
getEntityManager
public javax.persistence.EntityManager getEntityManager()
- 
 
- 
- Returns:
- the entityManager
 
setEntityManager
public void setEntityManager(javax.persistence.EntityManager entityManager)
- 
 
- 
- Parameters:
- entityManager- the entityManager to set
 
saveRouteHeader
public void saveRouteHeader(DocumentRouteHeaderValue routeHeader)
- 
- Specified by:
- saveRouteHeaderin interface- DocumentRouteHeaderDAO
 
- 
 
getContent
public DocumentRouteHeaderValueContent getContent(String documentId)
- 
- Specified by:
- getContentin interface- DocumentRouteHeaderDAO
 
- 
 
clearRouteHeaderSearchValues
public void clearRouteHeaderSearchValues(String documentId)
- 
- Specified by:
- clearRouteHeaderSearchValuesin interface- DocumentRouteHeaderDAO
 
- 
 
lockRouteHeader
public void lockRouteHeader(String documentId,
                            boolean wait)
- Description copied from interface: DocumentRouteHeaderDAO
- "Locks" the route header at the datasource level.
 
- 
- Specified by:
- lockRouteHeaderin interface- DocumentRouteHeaderDAO
 
- 
 
findRouteHeader
public DocumentRouteHeaderValue findRouteHeader(String documentId)
- 
- Specified by:
- findRouteHeaderin interface- DocumentRouteHeaderDAO
 
- 
 
findRouteHeader
public DocumentRouteHeaderValue findRouteHeader(String documentId,
                                                boolean clearCache)
- 
- Specified by:
- findRouteHeaderin interface- DocumentRouteHeaderDAO
 
- 
 
findRouteHeaders
public Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds)
- 
- Specified by:
- findRouteHeadersin interface- DocumentRouteHeaderDAO
 
- 
 
findRouteHeaders
public Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds,
                                                             boolean clearCache)
- 
- Specified by:
- findRouteHeadersin interface- DocumentRouteHeaderDAO
 
- 
 
deleteRouteHeader
public void deleteRouteHeader(DocumentRouteHeaderValue routeHeader)
- 
- Specified by:
- deleteRouteHeaderin interface- DocumentRouteHeaderDAO
 
- 
 
getNextDocumentId
public String getNextDocumentId()
- 
- Specified by:
- getNextDocumentIdin interface- DocumentRouteHeaderDAO
 
- 
 
getPlatform
protected DatabasePlatform getPlatform()
- 
 
- 
 
findPendingByResponsibilityIds
public Collection<String> findPendingByResponsibilityIds(Set<String> responsibilityIds)
- 
- Specified by:
- findPendingByResponsibilityIdsin interface- DocumentRouteHeaderDAO
 
- 
 
hasSearchableAttributeValue
public boolean hasSearchableAttributeValue(String documentId,
                                           String searchableAttributeKey,
                                           String searchableAttributeValue)
- 
- Specified by:
- hasSearchableAttributeValuein interface- DocumentRouteHeaderDAO
 
- 
 
getApplicationIdByDocumentId
public String getApplicationIdByDocumentId(String documentId)
- 
- Specified by:
- getApplicationIdByDocumentIdin interface- DocumentRouteHeaderDAO
 
- 
 
getDocumentStatus
public String getDocumentStatus(String documentId)
- 
- Specified by:
- getDocumentStatusin interface- DocumentRouteHeaderDAO
 
- 
 
getAppDocId
public String getAppDocId(String documentId)
- 
- Specified by:
- getAppDocIdin interface- DocumentRouteHeaderDAO
 
- 
 
save
public void save(SearchableAttributeValue searchableAttributeValue)
- 
- Specified by:
- savein interface- DocumentRouteHeaderDAO
 
- 
 
findByDocTypeAndAppId
public Collection findByDocTypeAndAppId(String documentTypeName,
                                        String appId)
- 
- Specified by:
- findByDocTypeAndAppIdin interface- DocumentRouteHeaderDAO
 
- 
 
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.