Interface ActionListService
public interface ActionListService
-
Method Summary
Modifier and TypeMethodDescriptiongetActionItems(String documentId, List<String> actionRequestedCodes) Returns a list ofActionItems for aDocumentthat match one of the passed in actionRequestCodesgetActionItemsForPrincipal(String principalId) Returns a list ofActionItems for a Principal in the systemgetAllActionItems(String documentId) Returns a list of allActionItems for aDocumentgetUserActionItemCount(String principalId) Gets the number of ActionItems for a given principal
-
Method Details
-
getUserActionItemCount
Gets the number of ActionItems for a given principal- Parameters:
principalId- unique Id for a principal in the system- Returns:
- a count of ActionItems for a given principal
- Throws:
RiceIllegalArgumentException- ifprincipalIdis null
-
getAllActionItems
Returns a list of allActionItems for aDocument- Parameters:
documentId- unique id of the document to get the ActionItems for- Returns:
- list of ActionItems for a document
- Throws:
RiceIllegalArgumentException- ifdocumentIdis null
-
getActionItems
List<ActionItem> getActionItems(String documentId, List<String> actionRequestedCodes) throws RiceIllegalArgumentException Returns a list ofActionItems for aDocumentthat match one of the passed in actionRequestCodes- Parameters:
documentId- unique id of the document to get the ActionItems foractionRequestedCodes- list of action request codes to match with the ActionItems- Returns:
- list of ActionItems for a document with a given action request code
- Throws:
RiceIllegalArgumentException- ifdocumentIdis null
-
getActionItemsForPrincipal
Returns a list ofActionItems for a Principal in the system- Parameters:
principalId- unique Id for a principal in the system- Returns:
- list of ActionItems for a given principal
- Throws:
RiceIllegalArgumentException- ifprincipalIdis null
-