Interface ActionListService
- All Known Implementing Classes:
ActionListServiceImpl
public interface ActionListService
Main service for doing action list data access work
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptioncreateActionItemForActionRequest(ActionRequestValue actionRequest) voiddeleteActionItem(ActionItem actionItem) voiddeleteActionItem(ActionItem actionItem, boolean forceIntoOutbox) voiddeleteActionItemNoOutbox(ActionItem actionItem) voiddeleteByDocumentId(String documentId) findByActionItemId(String actionItemId) findByActionRequestId(String actionRequestId) findByDocumentId(String documentId) findByDocumentTypeName(String documentTypeName) findByPrincipalId(String principalId) findByWorkflowUserDocumentId(String workflowUserId, String documentId) findUserPrimaryDelegations(String principalId) Retruns a list of recipients which are primary-delegated to by the source principalIdfindUserSecondaryDelegators(String principalId) Returns a list of recipients which secondary-delegate to the target principalIdgetActionList(String principalId, ActionListFilter filter) getActionListForSingleDocument(String documentId) intRetrieves the number of Action List items in the given user's primary Action List (does not include secondary delegations)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)getMinimalRouteHeader(String documentId) Pulls a proxied version of the document route header with only the properties needed by the action list display.getOutbox(String principalId, ActionListFilter filter) RetrievesOutboxItemitems for the given usergetOutboxItemsByDocumentType(String documentTypeName) voidremoveOutboxItems(String principalId, List<String> outboxItems) saveActionItem(ActionItem actionItem) saveOutboxItem(ActionItem actionItem) saveOutboxItem(ActionItem actionItem, boolean forceIntoOutbox) saveOutboxItem(OutboxItem outboxItem) voidupdateActionItemsForTitleChange(String documentId, String newTitle)
-
Method Details
-
createActionItemForActionRequest
-
getActionList
-
getActionListForSingleDocument
-
findUserSecondaryDelegators
Returns a list of recipients which secondary-delegate to the target principalId- Parameters:
principalId- the target principalId/delegate- Returns:
- a list of recipients which secondary-delegate to the target principalId
-
findUserPrimaryDelegations
Retruns a list of recipients which are primary-delegated to by the source principalId- Parameters:
principalId- the source principalId to query for primary delegates- Returns:
- a list of recipients which are primary-delegated to by the source principalId
-
saveActionItem
-
deleteActionItemNoOutbox
-
deleteActionItem
-
deleteActionItem
-
deleteByDocumentId
-
findByPrincipalId
-
findByWorkflowUserDocumentId
-
findByDocumentId
-
findByDocumentTypeName
-
updateActionItemsForTitleChange
-
findByActionItemId
-
getCount
Retrieves the number of Action List items in the given user's primary Action List (does not include secondary delegations) -
getMaxActionItemDateAssignedAndCountForUser
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)- Parameters:
principalId-
-
findByActionRequestId
-
getOutbox
RetrievesOutboxItemitems for the given user- Parameters:
principalId-filter-- Returns:
-
getOutboxItemsByDocumentType
-
removeOutboxItems
-
saveOutboxItem
-
saveOutboxItem
-
saveOutboxItem
-
getMinimalRouteHeader
Pulls a proxied version of the document route header with only the properties needed by the action list display.
-