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, getServiceUrl
ItemStatus getOperationProcessStatus(String id) throws VitamClientException, InternalServerException, BadRequestException
id
- : operation identifier*VitamClientException
InternalServerException
BadRequestException
ItemStatus getOperationProcessExecutionDetails(String id) throws VitamClientException, InternalServerException, BadRequestException
id
- : operation identifierVitamClientException
InternalServerException
BadRequestException
ItemStatus cancelOperationProcessExecution(String id) throws InternalServerException, BadRequestException, VitamClientException
id
- : operation identifierVitamClientException
InternalServerException
BadRequestException
RequestResponse<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 identifierInternalServerException
BadRequestException
VitamClientException
RequestResponse<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)InternalServerException
BadRequestException
VitamClientException
WorkflowNotFoundException
void initWorkFlow(String contextId) throws VitamException
contextId
- :define the execution context of workflowVitamClientException
VitamException
void initVitamProcess(String contextId, String container, String workflow) throws InternalServerException, VitamClientException, BadRequestException
contextId
- container
- workflow
- InternalServerException
VitamClientException
BadRequestException
RequestResponse<ProcessDetail> listOperationsDetails(ProcessQuery query) throws VitamClientException
query
- Query modelVitamClientException
RequestResponse<WorkFlow> getWorkflowDefinitions() throws VitamClientException
VitamClientException
Copyright © 2018 Vitam. All rights reserved.