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)
           
 String getAppDocId(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)

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)

findByDocTypeAndAppId

Collection findByDocTypeAndAppId(String documentTypeName,
                                 String appId)


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