public interface OperationManagementClient extends MockOrRestClient
| Modifier and Type | Method and Description |
|---|---|
ItemStatus |
cancelOperationProcessExecution(String id)
cancelOperationProcessExecution : cancel processing operation
|
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
executeOperationProcess(String operationId,
String workflow,
String contextId,
String actionId)
executeOperationProcess : execute an operation processing
|
ItemStatus |
getOperationProcessExecutionDetails(String id)
getOperationProcessExecutionDetails : get operation processing execution details
|
ItemStatus |
getOperationProcessStatus(String id)
getOperationProcessStatus:
get operation process status**
|
RequestResponse<WorkFlow> |
getWorkflowDefinitions()
Retrieve all the workflow definitions.
|
void |
initVitamProcess(String contextId,
String container,
String workflow)
initVitamProcess
|
void |
initWorkFlow(String contextId)
initWorkFlow : init workFlow Process
|
RequestResponse<ProcessDetail> |
listOperationsDetails(ProcessQuery query)
Retrieve all the workflow operations
|
RequestResponse<ItemStatus> |
updateOperationActionProcess(String actionId,
String operationId)
updateOperationActionProcess : update operation processing status
|
checkStatus, checkStatus, close, consumeAnyEntityAndClose, getResourcePath, getServiceUrlItemStatus getOperationProcessStatus(String id) throws VitamClientException, InternalServerException, BadRequestException
id - : operation identifier*VitamClientExceptionInternalServerExceptionBadRequestExceptionItemStatus getOperationProcessExecutionDetails(String id) throws VitamClientException, InternalServerException, BadRequestException
id - : operation identifierVitamClientExceptionInternalServerExceptionBadRequestExceptionItemStatus cancelOperationProcessExecution(String id) throws InternalServerException, BadRequestException, VitamClientException
id - : operation identifierVitamClientExceptionInternalServerExceptionBadRequestExceptionRequestResponse<ItemStatus> updateOperationActionProcess(String actionId, String operationId) throws InternalServerException, BadRequestException, VitamClientException
actionId - : identify the action to be executed by the workflow(next , pause,resume)operationId - : operation identifierInternalServerExceptionBadRequestExceptionVitamClientExceptionRequestResponse<com.fasterxml.jackson.databind.JsonNode> executeOperationProcess(String operationId, String workflow, String contextId, String actionId) throws InternalServerException, BadRequestException, VitamClientException, WorkflowNotFoundException
operationId - id of the operationworkflow - id of the workflowcontextId - define the execution context of workflowactionId - identify the action to be executed by the workflow(next , pause,resume)InternalServerExceptionBadRequestExceptionVitamClientExceptionWorkflowNotFoundExceptionvoid initWorkFlow(String contextId) throws VitamException
contextId - :define the execution context of workflowVitamClientExceptionVitamExceptionvoid initVitamProcess(String contextId, String container, String workflow) throws InternalServerException, VitamClientException, BadRequestException
contextId - container - workflow - InternalServerExceptionVitamClientExceptionBadRequestExceptionRequestResponse<ProcessDetail> listOperationsDetails(ProcessQuery query) throws VitamClientException
query - Query modelVitamClientExceptionRequestResponse<WorkFlow> getWorkflowDefinitions() throws VitamClientException
VitamClientExceptionCopyright © 2018 Vitam. All rights reserved.