public class WorkflowDocumentServiceImpl extends Object implements WorkflowDocumentService
Constructor and Description |
---|
WorkflowDocumentServiceImpl() |
public WorkflowDocumentServiceImpl()
public DocumentRouteHeaderValue acknowledgeDocument(String principalId, DocumentRouteHeaderValue routeHeader, String annotation) throws InvalidActionTakenException
acknowledgeDocument
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue releaseGroupAuthority(String principalId, DocumentRouteHeaderValue routeHeader, String groupId, String annotation) throws InvalidActionTakenException
releaseGroupAuthority
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue takeGroupAuthority(String principalId, DocumentRouteHeaderValue routeHeader, String groupId, String annotation) throws InvalidActionTakenException
takeGroupAuthority
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue approveDocument(String principalId, DocumentRouteHeaderValue routeHeader, String annotation) throws InvalidActionTakenException
approveDocument
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue placeInExceptionRouting(String principalId, DocumentRouteHeaderValue routeHeader, String annotation) throws InvalidActionTakenException
placeInExceptionRouting
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue adHocRouteDocumentToPrincipal(String principalId, DocumentRouteHeaderValue document, String actionRequested, String nodeName, Integer priority, String annotation, String targetPrincipalId, String responsibilityDesc, Boolean forceAction, String requestLabel) throws WorkflowException
adHocRouteDocumentToPrincipal
in interface WorkflowDocumentService
WorkflowException
public DocumentRouteHeaderValue adHocRouteDocumentToGroup(String principalId, DocumentRouteHeaderValue document, String actionRequested, String nodeName, Integer priority, String annotation, String groupId, String responsibilityDesc, Boolean forceAction, String requestLabel) throws WorkflowException
adHocRouteDocumentToGroup
in interface WorkflowDocumentService
WorkflowException
public DocumentRouteHeaderValue blanketApproval(String principalId, DocumentRouteHeaderValue routeHeader, String annotation, Integer routeLevel) throws InvalidActionTakenException
blanketApproval
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue blanketApproval(String principalId, DocumentRouteHeaderValue routeHeader, String annotation, Set nodeNames) throws InvalidActionTakenException
blanketApproval
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue cancelDocument(String principalId, DocumentRouteHeaderValue routeHeader, String annotation) throws InvalidActionTakenException
cancelDocument
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue recallDocument(String principalId, DocumentRouteHeaderValue routeHeader, String annotation, boolean cancel) throws InvalidActionTakenException
WorkflowDocumentService
recallDocument
in interface WorkflowDocumentService
InvalidActionTakenException
protected void indexForSearchAfterActionIfNecessary(DocumentRouteHeaderValue routeHeader)
routeHeader
- the route header of the document just acted uponpublic DocumentRouteHeaderValue clearFYIDocument(String principalId, DocumentRouteHeaderValue routeHeader, String annotation) throws InvalidActionTakenException
clearFYIDocument
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue completeDocument(String principalId, DocumentRouteHeaderValue routeHeader, String annotation) throws InvalidActionTakenException
completeDocument
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue createDocument(String principalId, DocumentRouteHeaderValue routeHeader) throws WorkflowException
createDocument
in interface WorkflowDocumentService
WorkflowException
public DocumentRouteHeaderValue disapproveDocument(String principalId, DocumentRouteHeaderValue routeHeader, String annotation) throws InvalidActionTakenException
disapproveDocument
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue returnDocumentToPreviousRouteLevel(String principalId, DocumentRouteHeaderValue routeHeader, Integer destRouteLevel, String annotation) throws InvalidActionTakenException
returnDocumentToPreviousRouteLevel
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue returnDocumentToPreviousNode(String principalId, DocumentRouteHeaderValue routeHeader, String destinationNodeName, String annotation) throws InvalidActionTakenException
returnDocumentToPreviousNode
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue routeDocument(String principalId, DocumentRouteHeaderValue routeHeader, String annotation) throws WorkflowException, InvalidActionTakenException
routeDocument
in interface WorkflowDocumentService
WorkflowException
InvalidActionTakenException
public DocumentRouteHeaderValue saveRoutingData(String principalId, DocumentRouteHeaderValue routeHeader)
saveRoutingData
in interface WorkflowDocumentService
public DocumentRouteHeaderValue saveDocument(String principalId, DocumentRouteHeaderValue routeHeader, String annotation) throws InvalidActionTakenException
saveDocument
in interface WorkflowDocumentService
InvalidActionTakenException
public void deleteDocument(String principalId, DocumentRouteHeaderValue routeHeader) throws WorkflowException
deleteDocument
in interface WorkflowDocumentService
WorkflowException
public void logDocumentAction(String principalId, DocumentRouteHeaderValue routeHeader, String annotation) throws InvalidActionTakenException
logDocumentAction
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue moveDocument(String principalId, DocumentRouteHeaderValue routeHeader, MovePoint movePoint, String annotation) throws InvalidActionTakenException
moveDocument
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue superUserActionRequestApproveAction(String principalId, DocumentRouteHeaderValue routeHeader, String actionRequestId, String annotation, boolean runPostProcessor) throws InvalidActionTakenException
superUserActionRequestApproveAction
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue superUserActionRequestApproveAction(String principalId, String documentId, String actionRequestId, String annotation, boolean runPostProcessor) throws InvalidActionTakenException
superUserActionRequestApproveAction
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue superUserApprove(String principalId, DocumentRouteHeaderValue routeHeader, String annotation, boolean runPostProcessor) throws InvalidActionTakenException
superUserApprove
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue superUserCancelAction(String principalId, DocumentRouteHeaderValue routeHeader, String annotation, boolean runPostProcessor) throws InvalidActionTakenException
superUserCancelAction
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue superUserDisapproveAction(String principalId, DocumentRouteHeaderValue routeHeader, String annotation, boolean runPostProcessor) throws InvalidActionTakenException
superUserDisapproveAction
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue superUserNodeApproveAction(String principalId, DocumentRouteHeaderValue routeHeader, String nodeName, String annotation, boolean runPostProcessor) throws InvalidActionTakenException
superUserNodeApproveAction
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue superUserNodeApproveAction(String principalId, String documentId, String nodeName, String annotation, boolean runPostProcessor) throws InvalidActionTakenException
superUserNodeApproveAction
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue superUserReturnDocumentToPreviousNode(String principalId, String documentId, String nodeName, String annotation, boolean runPostProcessor) throws InvalidActionTakenException
superUserReturnDocumentToPreviousNode
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue superUserReturnDocumentToPreviousNode(String principalId, DocumentRouteHeaderValue routeHeader, String nodeName, String annotation, boolean runPostProcessor) throws InvalidActionTakenException
superUserReturnDocumentToPreviousNode
in interface WorkflowDocumentService
InvalidActionTakenException
public void takeMassActions(String principalId, List<ActionInvocation> actionInvocations)
WorkflowDocumentService
takeMassActions
in interface WorkflowDocumentService
public DocumentRouteHeaderValue revokeAdHocRequests(String principalId, DocumentRouteHeaderValue document, AdHocRevoke revoke, String annotation) throws InvalidActionTakenException
revokeAdHocRequests
in interface WorkflowDocumentService
InvalidActionTakenException
public DocumentRouteHeaderValue revokeAdHocRequests(String principalId, DocumentRouteHeaderValue document, String actionRequestId, String annotation) throws InvalidActionTakenException
revokeAdHocRequests
in interface WorkflowDocumentService
InvalidActionTakenException
protected Principal loadPrincipal(String principalId)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.