Interface ProcessDataAccess
- 
- All Known Implementing Classes:
- ProcessDataAccessImpl
 
 public interface ProcessDataAccessProcess Data Access Interface offers services
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddToWorkflowList(ProcessWorkflow processWorkflow)Add process to Workflow
 Only use on application starting to load persisted workflow (state are PAUSED or FAILED only)java.util.List<ProcessWorkflow>findAllProcessWorkflow(java.lang.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 needProcessWorkflowfindOneProcessWorkflow(java.lang.String processId, java.lang.Integer tenantId)Gets Process Workflow by IDjava.util.Map<java.lang.Integer,java.util.Map<java.lang.String,ProcessWorkflow>>getWorkFlowList()getter of WorkflowListProcessWorkflowinitProcessWorkflow(WorkFlow workflow, java.lang.String containerName)Allows a process to be initialized
 
- 
- 
- 
Method Detail- 
initProcessWorkflowProcessWorkflow initProcessWorkflow(WorkFlow workflow, java.lang.String containerName) Allows a process to be initialized- Parameters:
- workflow- the workflow to init
- containerName- : null not allowed , the name of the container to be processed
- Returns:
- LogbookTypeProcess
 
 - 
findOneProcessWorkflowProcessWorkflow findOneProcessWorkflow(java.lang.String processId, java.lang.Integer tenantId) throws WorkflowNotFoundException Gets Process Workflow by ID- Parameters:
- processId- the process id
- tenantId- the working tenant
- Returns:
- ProcessWorkflow
- Throws:
- WorkflowNotFoundException- thrown when process workflow not found
 
 - 
findAllProcessWorkflowjava.util.List<ProcessWorkflow> findAllProcessWorkflow(java.lang.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- Parameters:
- tenantId- the working tenant
- Returns:
- All the workflow process details
 
 - 
addToWorkflowListvoid addToWorkflowList(ProcessWorkflow processWorkflow) 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
 
 - 
getWorkFlowListjava.util.Map<java.lang.Integer,java.util.Map<java.lang.String,ProcessWorkflow>> getWorkFlowList() getter of WorkflowList- Returns:
 
 
- 
 
-