public interface ActionRequestService
ActionRequestValue initializeActionRequestGraph(ActionRequestValue actionRequest, DocumentRouteHeaderValue document, RouteNodeInstance nodeInstance)
void deactivateRequest(ActionTakenValue actionTaken, ActionRequestValue actionRequest)
void deactivateRequests(ActionTakenValue actionTaken, List actionRequests)
void deactivateRequest(ActionTakenValue actionTaken, ActionRequestValue actionRequest, boolean simulate)
void deactivateRequest(ActionTakenValue actionTaken, ActionRequestValue actionRequest, ActivationContext activationContext)
void deactivateRequests(ActionTakenValue actionTaken, List actionRequests, boolean simulate)
void deactivateRequests(ActionTakenValue actionTaken, List actionRequests, ActivationContext activationContext)
void deleteActionRequestGraph(ActionRequestValue actionRequest)
List findAllValidRequests(String principalId, String documentId, String requestCode)
List findAllValidRequests(String principalId, Collection actionRequests, String requestCode)
List<ActionRequestValue> findPendingByDoc(String documentId)
void saveActionRequest(ActionRequestValue actionRequest)
void activateRequest(ActionRequestValue actionRequest)
void activateRequest(ActionRequestValue actionRequest, boolean simulate)
void activateRequest(ActionRequestValue actionRequest, ActivationContext activationContext)
void activateRequests(Collection actionRequests)
void activateRequests(Collection actionRequests, boolean simulate)
void activateRequests(Collection actionRequests, ActivationContext activationContext)
List activateRequestNoNotification(ActionRequestValue actionRequest, boolean simulate)
List activateRequestNoNotification(ActionRequestValue actionRequest, ActivationContext activationContext)
ActionRequestValue findByActionRequestId(String actionRequestId)
List<ActionRequestValue> findPendingRootRequestsByDocId(String documentId)
List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteLevel(String documentId, Integer routeLevel)
List<ActionRequestValue> findPendingByDocIdAtOrBelowRouteLevel(String documentId, Integer routeLevel)
List<ActionRequestValue> findPendingRootRequestsByDocIdAtOrBelowRouteLevel(String documentId, Integer routeLevel)
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)
actionRequestedCd
- documentId
- List<ActionRequestValue> findByStatusAndDocId(String statusCd, String documentId)
void alterActionRequested(List actionRequests, String actionRequestCd)
List<ActionRequestValue> findByDocumentIdIgnoreCurrentInd(String documentId)
List findActivatedByGroup(String groupId)
void updateActionRequestsForResponsibilityChange(Set<String> responsibilityIds)
ActionRequestValue getRoot(ActionRequestValue actionRequest)
List<ActionRequestValue> getRootRequests(Collection<ActionRequestValue> actionRequests)
boolean isDuplicateRequest(ActionRequestValue actionRequest)
List<ActionRequestValue> findPendingByDocRequestCdRouteLevel(String documentId, String requestCode, Integer routeLevel)
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 actionRequests)
Recipient findDelegator(ActionRequestValue actionRequest)
ActionRequestValue findDelegatorRequest(ActionRequestValue actionRequest)
void deleteByDocumentId(String documentId)
void deleteByActionRequestId(String actionRequestId)
void validateActionRequest(ActionRequestValue actionRequest)
List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteNode(String documentId, String nodeInstanceId)
List<ActionRequestValue> findRootRequestsByDocIdAtRouteNode(String documentId, String nodeInstanceId)
List getDelegateRequests(ActionRequestValue actionRequest)
List getTopLevelRequests(ActionRequestValue actionRequest)
boolean isValidActionRequestCode(String actionRequestCode)
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.