Interface ProcessDataAccess
- All Known Implementing Classes:
ProcessDataAccessImpl
public interface ProcessDataAccess
Process Data Access Interface offers services
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToWorkflowList
(ProcessWorkflow processWorkflow) Add process to Workflow
Only use on application starting to load persisted workflow (state are PAUSED or FAILED only)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 needfindOneProcessWorkflow
(String processId, Integer tenantId) Gets Process Workflow by IDgetter of WorkflowListinitProcessWorkflow
(WorkFlow workflow, String containerName) Allows a process to be initialized
-
Method Details
-
initProcessWorkflow
Allows a process to be initialized- Parameters:
workflow
- the workflow to initcontainerName
- : null not allowed , the name of the container to be processed- Returns:
LogbookTypeProcess
-
findOneProcessWorkflow
ProcessWorkflow findOneProcessWorkflow(String processId, Integer tenantId) throws WorkflowNotFoundException Gets Process Workflow by ID- Parameters:
processId
- the process idtenantId
- the working tenant- Returns:
ProcessWorkflow
- Throws:
WorkflowNotFoundException
- thrown when process workflow not found
-
findAllProcessWorkflow
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- Parameters:
tenantId
- the working tenant- Returns:
- All the workflow process details
-
addToWorkflowList
Add process to Workflow
Only use on application starting to load persisted workflow (state are PAUSED or FAILED only)- Parameters:
processWorkflow
- the loaded persisted process to add
-
getWorkFlowList
Map<Integer,Map<String, getWorkFlowList()ProcessWorkflow>> getter of WorkflowList- Returns:
-