# Uses of Class
fr.gouv.vitam.processing.common.model.ProcessWorkflow

Packages that use ProcessWorkflow
Package
Description
fr.gouv.vitam.processing.common.metrics
fr.gouv.vitam.processing.common.model
Provides common Model classes for the Processing module.
fr.gouv.vitam.processing.data.core
Provides core interface and implementation for the Processing Data module.
fr.gouv.vitam.processing.data.core.management
fr.gouv.vitam.processing.engine.core.monitoring
Provides core interface and implementation for the Processing Monitoring module.
fr.gouv.vitam.processing.management.api
Provides API classes for the Processing Management module
fr.gouv.vitam.processing.management.core
Provides core implementation for the Processing Management module.

- ## Uses of ProcessWorkflow in fr.gouv.vitam.processing.common.metrics

  Method parameters in fr.gouv.vitam.processing.common.metrics with type arguments of type ProcessWorkflow
  Modifier and Type
  Method
  Description
  `void`
  ProcessWorkflowMetricsCollector.`initialize(Map<Integer,Map<String,ProcessWorkflow>> workflowMap)`

- ## Uses of ProcessWorkflow in fr.gouv.vitam.processing.common.model

  Methods in fr.gouv.vitam.processing.common.model that return ProcessWorkflow
  Modifier and Type
  Method
  Description
  `ProcessWorkflow`
  ProcessWorkflow.`setApplicationId(String applicationId)`
  `ProcessWorkflow`
  ProcessWorkflow.`setContextId(String contextId)`
  `ProcessWorkflow`
  ProcessWorkflow.`setForcedCancellation(boolean forcedCancellation)`
  Set the forced status for the cancellation operation
  `ProcessWorkflow`
  ProcessWorkflow.`setLogbookTypeProcess(LogbookTypeProcess logbookTypeProcess)`
  `ProcessWorkflow`
  ProcessWorkflow.`setMessageIdentifier(String messageIdentifier)`
  `ProcessWorkflow`
  ProcessWorkflow.`setOperationId(String operationId)`
  `ProcessWorkflow`
  ProcessWorkflow.`setParameters(Map<String,String> parameters)`
  `ProcessWorkflow`
  ProcessWorkflow.`setPauseRecover(PauseRecover pauseRecover)`
  `ProcessWorkflow`
  ProcessWorkflow.`setProcessCompletedDate(LocalDateTime processCompletedDate)`
  `ProcessWorkflow`
  ProcessWorkflow.`setProcessDate(String processDate)`
  `ProcessWorkflow`
  ProcessWorkflow.`setProdService(String prodService)`
  `ProcessWorkflow`
  ProcessWorkflow.`setState(ProcessState state)`
  Get the state of the workflow process
  `ProcessWorkflow`
  ProcessWorkflow.`setStatus(StatusCode status)`
  set the status of the workflow
  `ProcessWorkflow`
  ProcessWorkflow.`setStepByStep(boolean stepByStep)`
  `ProcessWorkflow`
  ProcessWorkflow.`setSteps(List<ProcessStep> steps)`
  `ProcessWorkflow`
  ProcessWorkflow.`setTargetState(ProcessState targetState)`
  `ProcessWorkflow`
  ProcessWorkflow.`setTargetStatus(StatusCode targetStatus)`
  `ProcessWorkflow`
  ProcessWorkflow.`setTenantId(Integer tenantId)`
  `ProcessWorkflow`
  ProcessWorkflow.`setWorkflowId(String workflowId)`

- ## Uses of ProcessWorkflow in fr.gouv.vitam.processing.data.core

  Methods in fr.gouv.vitam.processing.data.core that return ProcessWorkflow
  Modifier and Type
  Method
  Description
  `ProcessWorkflow`
  ProcessDataAccess.`findOneProcessWorkflow(String processId, Integer tenantId)`
  Gets Process Workflow by ID
  `ProcessWorkflow`
  ProcessDataAccessImpl.`findOneProcessWorkflow(String processId, Integer tenantId)`
  `ProcessWorkflow`
  ProcessDataAccess.`initProcessWorkflow(WorkFlow workflow, String containerName)`
  Allows a process to be initialized
  `ProcessWorkflow`
  ProcessDataAccessImpl.`initProcessWorkflow(WorkFlow workflow, String containerName)`
  Methods in fr.gouv.vitam.processing.data.core that return types with arguments of type ProcessWorkflow
  Modifier and Type
  Method
  Description
  `List<ProcessWorkflow>`
  ProcessDataAccess.`findAllProcessWorkflow(Integer tenantId)`
  Retrieves All the workflow process for monitoring purpose The final business scope of this feature is likely to be redefined, to match the future need
  `List<ProcessWorkflow>`
  ProcessDataAccessImpl.`findAllProcessWorkflow(Integer tenantId)`
  `Map<Integer,Map<String,ProcessWorkflow>>`
  ProcessDataAccess.`getWorkFlowList()`
  getter of WorkflowList
  `Map<Integer,Map<String,ProcessWorkflow>>`
  ProcessDataAccessImpl.`getWorkFlowList()`
  Methods in fr.gouv.vitam.processing.data.core with parameters of type ProcessWorkflow
  Modifier and Type
  Method
  Description
  `void`
  ProcessDataAccess.`addToWorkflowList(ProcessWorkflow processWorkflow)`
  Add process to Workflow
  Only use on application starting to load persisted workflow (state are PAUSED or FAILED only)
  `void`
  ProcessDataAccessImpl.`addToWorkflowList(ProcessWorkflow processWorkflow)`

