1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kew.routeheader.dao; |
17 | |
|
18 | |
import java.util.Collection; |
19 | |
import java.util.Set; |
20 | |
|
21 | |
import org.kuali.rice.kew.docsearch.SearchableAttributeValue; |
22 | |
import org.kuali.rice.kew.routeheader.DocumentRouteHeaderValue; |
23 | |
import org.kuali.rice.kew.routeheader.DocumentRouteHeaderValueContent; |
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
public interface DocumentRouteHeaderDAO { |
31 | |
|
32 | |
public void saveRouteHeader(DocumentRouteHeaderValue routeHeader); |
33 | |
|
34 | |
|
35 | |
|
36 | |
public void lockRouteHeader(String documentId, boolean wait); |
37 | |
public DocumentRouteHeaderValue findRouteHeader(String documentId); |
38 | |
public DocumentRouteHeaderValue findRouteHeader(String documentId, boolean clearCache); |
39 | |
public Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds); |
40 | |
public Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds, boolean clearCache); |
41 | |
public void deleteRouteHeader(DocumentRouteHeaderValue routeHeader); |
42 | |
public String getNextDocumentId(); |
43 | |
public Collection<String> findPendingByResponsibilityIds(Set<String> responsibilityIds); |
44 | |
public void clearRouteHeaderSearchValues(String documentId); |
45 | |
public String getApplicationIdByDocumentId(String documentId); |
46 | |
public DocumentRouteHeaderValueContent getContent(String documentId); |
47 | |
public boolean hasSearchableAttributeValue(String documentId, String searchableAttributeKey, String searchableAttributeValue); |
48 | |
public String getDocumentStatus(String documentId); |
49 | |
public void save(SearchableAttributeValue searchableAttribute); |
50 | |
public String getAppDocId(String documentId); |
51 | |
|
52 | |
public Collection findByDocTypeAndAppId(String documentTypeName, String appId); |
53 | |
|
54 | |
} |