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)
 List<Integer> getMaxActionItemIdAndCountForUser(String principalId)
          Retrieves the max action item Id and the total number of action items for the given user's primary Action List (Including secondary and primary delegations)
 Collection<ActionItem> getOutbox(String principalId, ActionListFilter filter)
          Retrieves OutboxItemActionListExtension items for the given user
 Collection<ActionItem> getOutboxItemsByDocumentType(String documentTypeName)
           
 void removeOutboxItems(String principalId, List<String> outboxItems)
           
 void saveActionItem(ActionItem actionItem)
           
 void saveOutboxItem(ActionItem actionItem)
           
 void saveOutboxItem(ActionItem actionItem, boolean forceIntoOutbox)
           
 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)

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)


getMaxActionItemIdAndCountForUser

List<Integer> getMaxActionItemIdAndCountForUser(String principalId)
Retrieves the max action item Id and the total number of action items for the given user's primary Action List (Including secondary and primary delegations)

Parameters:
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-2012 The Kuali Foundation. All Rights Reserved.