public interface ProcessingManagementClient extends OperationManagementClient
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
executeCheckTraceabilityWorkFlow(String checkOperationId,
com.fasterxml.jackson.databind.JsonNode query,
String workflow,
String contextId,
String actionId) |
RequestResponse<WorkFlow> |
getWorkflowDefinitions()
Retrieve all the workflow definitions.
|
void |
initVitamProcess(String contextId,
ProcessingEntry entry)
initVitamProcess woth processing entry
|
boolean |
isOperationCompleted(String operationId)
Check if process workflow is completed of not TODO Move this method to OperationManagementClient
|
void |
registerWorker(String familyId,
String workerId,
WorkerBean workerDescription)
Register a new worker knowing its family and with a WorkerBean.
|
void |
unregisterWorker(String familyId,
String workerId)
Unregister a worker knowing its family and its workerId.
|
cancelOperationProcessExecution, executeOperationProcess, getOperationProcessExecutionDetails, getOperationProcessStatus, initVitamProcess, initWorkFlow, listOperationsDetails, updateOperationActionProcesscheckStatus, checkStatus, close, consumeAnyEntityAndClose, getResourcePath, getServiceUrlboolean isOperationCompleted(String operationId)
operationId - void registerWorker(String familyId, String workerId, WorkerBean workerDescription) throws ProcessingBadRequestException, WorkerAlreadyExistsException
familyId - the id of the family to which the worker has to be registeredworkerId - the id of the worker to be registeredworkerDescription - the description of the worker as a workerBeanProcessingBadRequestException - if a bad request has been sentWorkerAlreadyExistsException - if the worker family does not existvoid unregisterWorker(String familyId, String workerId) throws ProcessingBadRequestException
familyId - the id of the family to which the worker has to be registeredworkerId - the id of the worker to be registeredProcessingBadRequestException - if the worker or the family does not existjavax.ws.rs.core.Response executeCheckTraceabilityWorkFlow(String checkOperationId, com.fasterxml.jackson.databind.JsonNode query, String workflow, String contextId, String actionId) throws InternalServerException, BadRequestException, WorkflowNotFoundException
query - workflow - contextId - actionId - InternalServerExceptionBadRequestExceptionWorkflowNotFoundExceptionRequestResponse<WorkFlow> getWorkflowDefinitions() throws VitamClientException
getWorkflowDefinitions in interface OperationManagementClientVitamClientExceptionvoid initVitamProcess(String contextId, ProcessingEntry entry) throws InternalServerException, BadRequestException
contextId - entry - InternalServerExceptionBadRequestExceptionCopyright © 2018 Vitam. All rights reserved.