- ## Uses of ProcessWorkflow in fr.gouv.vitam.processing.data.core.management

  Methods in fr.gouv.vitam.processing.data.core.management that return ProcessWorkflow
  Modifier and Type
  Method
  Description
  `ProcessWorkflow`
  ProcessDataManagement.`getProcessWorkflow(String folderName, String asyncId)`
  Retrieve a workflow instance on process container
  `ProcessWorkflow`
  WorkspaceProcessDataManagement.`getProcessWorkflow(String folderName, String asyncId)`
  Methods in fr.gouv.vitam.processing.data.core.management that return types with arguments of type ProcessWorkflow
  Modifier and Type
  Method
  Description
  `Map<String,ProcessWorkflow>`
  ProcessDataManagement.`getProcessWorkflowFor(Integer tenantId, String folderName)`
  Get process workflow map for tenantId and folderName (server id from serverIdentity)
  `Map<String,ProcessWorkflow>`
  WorkspaceProcessDataManagement.`getProcessWorkflowFor(Integer tenantId, String folderName)`
  Methods in fr.gouv.vitam.processing.data.core.management with parameters of type ProcessWorkflow
  Modifier and Type
  Method
  Description
  `void`
  ProcessDataManagement.`persistProcessWorkflow(String folderName, ProcessWorkflow processWorkflow)`
  Put process workflow instance in workspace
  `void`
  WorkspaceProcessDataManagement.`persistProcessWorkflow(String folderName, ProcessWorkflow processWorkflow)`
  `boolean`
  ProcessDataManagement.`removeOperationContainer(ProcessWorkflow processWorkflow, WorkspaceClientFactory workspaceClientFactory)`
  `boolean`
  WorkspaceProcessDataManagement.`removeOperationContainer(ProcessWorkflow processWorkflow, WorkspaceClientFactory workspaceClientFactory)`

- ## Uses of ProcessWorkflow in fr.gouv.vitam.processing.engine.core.monitoring

  Methods in fr.gouv.vitam.processing.engine.core.monitoring that return ProcessWorkflow
  Modifier and Type
  Method
  Description
  `ProcessWorkflow`
  ProcessMonitoring.`findOneProcessWorkflow(String id, Integer tenantId)`
  Gets Process Workflow by operation Id
  `ProcessWorkflow`
  ProcessMonitoringImpl.`findOneProcessWorkflow(String operationId, Integer tenantId)`

- ## Uses of ProcessWorkflow in fr.gouv.vitam.processing.management.api

  Methods in fr.gouv.vitam.processing.management.api that return ProcessWorkflow
  Modifier and Type
  Method
  Description
  `ProcessWorkflow`
  ProcessManagement.`findOneProcessWorkflow(String operationId, Integer tenantId)`
  find the workflow process according to the operation_id and the tenant_id
  `ProcessWorkflow`
  ProcessManagement.`init(WorkerParameters workerParameters, String workflowId)`
  Init a new process workflow
  Methods in fr.gouv.vitam.processing.management.api that return types with arguments of type ProcessWorkflow
  Modifier and Type
  Method
  Description
  `List<ProcessWorkflow>`
  ProcessManagement.`findAllProcessWorkflow(Integer tenantId)`
  Retrieve All the workflow process for monitoring purpose The final business scope of this feature is likely to be redefined, to match the future need
  `Map<Integer,Map<String,ProcessWorkflow>>`
  ProcessManagement.`getWorkFlowList()`

- ## Uses of ProcessWorkflow in fr.gouv.vitam.processing.management.core

  Methods in fr.gouv.vitam.processing.management.core that return ProcessWorkflow
  Modifier and Type
  Method
  Description
  `ProcessWorkflow`
  ProcessManagementImpl.`findOneProcessWorkflow(String operationId, Integer tenantId)`
  `ProcessWorkflow`
  ProcessManagementImpl.`init(WorkerParameters workerParameters, String workflowId)`
  Methods in fr.gouv.vitam.processing.management.core that return types with arguments of type ProcessWorkflow
  Modifier and Type
  Method
  Description
  `List<ProcessWorkflow>`
  ProcessManagementImpl.`findAllProcessWorkflow(Integer tenantId)`
  `Map<Integer,Map<String,ProcessWorkflow>>`
  ProcessManagementImpl.`getWorkFlowList()`
  Methods in fr.gouv.vitam.processing.management.core with parameters of type ProcessWorkflow
  Modifier and Type
  Method
  Description
  `StateMachine`
  StateMachineFactory.`create(ProcessWorkflow processWorkflow, ProcessEngine processEngine)`
  `StateMachine`
  StateMachineFactory.`create(ProcessWorkflow processWorkflow, ProcessEngine processEngine, ProcessDataManagement dataManagement, WorkspaceClientFactory workspaceClientFactory)`
  Constructors in fr.gouv.vitam.processing.management.core with parameters of type ProcessWorkflow
  Modifier
  Constructor
  Description
  ``
  `StateMachine(ProcessWorkflow processWorkflow, ProcessEngine processEngine)`
  ``
  `StateMachine(ProcessWorkflow processWorkflow, ProcessEngine processEngine, ProcessDataManagement dataManagement, WorkspaceClientFactory workspaceClientFactory)`