org.kuali.rice.kew.routeheader.dao.impl
Class DocumentRouteHeaderDAOJpaImpl
java.lang.Object
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:
saveRouteHeader
in interface DocumentRouteHeaderDAO
getContent
public DocumentRouteHeaderValueContent getContent(String documentId)
- Specified by:
getContent
in interface DocumentRouteHeaderDAO
clearRouteHeaderSearchValues
public void clearRouteHeaderSearchValues(String documentId)
- Specified by:
clearRouteHeaderSearchValues
in 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:
lockRouteHeader
in interface DocumentRouteHeaderDAO
findRouteHeader
public DocumentRouteHeaderValue findRouteHeader(String documentId)
- Specified by:
findRouteHeader
in interface DocumentRouteHeaderDAO
findRouteHeader
public DocumentRouteHeaderValue findRouteHeader(String documentId,
boolean clearCache)
- Specified by:
findRouteHeader
in interface DocumentRouteHeaderDAO
findRouteHeaders
public Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds)
- Specified by:
findRouteHeaders
in interface DocumentRouteHeaderDAO
findRouteHeaders
public Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds,
boolean clearCache)
- Specified by:
findRouteHeaders
in interface DocumentRouteHeaderDAO
deleteRouteHeader
public void deleteRouteHeader(DocumentRouteHeaderValue routeHeader)
- Specified by:
deleteRouteHeader
in interface DocumentRouteHeaderDAO
getNextDocumentId
public String getNextDocumentId()
- Specified by:
getNextDocumentId
in interface DocumentRouteHeaderDAO
getPlatform
protected DatabasePlatform getPlatform()
findPendingByResponsibilityIds
public Collection<String> findPendingByResponsibilityIds(Set<String> responsibilityIds)
- Specified by:
findPendingByResponsibilityIds
in interface DocumentRouteHeaderDAO
hasSearchableAttributeValue
public boolean hasSearchableAttributeValue(String documentId,
String searchableAttributeKey,
String searchableAttributeValue)
- Specified by:
hasSearchableAttributeValue
in interface DocumentRouteHeaderDAO
getApplicationIdByDocumentId
public String getApplicationIdByDocumentId(String documentId)
- Specified by:
getApplicationIdByDocumentId
in interface DocumentRouteHeaderDAO
getDocumentStatus
public String getDocumentStatus(String documentId)
- Specified by:
getDocumentStatus
in interface DocumentRouteHeaderDAO
getAppDocId
public String getAppDocId(String documentId)
- Specified by:
getAppDocId
in interface DocumentRouteHeaderDAO
save
public void save(SearchableAttributeValue searchableAttributeValue)
- Specified by:
save
in interface DocumentRouteHeaderDAO
findByDocTypeAndAppId
public Collection findByDocTypeAndAppId(String documentTypeName,
String appId)
- Specified by:
findByDocTypeAndAppId
in interface DocumentRouteHeaderDAO
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.