org.jbpm.console.ng.bd.backend.server
Class DataServiceEntryPointImpl
java.lang.Object
org.jbpm.console.ng.bd.backend.server.DataServiceEntryPointImpl
- All Implemented Interfaces:
- DataServiceEntryPoint
@ApplicationScoped
public class DataServiceEntryPointImpl
- extends Object
- implements DataServiceEntryPoint
This Service combines the Data and BPMN2 services.
The responsibility of this service is to allow us to query all the data that is generated by the assets and the runtimes that
we are using
Method Summary |
Collection<RuntimeLogSummary> |
getAllRuntimeLogs(long processInstanceId)
|
Collection<org.jbpm.console.ng.ht.model.TaskDefSummary> |
getAllTasksDef(String deploymentId,
String processId)
|
Map<String,Collection<String>> |
getAssociatedEntities(String deploymentId,
String processId)
|
Collection<RuntimeLogSummary> |
getBusinessLogs(long processInstanceId)
|
ProcessSummary |
getProcessById(String deploymentId,
String processId)
|
ProcessSummary |
getProcessDesc(String deploymentId,
String processId)
|
Collection<ProcessSummary> |
getProcessesByFilter(String filter)
|
Collection<NodeInstanceSummary> |
getProcessInstanceActiveNodes(long processInstanceId)
|
ProcessInstanceSummary |
getProcessInstanceById(long processInstanceId)
|
Collection<NodeInstanceSummary> |
getProcessInstanceCompletedNodes(long processInstanceId)
|
Collection<NodeInstanceSummary> |
getProcessInstanceFullHistory(long processInstanceId)
|
Collection<NodeInstanceSummary> |
getProcessInstanceHistory(long processInstanceId)
|
Collection<NodeInstanceSummary> |
getProcessInstanceHistory(long processInstanceId,
boolean completed)
|
Collection<ProcessInstanceSummary> |
getProcessInstances()
|
Collection<ProcessInstanceSummary> |
getProcessInstances(List<Integer> states,
String filterText,
String initiator)
|
Collection<ProcessInstanceSummary> |
getProcessInstancesByDeploymentId(String deploymentId,
List<Integer> states)
|
Collection<ProcessInstanceSummary> |
getProcessInstancesByProcessDefinition(String processDefId)
|
Map<String,String> |
getRequiredInputData(String deploymentId,
String processId)
|
Collection<String> |
getReusableSubProcesses(String deploymentId,
String processId)
|
Map<String,String> |
getServiceTasks(String deploymentId,
String processId)
|
Map<String,String> |
getTaskInputMappings(String deploymentId,
String processId,
String taskName)
|
Map<String,String> |
getTaskOutputMappings(String deploymentId,
String processId,
String taskName)
|
Collection<ProcessVariableSummary> |
getVariableHistory(long processInstanceId,
String variableId)
|
Collection<ProcessVariableSummary> |
getVariablesCurrentState(long processInstanceId,
String processId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataServiceEntryPointImpl
public DataServiceEntryPointImpl()
getServiceTasks
public Map<String,String> getServiceTasks(String deploymentId,
String processId)
- Specified by:
getServiceTasks
in interface DataServiceEntryPoint
getProcessInstances
public Collection<ProcessInstanceSummary> getProcessInstances()
- Specified by:
getProcessInstances
in interface DataServiceEntryPoint
getProcessInstancesByDeploymentId
public Collection<ProcessInstanceSummary> getProcessInstancesByDeploymentId(String deploymentId,
List<Integer> states)
- Specified by:
getProcessInstancesByDeploymentId
in interface DataServiceEntryPoint
getProcessesByFilter
public Collection<ProcessSummary> getProcessesByFilter(String filter)
- Specified by:
getProcessesByFilter
in interface DataServiceEntryPoint
getProcessInstanceById
public ProcessInstanceSummary getProcessInstanceById(long processInstanceId)
- Specified by:
getProcessInstanceById
in interface DataServiceEntryPoint
getProcessById
public ProcessSummary getProcessById(String deploymentId,
String processId)
- Specified by:
getProcessById
in interface DataServiceEntryPoint
getProcessInstancesByProcessDefinition
public Collection<ProcessInstanceSummary> getProcessInstancesByProcessDefinition(String processDefId)
- Specified by:
getProcessInstancesByProcessDefinition
in interface DataServiceEntryPoint
getProcessInstanceHistory
public Collection<NodeInstanceSummary> getProcessInstanceHistory(long processInstanceId)
- Specified by:
getProcessInstanceHistory
in interface DataServiceEntryPoint
getProcessInstanceHistory
public Collection<NodeInstanceSummary> getProcessInstanceHistory(long processInstanceId,
boolean completed)
- Specified by:
getProcessInstanceHistory
in interface DataServiceEntryPoint
getProcessInstanceFullHistory
public Collection<NodeInstanceSummary> getProcessInstanceFullHistory(long processInstanceId)
- Specified by:
getProcessInstanceFullHistory
in interface DataServiceEntryPoint
getProcessInstanceActiveNodes
public Collection<NodeInstanceSummary> getProcessInstanceActiveNodes(long processInstanceId)
- Specified by:
getProcessInstanceActiveNodes
in interface DataServiceEntryPoint
getProcessInstances
public Collection<ProcessInstanceSummary> getProcessInstances(List<Integer> states,
String filterText,
String initiator)
- Specified by:
getProcessInstances
in interface DataServiceEntryPoint
getProcessInstanceCompletedNodes
public Collection<NodeInstanceSummary> getProcessInstanceCompletedNodes(long processInstanceId)
- Specified by:
getProcessInstanceCompletedNodes
in interface DataServiceEntryPoint
getVariableHistory
public Collection<ProcessVariableSummary> getVariableHistory(long processInstanceId,
String variableId)
- Specified by:
getVariableHistory
in interface DataServiceEntryPoint
getReusableSubProcesses
public Collection<String> getReusableSubProcesses(String deploymentId,
String processId)
- Specified by:
getReusableSubProcesses
in interface DataServiceEntryPoint
getRequiredInputData
public Map<String,String> getRequiredInputData(String deploymentId,
String processId)
- Specified by:
getRequiredInputData
in interface DataServiceEntryPoint
getAllTasksDef
public Collection<org.jbpm.console.ng.ht.model.TaskDefSummary> getAllTasksDef(String deploymentId,
String processId)
- Specified by:
getAllTasksDef
in interface DataServiceEntryPoint
getAssociatedEntities
public Map<String,Collection<String>> getAssociatedEntities(String deploymentId,
String processId)
- Specified by:
getAssociatedEntities
in interface DataServiceEntryPoint
getProcessDesc
public ProcessSummary getProcessDesc(String deploymentId,
String processId)
- Specified by:
getProcessDesc
in interface DataServiceEntryPoint
getVariablesCurrentState
public Collection<ProcessVariableSummary> getVariablesCurrentState(long processInstanceId,
String processId)
- Specified by:
getVariablesCurrentState
in interface DataServiceEntryPoint
getTaskInputMappings
public Map<String,String> getTaskInputMappings(String deploymentId,
String processId,
String taskName)
- Specified by:
getTaskInputMappings
in interface DataServiceEntryPoint
getTaskOutputMappings
public Map<String,String> getTaskOutputMappings(String deploymentId,
String processId,
String taskName)
- Specified by:
getTaskOutputMappings
in interface DataServiceEntryPoint
getBusinessLogs
public Collection<RuntimeLogSummary> getBusinessLogs(long processInstanceId)
- Specified by:
getBusinessLogs
in interface DataServiceEntryPoint
getAllRuntimeLogs
public Collection<RuntimeLogSummary> getAllRuntimeLogs(long processInstanceId)
- Specified by:
getAllRuntimeLogs
in interface DataServiceEntryPoint
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.