org.kuali.rice.kew.impl.actionlist
Class ActionListServiceNewImpl

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

public class ActionListServiceNewImpl
extends Object
implements ActionListService

Reference implementation of the ActionListService api.

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

Constructor Summary
ActionListServiceNewImpl()
           
 
Method Summary
 List<ActionItem> getActionItems(String documentId, List<String> actionRequestedCodes)
          Returns a list of ActionItems for a Document that match one of the passed in actionRequestCodes
 List<ActionItem> getActionItemsForPrincipal(String principalId)
          Returns a list of ActionItems for a Principal in the system
 List<ActionItem> getAllActionItems(String documentId)
          Returns a list of all ActionItems for a Document
 Integer getUserActionItemCount(String principalId)
          Gets the number of ActionItems for a given principal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionListServiceNewImpl

public ActionListServiceNewImpl()
Method Detail

getUserActionItemCount

public Integer getUserActionItemCount(String principalId)
Description copied from interface: ActionListService
Gets the number of ActionItems for a given principal

Specified by:
getUserActionItemCount in interface ActionListService
Parameters:
principalId - unique Id for a principal in the system
Returns:
a count of ActionItems for a given principal

getActionItemsForPrincipal

public List<ActionItem> getActionItemsForPrincipal(String principalId)
Description copied from interface: ActionListService
Returns a list of ActionItems for a Principal in the system

Specified by:
getActionItemsForPrincipal in interface ActionListService
Parameters:
principalId - unique Id for a principal in the system
Returns:
list of ActionItems for a given principal

getAllActionItems

public List<ActionItem> getAllActionItems(String documentId)
Description copied from interface: ActionListService
Returns a list of all ActionItems for a Document

Specified by:
getAllActionItems in interface ActionListService
Parameters:
documentId - unique id of the document to get the ActionItems for
Returns:
list of ActionItems for a document

getActionItems

public List<ActionItem> getActionItems(String documentId,
                                       List<String> actionRequestedCodes)
Description copied from interface: ActionListService
Returns a list of ActionItems for a Document that match one of the passed in actionRequestCodes

Specified by:
getActionItems in interface ActionListService
Parameters:
documentId - unique id of the document to get the ActionItems for
actionRequestedCodes - list of action request codes to match with the ActionItems
Returns:
list of ActionItems for a document with a given action request code


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