public interface ActionRequestService
These lists are what determine role and delegation behaviors in graphs of action requests. Fetching that is being done is also taking into account the 'weight' of action request codes.
ActionRequestValue initializeActionRequestGraph(ActionRequestValue actionRequest, DocumentRouteHeaderValue document, RouteNodeInstance nodeInstance)
List<ActionRequestValue> findAllValidRequests(String principalId, String documentId, String requestCode)
List<ActionRequestValue> findAllValidRequests(String principalId, List<ActionRequestValue> actionRequests, String requestCode)
List<ActionRequestValue> findPendingByDoc(String documentId)
ActionRequestValue saveActionRequest(ActionRequestValue actionRequest)
ActionRequestValue activateRequest(ActionRequestValue actionRequest)
ActionRequestValue activateRequest(ActionRequestValue actionRequest, boolean simulate)
ActionRequestValue activateRequest(ActionRequestValue actionRequest, ActivationContext activationContext)
List<ActionRequestValue> activateRequests(List<ActionRequestValue> actionRequests)
List<ActionRequestValue> activateRequests(List<ActionRequestValue> actionRequests, boolean simulate)
List<ActionRequestValue> activateRequests(List<ActionRequestValue> actionRequests, ActivationContext activationContext)
ActionRequestValue activateRequestNoNotification(ActionRequestValue actionRequest, ActivationContext activationContext)
ActionRequestValue deactivateRequest(ActionTakenValue actionTaken, ActionRequestValue actionRequest)
List<ActionRequestValue> deactivateRequests(ActionTakenValue actionTaken, List<ActionRequestValue> actionRequests)
ActionRequestValue deactivateRequest(ActionTakenValue actionTaken, ActionRequestValue actionRequest, ActivationContext activationContext)
List<ActionRequestValue> deactivateRequests(ActionTakenValue actionTaken, List<ActionRequestValue> actionRequests, boolean simulate)
List<ActionRequestValue> deactivateRequests(ActionTakenValue actionTaken, List<ActionRequestValue> actionRequests, ActivationContext activationContext)
void deleteActionRequestGraph(ActionRequestValue actionRequest)
void deleteActionRequestGraphNoOutbox(ActionRequestValue actionRequest)
ActionRequestValue findByActionRequestId(String actionRequestId)
List<ActionRequestValue> findPendingRootRequestsByDocId(String documentId)
List<ActionRequestValue> findPendingRootRequestsByDocumentType(String documentTypeId)
List<ActionRequestValue> findAllActionRequestsByDocumentId(String documentId)
List<ActionRequestValue> findAllRootActionRequestsByDocumentId(String documentId)
List<ActionRequestValue> findPendingByActionRequestedAndDocId(String actionRequestedCdCd, String documentId)
List<String> getPrincipalIdsWithPendingActionRequestByActionRequestedAndDocId(String actionRequestedCd, String documentId)
List<ActionRequestValue> findByStatusAndDocId(String statusCd, String documentId)
List<ActionRequestValue> findByDocumentIdIgnoreCurrentInd(String documentId)
List<ActionRequestValue> findActivatedByGroup(String groupId)
void updateActionRequestsForResponsibilityChange(Set<String> responsibilityIds)
ActionRequestValue getRoot(ActionRequestValue actionRequest)
List<ActionRequestValue> getRootRequests(Collection<ActionRequestValue> actionRequests)
List<ActionRequestValue> findPendingByDocRequestCdNodeName(String documentId, String requestCode, String nodeName)
List<ActionRequestValue> findAllPendingRequests(String documentId)
documentId
- the id of the document header being routedList<ActionRequestValue> filterActionRequestsByCode(List<ActionRequestValue> actionRequests, String principalId, List<String> principalGroupIds, String requestCode)
actionRequests
- the List of ActionRequestValues to filterprincipalId
- the id of the principal to find active requests forprincipalGroupIds
- List of group ids that the principal belongs torequestCode
- the request code for all ActionRequestValues to be afterRecipient findDelegator(List<ActionRequestValue> actionRequests)
ActionRequestValue findDelegatorRequest(ActionRequestValue actionRequest)
List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteNode(String documentId, String nodeInstanceId)
List<ActionRequestValue> findRootRequestsByDocIdAtRouteNode(String documentId, String nodeInstanceId)
List<ActionRequestValue> getDelegateRequests(ActionRequestValue actionRequest)
List<ActionRequestValue> getTopLevelRequests(ActionRequestValue actionRequest)
boolean doesPrincipalHaveRequest(String principalId, String documentId)
Map<String,String> getActionsRequested(DocumentRouteHeaderValue routeHeader, String principalId, boolean completeAndApproveTheSame)
ActionRequestValue getActionRequestForRole(String actionTakenId)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.