public interface ActionListService
Modifier and Type | Method and Description |
---|---|
ActionItem |
createActionItemForActionRequest(ActionRequestValue actionRequest) |
void |
deleteActionItem(ActionItem actionItem) |
void |
deleteActionItem(ActionItem actionItem,
boolean forceIntoOutbox) |
void |
deleteActionItemNoOutbox(ActionItem actionItem) |
void |
deleteByDocumentId(String documentId) |
ActionItem |
findByActionItemId(String actionItemId) |
Collection<ActionItem> |
findByActionRequestId(String actionRequestId) |
Collection<ActionItem> |
findByDocumentId(String documentId) |
Collection<ActionItem> |
findByDocumentTypeName(String documentTypeName) |
Collection<ActionItem> |
findByPrincipalId(String principalId) |
Collection<ActionItem> |
findByWorkflowUserDocumentId(String workflowUserId,
String documentId) |
Collection<Recipient> |
findUserPrimaryDelegations(String principalId)
Retruns a list of recipients which are primary-delegated to by the source principalId
|
Collection<Recipient> |
findUserSecondaryDelegators(String principalId)
Returns a list of recipients which secondary-delegate to the target principalId
|
Collection<ActionItem> |
getActionList(String principalId,
ActionListFilter filter) |
Collection<ActionItem> |
getActionListForSingleDocument(String documentId) |
int |
getCount(String principalId)
Retrieves the number of Action List items in the given user's primary Action List (does not include secondary delegations)
|
List<Object> |
getMaxActionItemDateAssignedAndCountForUser(String principalId)
Retrieves the max action item Id and the total number of action items for the given user's primary Action List
(does not include secondary delegations)
|
DocumentRouteHeaderValue |
getMinimalRouteHeader(String documentId)
Pulls a proxied version of the document route header with only the properties needed by the
action list display.
|
Collection<OutboxItem> |
getOutbox(String principalId,
ActionListFilter filter)
Retrieves
OutboxItem items for the given user |
Collection<OutboxItem> |
getOutboxItemsByDocumentType(String documentTypeName) |
void |
removeOutboxItems(String principalId,
List<String> outboxItems) |
ActionItem |
saveActionItem(ActionItem actionItem) |
OutboxItem |
saveOutboxItem(ActionItem actionItem) |
OutboxItem |
saveOutboxItem(ActionItem actionItem,
boolean forceIntoOutbox) |
OutboxItem |
saveOutboxItem(OutboxItem outboxItem) |
void |
updateActionItemsForTitleChange(String documentId,
String newTitle) |
ActionItem createActionItemForActionRequest(ActionRequestValue actionRequest)
Collection<ActionItem> getActionList(String principalId, ActionListFilter filter)
Collection<ActionItem> getActionListForSingleDocument(String documentId)
Collection<Recipient> findUserSecondaryDelegators(String principalId)
principalId
- the target principalId/delegateCollection<Recipient> findUserPrimaryDelegations(String principalId)
principalId
- the source principalId to query for primary delegatesActionItem saveActionItem(ActionItem actionItem)
void deleteActionItemNoOutbox(ActionItem actionItem)
void deleteActionItem(ActionItem actionItem)
void deleteActionItem(ActionItem actionItem, boolean forceIntoOutbox)
void deleteByDocumentId(String documentId)
Collection<ActionItem> findByPrincipalId(String principalId)
Collection<ActionItem> findByWorkflowUserDocumentId(String workflowUserId, String documentId)
Collection<ActionItem> findByDocumentId(String documentId)
Collection<ActionItem> findByDocumentTypeName(String documentTypeName)
void updateActionItemsForTitleChange(String documentId, String newTitle)
ActionItem findByActionItemId(String actionItemId)
int getCount(String principalId)
List<Object> getMaxActionItemDateAssignedAndCountForUser(String principalId)
principalId
- Collection<ActionItem> findByActionRequestId(String actionRequestId)
Collection<OutboxItem> getOutbox(String principalId, ActionListFilter filter)
OutboxItem
items for the given userprincipalId
- filter
- Collection<OutboxItem> getOutboxItemsByDocumentType(String documentTypeName)
void removeOutboxItems(String principalId, List<String> outboxItems)
OutboxItem saveOutboxItem(ActionItem actionItem)
OutboxItem saveOutboxItem(ActionItem actionItem, boolean forceIntoOutbox)
OutboxItem saveOutboxItem(OutboxItem outboxItem)
DocumentRouteHeaderValue getMinimalRouteHeader(String documentId)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.