|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 ActionRequestServicepublic 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 ActionRequestServicepublic 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 ActionRequestServicepublic List<ActionRequestValue> getRootRequests(Collection<ActionRequestValue> actionRequests)
getRootRequests in interface ActionRequestServicepublic ActionRequestValue getRoot(ActionRequestValue actionRequest)
getRoot in interface ActionRequestServicepublic List<ActionRequestValue> findAllPendingRequests(String documentId)
findAllPendingRequests in interface ActionRequestServicedocumentId - 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 ActionRequestServiceactionRequests - 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 ActionRequestServicepublic void deleteActionRequestGraph(ActionRequestValue actionRequest)
deleteActionRequestGraph in interface ActionRequestServicepublic List<ActionRequestValue> findByDocumentIdIgnoreCurrentInd(String documentId)
findByDocumentIdIgnoreCurrentInd in interface ActionRequestServicepublic List<ActionRequestValue> findAllActionRequestsByDocumentId(String documentId)
findAllActionRequestsByDocumentId in interface ActionRequestServicepublic 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 ActionRequestServiceActionRequestService.getPrincipalIdsWithPendingActionRequestByActionRequestedAndDocId(java.lang.String, java.lang.String)
public List<ActionRequestValue> findPendingByDocIdAtOrBelowRouteLevel(String documentId,
Integer routeLevel)
findPendingByDocIdAtOrBelowRouteLevel in interface ActionRequestServicepublic 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 ActionRequestServicepublic List<ActionRequestValue> findPendingRootRequestsByDocumentType(String documentTypeId)
findPendingRootRequestsByDocumentType in interface ActionRequestServicepublic void saveActionRequest(ActionRequestValue actionRequest)
saveActionRequest in interface ActionRequestServicepublic 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 ActionRequestServicepublic List findActivatedByGroup(String groupId)
findActivatedByGroup in interface ActionRequestServicepublic 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 ActionRequestServicepublic boolean isDuplicateRequest(ActionRequestValue actionRequest)
isDuplicateRequest in interface ActionRequestServicepublic Recipient findDelegator(List actionRequests)
ActionRequestService
findDelegator in interface ActionRequestServicepublic Recipient findDelegator(ActionRequestValue actionRequest)
ActionRequestService
findDelegator in interface ActionRequestServicepublic ActionRequestValue findDelegatorRequest(ActionRequestValue actionRequest)
findDelegatorRequest in interface ActionRequestServicepublic void deleteByDocumentId(String documentId)
deleteByDocumentId in interface ActionRequestServicepublic void deleteByActionRequestId(String actionRequestId)
deleteByActionRequestId in interface ActionRequestServicepublic void validateActionRequest(ActionRequestValue actionRequest)
validateActionRequest in interface ActionRequestServicepublic List getDelegateRequests(ActionRequestValue actionRequest)
getDelegateRequests in interface ActionRequestServicepublic List getTopLevelRequests(ActionRequestValue actionRequest)
ActionRequestService
getTopLevelRequests in interface ActionRequestServicepublic 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 | |||||||||