|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionListService
Main service for doing action list data access work
Method Summary | |
---|---|
ActionItem |
createActionItemForActionRequest(ActionRequestValue actionRequest)
|
void |
deleteActionItem(ActionItem actionItem)
|
void |
deleteActionItem(ActionItem actionItem,
boolean forceIntoOutbox)
|
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)
|
void |
saveOutboxItem(ActionItem actionItem)
|
void |
saveOutboxItem(ActionItem actionItem,
boolean forceIntoOutbox)
|
void |
updateActionItemsForTitleChange(String documentId,
String newTitle)
|
Method Detail |
---|
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/delegate
Collection<Recipient> findUserPrimaryDelegations(String principalId)
principalId
- the source principalId to query for primary delegates
ActionItem saveActionItem(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 user
principalId
- filter
-
Collection<OutboxItem> getOutboxItemsByDocumentType(String documentTypeName)
void removeOutboxItems(String principalId, List<String> outboxItems)
void saveOutboxItem(ActionItem actionItem)
void saveOutboxItem(ActionItem actionItem, boolean forceIntoOutbox)
DocumentRouteHeaderValue getMinimalRouteHeader(String documentId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |