1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.rice.kew.actiontaken.dao; |
18 | |
|
19 | |
import org.kuali.rice.kew.actiontaken.ActionTakenValue; |
20 | |
|
21 | |
import java.util.Collection; |
22 | |
import java.util.List; |
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
public interface ActionTakenDAO { |
31 | |
|
32 | |
public ActionTakenValue load(String id); |
33 | |
|
34 | |
public void saveActionTaken(ActionTakenValue actionTaken); |
35 | |
|
36 | |
public void deleteActionTaken(ActionTakenValue actionTaken); |
37 | |
|
38 | |
public ActionTakenValue findByActionTakenId(String actionTakenId); |
39 | |
|
40 | |
public Collection<ActionTakenValue> findByDocumentId(String documentId); |
41 | |
|
42 | |
public Collection<ActionTakenValue> findByDocIdAndAction(String docId, String action); |
43 | |
|
44 | |
public List<ActionTakenValue> findByDocumentIdWorkflowId(String documentId, String workflowId); |
45 | |
|
46 | |
public List findByDocumentIdIgnoreCurrentInd(String documentId); |
47 | |
|
48 | |
public void deleteByDocumentId(String documentId); |
49 | |
|
50 | |
public boolean hasUserTakenAction(String workflowId, String documentId); |
51 | |
|
52 | |
} |