org.kuali.rice.kew.routeheader.dao
Interface DocumentRouteHeaderDAO

All Known Implementing Classes:
DocumentRouteHeaderDAOJpaImpl, DocumentRouteHeaderDAOOjbImpl

public interface DocumentRouteHeaderDAO

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 void clearRouteHeaderSearchValues(String documentId)
           
 void deleteRouteHeader(DocumentRouteHeaderValue routeHeader)
           
 Collection findByDocTypeAndAppId(String documentTypeName, String appId)
           
 Collection<String> findPendingByResponsibilityIds(Set<String> responsibilityIds)
           
 DocumentRouteHeaderValue findRouteHeader(String documentId)
           
 DocumentRouteHeaderValue findRouteHeader(String documentId, boolean clearCache)
           
 Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds)
           
 Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds, boolean clearCache)
           
 Collection<SearchableAttributeValue> findSearchableAttributeValues(String documentId)
           
 String getAppDocId(String documentId)
           
 String getAppDocStatus(String documentId)
           
 String getApplicationIdByDocumentId(String documentId)
           
 DocumentRouteHeaderValueContent getContent(String documentId)
           
 String getDocumentStatus(String documentId)
           
 String getNextDocumentId()
           
 boolean hasSearchableAttributeValue(String documentId, String searchableAttributeKey, String searchableAttributeValue)
           
 void lockRouteHeader(String documentId, boolean wait)
          "Locks" the route header at the datasource level.
 void save(SearchableAttributeValue searchableAttribute)
           
 void saveRouteHeader(DocumentRouteHeaderValue routeHeader)
           
 

Method Detail

saveRouteHeader

void saveRouteHeader(DocumentRouteHeaderValue routeHeader)

lockRouteHeader

void lockRouteHeader(String documentId,
                     boolean wait)
"Locks" the route header at the datasource level.


findRouteHeader

DocumentRouteHeaderValue findRouteHeader(String documentId)

findRouteHeader

DocumentRouteHeaderValue findRouteHeader(String documentId,
                                         boolean clearCache)

findRouteHeaders

Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds)

findRouteHeaders

Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds,
                                                      boolean clearCache)

deleteRouteHeader

void deleteRouteHeader(DocumentRouteHeaderValue routeHeader)

getNextDocumentId

String getNextDocumentId()

findPendingByResponsibilityIds

Collection<String> findPendingByResponsibilityIds(Set<String> responsibilityIds)

clearRouteHeaderSearchValues

void clearRouteHeaderSearchValues(String documentId)

findSearchableAttributeValues

Collection<SearchableAttributeValue> findSearchableAttributeValues(String documentId)

getApplicationIdByDocumentId

String getApplicationIdByDocumentId(String documentId)

getContent

DocumentRouteHeaderValueContent getContent(String documentId)

hasSearchableAttributeValue

boolean hasSearchableAttributeValue(String documentId,
                                    String searchableAttributeKey,
                                    String searchableAttributeValue)

getDocumentStatus

String getDocumentStatus(String documentId)

save

void save(SearchableAttributeValue searchableAttribute)

getAppDocId

String getAppDocId(String documentId)

getAppDocStatus

String getAppDocStatus(String documentId)

findByDocTypeAndAppId

Collection findByDocTypeAndAppId(String documentTypeName,
                                 String appId)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.