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