public class ActionListServiceImpl extends Object implements ActionListService
ActionListService
.Modifier and Type | Field and Description |
---|---|
protected org.apache.log4j.Logger |
LOG |
Constructor and Description |
---|
ActionListServiceImpl() |
Modifier and Type | Method and Description |
---|---|
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
|
ActionItemDAO |
getActionItemDAO() |
Collection<ActionItemActionListExtension> |
getActionList(String principalId,
ActionListFilter filter) |
ActionListDAO |
getActionListDAO() |
Collection<ActionItemActionListExtension> |
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() |
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)
|
Collection<OutboxItemActionListExtension> |
getOutbox(String principalId,
ActionListFilter filter)
This overridden method ...
|
Collection<OutboxItemActionListExtension> |
getOutboxItemsByDocumentType(String documentTypeName) |
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 |
setActionItemDAO(ActionItemDAO actionItemDAO) |
void |
setActionListDAO(ActionListDAO actionListDAO) |
void |
updateActionItemsForTitleChange(String documentId,
String newTitle) |
void |
validateActionItem(ActionItem actionItem) |
protected final org.apache.log4j.Logger LOG
public ActionListServiceImpl()
public Collection<Recipient> findUserSecondaryDelegators(String principalId)
ActionListService
findUserSecondaryDelegators
in interface ActionListService
principalId
- the target principalId/delegatepublic Collection<Recipient> findUserPrimaryDelegations(String principalId)
ActionListService
findUserPrimaryDelegations
in interface ActionListService
principalId
- the source principalId to query for primary delegatespublic Collection<ActionItemActionListExtension> getActionList(String principalId, ActionListFilter filter)
getActionList
in interface ActionListService
public Collection<ActionItemActionListExtension> getActionListForSingleDocument(String documentId)
getActionListForSingleDocument
in interface ActionListService
public void setActionListDAO(ActionListDAO actionListDAO)
public ActionListDAO getActionListDAO()
public void deleteActionItem(ActionItem actionItem)
deleteActionItem
in interface ActionListService
public void deleteActionItem(ActionItem actionItem, boolean forceIntoOutbox)
deleteActionItem
in interface ActionListService
public void deleteByDocumentId(String documentId)
deleteByDocumentId
in interface ActionListService
public Collection<ActionItem> findByDocumentId(String documentId)
findByDocumentId
in interface ActionListService
public Collection<ActionItem> findByActionRequestId(String actionRequestId)
findByActionRequestId
in interface ActionListService
public Collection<ActionItem> findByWorkflowUserDocumentId(String workflowUserId, String documentId)
findByWorkflowUserDocumentId
in interface ActionListService
public Collection<ActionItem> findByDocumentTypeName(String documentTypeName)
findByDocumentTypeName
in interface ActionListService
public ActionItem createActionItemForActionRequest(ActionRequestValue actionRequest)
createActionItemForActionRequest
in interface ActionListService
public void updateActionItemsForTitleChange(String documentId, String newTitle)
updateActionItemsForTitleChange
in interface ActionListService
public void saveActionItem(ActionItem actionItem)
saveActionItem
in interface ActionListService
public ActionItemDAO getActionItemDAO()
public ActionRequestService getActionRequestService()
public GroupService getGroupService()
public void setActionItemDAO(ActionItemDAO actionItemDAO)
public void validateActionItem(ActionItem actionItem)
validateActionItem
in interface ActionListService
public ActionItem findByActionItemId(String actionItemId)
findByActionItemId
in interface ActionListService
public int getCount(String principalId)
ActionListService
getCount
in interface ActionListService
public List<Object> getMaxActionItemDateAssignedAndCountForUser(String principalId)
ActionListService
getMaxActionItemDateAssignedAndCountForUser
in interface ActionListService
public Collection<OutboxItemActionListExtension> getOutbox(String principalId, ActionListFilter filter)
getOutbox
in interface ActionListService
ActionListService.getOutbox(java.lang.String, org.kuali.rice.kew.actionlist.ActionListFilter)
public Collection<OutboxItemActionListExtension> getOutboxItemsByDocumentType(String documentTypeName)
getOutboxItemsByDocumentType
in interface ActionListService
public void removeOutboxItems(String principalId, List<String> outboxItems)
removeOutboxItems
in interface ActionListService
ActionListService.removeOutboxItems(String, java.util.List)
public void saveOutboxItem(ActionItem actionItem)
saveOutboxItem
in interface ActionListService
public void saveOutboxItem(ActionItem actionItem, boolean forceIntoOutbox)
saveOutboxItem
in interface ActionListService
ActionListService.saveOutboxItem(org.kuali.rice.kew.actionitem.ActionItem, boolean)
public Collection<ActionItem> findByPrincipalId(String principalId)
findByPrincipalId
in interface ActionListService
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.