|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.actionrequest.service.impl.ActionRequestServiceImpl
public class ActionRequestServiceImpl
Default implementation of the ActionRequestService
.
Constructor Summary | |
---|---|
ActionRequestServiceImpl()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionRequestServiceImpl()
Method Detail |
---|
public ActionRequestValue findByActionRequestId(String actionRequestId)
findByActionRequestId
in interface ActionRequestService
public Map<String,String> getActionsRequested(DocumentRouteHeaderValue routeHeader, String principalId, boolean completeAndApproveTheSame)
getActionsRequested
in interface ActionRequestService
protected Map<String,String> getActionsRequested(String principalId, List<ActionRequestValue> actionRequests, boolean completeAndApproveTheSame)
principalId
- actionRequests
- completeAndApproveTheSame
-
public ActionRequestValue initializeActionRequestGraph(ActionRequestValue actionRequest, DocumentRouteHeaderValue document, RouteNodeInstance nodeInstance)
initializeActionRequestGraph
in interface ActionRequestService
public void activateRequests(Collection actionRequests)
activateRequests
in interface ActionRequestService
public void activateRequests(Collection actionRequests, boolean simulate)
activateRequests
in interface ActionRequestService
public void activateRequests(Collection actionRequests, ActivationContext activationContext)
activateRequests
in interface ActionRequestService
public void activateRequest(ActionRequestValue actionRequest)
activateRequest
in interface ActionRequestService
public void activateRequest(ActionRequestValue actionRequest, boolean simulate)
activateRequest
in interface ActionRequestService
public void activateRequest(ActionRequestValue actionRequest, ActivationContext activationContext)
activateRequest
in interface ActionRequestService
public List activateRequestNoNotification(ActionRequestValue actionRequest, boolean simulate)
activateRequestNoNotification
in interface ActionRequestService
public List activateRequestNoNotification(ActionRequestValue actionRequest, ActivationContext activationContext)
activateRequestNoNotification
in interface ActionRequestService
protected boolean deactivateOnActionAlreadyTaken(ActionRequestValue actionRequestToActivate, ActivationContext activationContext)
protected boolean deactivateOnEmptyGroup(ActionRequestValue actionRequestToActivate, ActivationContext activationContext)
protected boolean deactivateOnInactiveGroup(ActionRequestValue actionRequestToActivate, ActivationContext activationContext)
public void deactivateRequest(ActionTakenValue actionTaken, ActionRequestValue actionRequest)
deactivateRequest
in interface ActionRequestService
public void deactivateRequest(ActionTakenValue actionTaken, ActionRequestValue actionRequest, boolean simulate)
deactivateRequest
in interface ActionRequestService
public void deactivateRequest(ActionTakenValue actionTaken, ActionRequestValue actionRequest, ActivationContext activationContext)
deactivateRequest
in interface ActionRequestService
public void deactivateRequests(ActionTakenValue actionTaken, List actionRequests)
deactivateRequests
in interface ActionRequestService
public void deactivateRequests(ActionTakenValue actionTaken, List actionRequests, boolean simulate)
deactivateRequests
in interface ActionRequestService
public void deactivateRequests(ActionTakenValue actionTaken, List actionRequests, ActivationContext activationContext)
deactivateRequests
in interface ActionRequestService
public List<ActionRequestValue> getRootRequests(Collection<ActionRequestValue> actionRequests)
getRootRequests
in interface ActionRequestService
public ActionRequestValue getRoot(ActionRequestValue actionRequest)
getRoot
in interface ActionRequestService
public List<ActionRequestValue> findAllPendingRequests(String documentId)
findAllPendingRequests
in interface ActionRequestService
documentId
- the id of the document header being routed
public List findAllValidRequests(String principalId, String documentId, String requestCode)
findAllValidRequests
in interface ActionRequestService
public List findAllValidRequests(String principalId, Collection actionRequests, String requestCode)
findAllValidRequests
in interface ActionRequestService
public List<ActionRequestValue> filterActionRequestsByCode(List<ActionRequestValue> actionRequests, String principalId, List<String> principalGroupIds, String requestCode)
filterActionRequestsByCode
in interface ActionRequestService
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 after
public void updateActionRequestsForResponsibilityChange(Set<String> responsibilityIds)
updateActionRequestsForResponsibilityChange
in interface ActionRequestService
public void deleteActionRequestGraph(ActionRequestValue actionRequest)
deleteActionRequestGraph
in interface ActionRequestService
public List<ActionRequestValue> findByDocumentIdIgnoreCurrentInd(String documentId)
findByDocumentIdIgnoreCurrentInd
in interface ActionRequestService
public List<ActionRequestValue> findAllActionRequestsByDocumentId(String documentId)
findAllActionRequestsByDocumentId
in interface ActionRequestService
public List<ActionRequestValue> findAllRootActionRequestsByDocumentId(String documentId)
findAllRootActionRequestsByDocumentId
in interface ActionRequestService
public List<ActionRequestValue> findPendingByActionRequestedAndDocId(String actionRequestedCd, String documentId)
findPendingByActionRequestedAndDocId
in interface ActionRequestService
public List<String> getPrincipalIdsWithPendingActionRequestByActionRequestedAndDocId(String actionRequestedCd, String documentId)
ActionRequestService
getPrincipalIdsWithPendingActionRequestByActionRequestedAndDocId
in interface ActionRequestService
ActionRequestService.getPrincipalIdsWithPendingActionRequestByActionRequestedAndDocId(java.lang.String, java.lang.String)
public List<ActionRequestValue> findPendingByDocIdAtOrBelowRouteLevel(String documentId, Integer routeLevel)
findPendingByDocIdAtOrBelowRouteLevel
in interface ActionRequestService
public List<ActionRequestValue> findPendingRootRequestsByDocId(String documentId)
findPendingRootRequestsByDocId
in interface ActionRequestService
public List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteNode(String documentId, String nodeInstanceId)
findPendingRootRequestsByDocIdAtRouteNode
in interface ActionRequestService
public List<ActionRequestValue> findRootRequestsByDocIdAtRouteNode(String documentId, String nodeInstanceId)
findRootRequestsByDocIdAtRouteNode
in interface ActionRequestService
public List<ActionRequestValue> findPendingRootRequestsByDocIdAtOrBelowRouteLevel(String documentId, Integer routeLevel)
findPendingRootRequestsByDocIdAtOrBelowRouteLevel
in interface ActionRequestService
public List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteLevel(String documentId, Integer routeLevel)
findPendingRootRequestsByDocIdAtRouteLevel
in interface ActionRequestService
public List<ActionRequestValue> findPendingRootRequestsByDocumentType(String documentTypeId)
findPendingRootRequestsByDocumentType
in interface ActionRequestService
public void saveActionRequest(ActionRequestValue actionRequest)
saveActionRequest
in interface ActionRequestService
public List<ActionRequestValue> findPendingByDoc(String documentId)
findPendingByDoc
in interface ActionRequestService
public List<ActionRequestValue> findPendingByDocRequestCdRouteLevel(String documentId, String requestCode, Integer routeLevel)
findPendingByDocRequestCdRouteLevel
in interface ActionRequestService
public List<ActionRequestValue> findPendingByDocRequestCdNodeName(String documentId, String requestCode, String nodeName)
findPendingByDocRequestCdNodeName
in interface ActionRequestService
public List findActivatedByGroup(String groupId)
findActivatedByGroup
in interface ActionRequestService
public ActionRequestDAO getActionRequestDAO()
public void setActionRequestDAO(ActionRequestDAO actionRequestDAO)
public List<ActionRequestValue> findByStatusAndDocId(String statusCd, String documentId)
findByStatusAndDocId
in interface ActionRequestService
public void alterActionRequested(List actionRequests, String actionRequestCd)
alterActionRequested
in interface ActionRequestService
public boolean isDuplicateRequest(ActionRequestValue actionRequest)
isDuplicateRequest
in interface ActionRequestService
public Recipient findDelegator(List actionRequests)
ActionRequestService
findDelegator
in interface ActionRequestService
public Recipient findDelegator(ActionRequestValue actionRequest)
ActionRequestService
findDelegator
in interface ActionRequestService
public ActionRequestValue findDelegatorRequest(ActionRequestValue actionRequest)
findDelegatorRequest
in interface ActionRequestService
public void deleteByDocumentId(String documentId)
deleteByDocumentId
in interface ActionRequestService
public void deleteByActionRequestId(String actionRequestId)
deleteByActionRequestId
in interface ActionRequestService
public void validateActionRequest(ActionRequestValue actionRequest)
validateActionRequest
in interface ActionRequestService
public List getDelegateRequests(ActionRequestValue actionRequest)
getDelegateRequests
in interface ActionRequestService
public List getTopLevelRequests(ActionRequestValue actionRequest)
ActionRequestService
getTopLevelRequests
in interface ActionRequestService
public boolean isValidActionRequestCode(String actionRequestCode)
isValidActionRequestCode
in interface ActionRequestService
public boolean doesPrincipalHaveRequest(String principalId, String documentId)
ActionRequestService
doesPrincipalHaveRequest
in interface ActionRequestService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |