| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
|
| 17 | |
package org.kuali.rice.kew.actionitem.dao; |
| 18 | |
|
| 19 | |
import java.util.Collection; |
| 20 | |
|
| 21 | |
import org.kuali.rice.kew.actionitem.ActionItem; |
| 22 | |
import org.kuali.rice.kew.actionrequest.Recipient; |
| 23 | |
|
| 24 | |
|
| 25 | |
|
| 26 | |
|
| 27 | |
|
| 28 | |
|
| 29 | |
|
| 30 | |
|
| 31 | |
public interface ActionItemDAO { |
| 32 | |
|
| 33 | |
public ActionItem findByActionItemId(Long actionItemId); |
| 34 | |
|
| 35 | |
public void deleteActionItem(ActionItem actionItem); |
| 36 | |
|
| 37 | |
public void deleteByRouteHeaderId(Long routeHeaderId); |
| 38 | |
|
| 39 | |
public void deleteByRouteHeaderIdWorkflowUserId(Long routeHeaderId, |
| 40 | |
String workflowUserId); |
| 41 | |
|
| 42 | |
public void saveActionItem(ActionItem actionItem); |
| 43 | |
|
| 44 | |
public Collection<ActionItem> findByPrincipalId(String principalId); |
| 45 | |
|
| 46 | |
public Collection<ActionItem> findByRouteHeaderId(Long routeHeaderId); |
| 47 | |
|
| 48 | |
public Collection<ActionItem> findByActionRequestId(Long actionRequestId); |
| 49 | |
|
| 50 | |
public Collection<ActionItem> findByWorkflowUserRouteHeaderId( |
| 51 | |
String workflowUserId, Long routeHeaderId); |
| 52 | |
|
| 53 | |
public Collection<ActionItem> findByDocumentTypeName(String documentTypeName); |
| 54 | |
|
| 55 | |
public Collection<Recipient> findSecondaryDelegators(String principalId); |
| 56 | |
|
| 57 | |
public Collection<Recipient> findPrimaryDelegationRecipients(String principalId); |
| 58 | |
|
| 59 | |
public Collection<ActionItem> getOutboxItemsByDocumentType(String documentTypeName); |
| 60 | |
} |