org.kuali.rice.kew.actionlist.service
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
 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)
           
 Collection<Recipient> findUserSecondaryDelegators(String 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)
 Collection<ActionItem> getOutbox(String principalId, ActionListFilter filter)
          Retrieves OutboxItemActionListExtension items for the given user
 Collection<ActionItem> getOutboxItemsByDocumentType(String documentTypeName)
           
 boolean refreshActionList(String principalId)
           
 void removeOutboxItems(String principalId, List<String> outboxItems)
           
 void saveActionItem(ActionItem actionItem)
           
 void saveOutboxItem(ActionItem actionItem)
           
 void saveOutboxItem(ActionItem actionItem, boolean forceIntoOutbox)
           
 void saveRefreshUserOption(String principalId)
           
 void updateActionItemsForTitleChange(String documentId, String newTitle)
           
 void validateActionItem(ActionItem actionItem)
           
 

Method Detail

createActionItemForActionRequest

ActionItem createActionItemForActionRequest(ActionRequestValue actionRequest)

getActionList

Collection<ActionItem> getActionList(String principalId,
                                     ActionListFilter filter)

getActionListForSingleDocument

Collection<ActionItem> getActionListForSingleDocument(String documentId)

findUserSecondaryDelegators

Collection<Recipient> findUserSecondaryDelegators(String principalId)

findUserPrimaryDelegations

Collection<Recipient> findUserPrimaryDelegations(String principalId)

refreshActionList

boolean refreshActionList(String principalId)

saveActionItem

void saveActionItem(ActionItem actionItem)

deleteActionItem

void deleteActionItem(ActionItem actionItem)

deleteActionItem

void deleteActionItem(ActionItem actionItem,
                      boolean forceIntoOutbox)

deleteByDocumentId

void deleteByDocumentId(String documentId)

findByPrincipalId

Collection<ActionItem> findByPrincipalId(String principalId)

findByWorkflowUserDocumentId

Collection<ActionItem> findByWorkflowUserDocumentId(String workflowUserId,
                                                    String documentId)

findByDocumentId

Collection<ActionItem> findByDocumentId(String documentId)

findByDocumentTypeName

Collection<ActionItem> findByDocumentTypeName(String documentTypeName)

updateActionItemsForTitleChange

void updateActionItemsForTitleChange(String documentId,
                                     String newTitle)

validateActionItem

void validateActionItem(ActionItem actionItem)

findByActionItemId

ActionItem findByActionItemId(String actionItemId)

getCount

int getCount(String principalId)
Retrieves the number of Action List items in the given user's primary Action List (does not include secondary delegations)


saveRefreshUserOption

void saveRefreshUserOption(String principalId)

findByActionRequestId

Collection<ActionItem> findByActionRequestId(String actionRequestId)

getOutbox

Collection<ActionItem> getOutbox(String principalId,
                                 ActionListFilter filter)
Retrieves OutboxItemActionListExtension items for the given user

Parameters:
principalId -
filter -
Returns:

getOutboxItemsByDocumentType

Collection<ActionItem> getOutboxItemsByDocumentType(String documentTypeName)

removeOutboxItems

void removeOutboxItems(String principalId,
                       List<String> outboxItems)

saveOutboxItem

void saveOutboxItem(ActionItem actionItem)

saveOutboxItem

void saveOutboxItem(ActionItem actionItem,
                    boolean forceIntoOutbox)


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.