org.kuali.rice.kew.actionlist.service.impl
Class ActionListServiceImpl

java.lang.Object
  extended by org.kuali.rice.kew.actionlist.service.impl.ActionListServiceImpl
All Implemented Interfaces:
ActionListService

public class ActionListServiceImpl
extends Object
implements ActionListService

Default implementation of the ActionListService.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
protected  org.apache.log4j.Logger LOG
           
 
Constructor Summary
ActionListServiceImpl()
           
 
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)
           
 ActionItemDAO getActionItemDAO()
           
 Collection<ActionItem> getActionList(String principalId, ActionListFilter filter)
           
 ActionListDAO getActionListDAO()
           
 Collection<ActionItem> getActionListForSingleDocument(String documentId)
           
 ActionRequestService getActionRequestService()
           
 int getCount(String principalId)
          Retrieves the number of Action List items in the given user's primary Action List (does not include secondary delegations)
 GroupService getGroupService()
           
 Collection<ActionItem> getOutbox(String principalId, ActionListFilter filter)
          This overridden method ...
 Collection<ActionItem> getOutboxItemsByDocumentType(String documentTypeName)
           
 boolean refreshActionList(String principalId)
           
 void removeOutboxItems(String principalId, List<String> outboxItems)
          This overridden method ...
 void saveActionItem(ActionItem actionItem)
           
 void saveOutboxItem(ActionItem actionItem)
           
 void saveOutboxItem(ActionItem actionItem, boolean forceIntoOutbox)
          save the ouboxitem unless the document is saved or the user already has the item in their outbox.
 void saveRefreshUserOption(String principalId)
           
 void setActionItemDAO(ActionItemDAO actionItemDAO)
           
 void setActionListDAO(ActionListDAO actionListDAO)
           
 void updateActionItemsForTitleChange(String documentId, String newTitle)
           
 void validateActionItem(ActionItem actionItem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected final org.apache.log4j.Logger LOG
Constructor Detail

ActionListServiceImpl

public ActionListServiceImpl()
Method Detail

findUserSecondaryDelegators

public Collection<Recipient> findUserSecondaryDelegators(String principalId)
Specified by:
findUserSecondaryDelegators in interface ActionListService

findUserPrimaryDelegations

public Collection<Recipient> findUserPrimaryDelegations(String principalId)
Specified by:
findUserPrimaryDelegations in interface ActionListService

getActionList

public Collection<ActionItem> getActionList(String principalId,
                                            ActionListFilter filter)
Specified by:
getActionList in interface ActionListService

getActionListForSingleDocument

public Collection<ActionItem> getActionListForSingleDocument(String documentId)
Specified by:
getActionListForSingleDocument in interface ActionListService

setActionListDAO

public void setActionListDAO(ActionListDAO actionListDAO)

getActionListDAO

public ActionListDAO getActionListDAO()

refreshActionList

public boolean refreshActionList(String principalId)
Specified by:
refreshActionList in interface ActionListService

deleteActionItem

public void deleteActionItem(ActionItem actionItem)
Specified by:
deleteActionItem in interface ActionListService

deleteActionItem

public void deleteActionItem(ActionItem actionItem,
                             boolean forceIntoOutbox)
Specified by:
deleteActionItem in interface ActionListService

deleteByDocumentId

public void deleteByDocumentId(String documentId)
Specified by:
deleteByDocumentId in interface ActionListService

findByDocumentId

public Collection<ActionItem> findByDocumentId(String documentId)
Specified by:
findByDocumentId in interface ActionListService

findByActionRequestId

public Collection<ActionItem> findByActionRequestId(String actionRequestId)
Specified by:
findByActionRequestId in interface ActionListService

findByWorkflowUserDocumentId

public Collection<ActionItem> findByWorkflowUserDocumentId(String workflowUserId,
                                                           String documentId)
Specified by:
findByWorkflowUserDocumentId in interface ActionListService

findByDocumentTypeName

public Collection<ActionItem> findByDocumentTypeName(String documentTypeName)
Specified by:
findByDocumentTypeName in interface ActionListService

createActionItemForActionRequest

public ActionItem createActionItemForActionRequest(ActionRequestValue actionRequest)
Specified by:
createActionItemForActionRequest in interface ActionListService

updateActionItemsForTitleChange

public void updateActionItemsForTitleChange(String documentId,
                                            String newTitle)
Specified by:
updateActionItemsForTitleChange in interface ActionListService

saveActionItem

public void saveActionItem(ActionItem actionItem)
Specified by:
saveActionItem in interface ActionListService

getActionItemDAO

public ActionItemDAO getActionItemDAO()

getActionRequestService

public ActionRequestService getActionRequestService()

getGroupService

public GroupService getGroupService()

setActionItemDAO

public void setActionItemDAO(ActionItemDAO actionItemDAO)

validateActionItem

public void validateActionItem(ActionItem actionItem)
Specified by:
validateActionItem in interface ActionListService

findByActionItemId

public ActionItem findByActionItemId(String actionItemId)
Specified by:
findByActionItemId in interface ActionListService

getCount

public int getCount(String principalId)
Description copied from interface: ActionListService
Retrieves the number of Action List items in the given user's primary Action List (does not include secondary delegations)

Specified by:
getCount in interface ActionListService

saveRefreshUserOption

public void saveRefreshUserOption(String principalId)
Specified by:
saveRefreshUserOption in interface ActionListService

getOutbox

public Collection<ActionItem> getOutbox(String principalId,
                                        ActionListFilter filter)
This overridden method ...

Specified by:
getOutbox in interface ActionListService
Returns:
See Also:
ActionListService.getOutbox(java.lang.String, org.kuali.rice.kew.actionlist.ActionListFilter)

getOutboxItemsByDocumentType

public Collection<ActionItem> getOutboxItemsByDocumentType(String documentTypeName)
Specified by:
getOutboxItemsByDocumentType in interface ActionListService

removeOutboxItems

public void removeOutboxItems(String principalId,
                              List<String> outboxItems)
This overridden method ...

Specified by:
removeOutboxItems in interface ActionListService
See Also:
ActionListService.removeOutboxItems(String, java.util.List)

saveOutboxItem

public void saveOutboxItem(ActionItem actionItem)
Specified by:
saveOutboxItem in interface ActionListService

saveOutboxItem

public void saveOutboxItem(ActionItem actionItem,
                           boolean forceIntoOutbox)
save the ouboxitem unless the document is saved or the user already has the item in their outbox.

Specified by:
saveOutboxItem in interface ActionListService
See Also:
ActionListService.saveOutboxItem(org.kuali.rice.kew.actionitem.ActionItem, boolean)

findByPrincipalId

public Collection<ActionItem> findByPrincipalId(String principalId)
Specified by:
findByPrincipalId in interface ActionListService


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