org.droolsjbpm.services.impl
Class RuntimeDataServiceImpl
java.lang.Object
org.droolsjbpm.services.impl.RuntimeDataServiceImpl
- All Implemented Interfaces:
- RuntimeDataService, RuntimeFinder
@ApplicationScoped
public class RuntimeDataServiceImpl
- extends Object
- implements RuntimeDataService, RuntimeFinder
|
Method Summary |
String |
findName(long id)
|
ProcessDesc |
getProcessById(String processId)
|
Collection<ProcessDesc> |
getProcesses()
|
Collection<ProcessDesc> |
getProcessesByDomainName(String domainName)
|
Collection<ProcessDesc> |
getProcessesByFilter(String filter)
|
Collection<NodeInstanceDesc> |
getProcessInstanceActiveNodes(String domainId,
long processId)
|
ProcessInstanceDesc |
getProcessInstanceById(long processId)
|
Collection<NodeInstanceDesc> |
getProcessInstanceCompletedNodes(String domainId,
long processId)
|
Collection<NodeInstanceDesc> |
getProcessInstanceFullHistory(String domainId,
long processId)
|
Collection<NodeInstanceDesc> |
getProcessInstanceHistory(String domainId,
long processId)
|
Collection<NodeInstanceDesc> |
getProcessInstanceHistory(String domainId,
long processId,
boolean completed)
|
Collection<ProcessInstanceDesc> |
getProcessInstances()
|
Collection<ProcessInstanceDesc> |
getProcessInstances(List<Integer> states,
String initiator)
|
Collection<ProcessInstanceDesc> |
getProcessInstancesByDomainId(String domainId)
|
Collection<ProcessInstanceDesc> |
getProcessInstancesByProcessDefinition(String processDefId)
|
Collection<ProcessInstanceDesc> |
getProcessInstancesByProcessId(List<Integer> states,
String processId,
String initiator)
|
Collection<ProcessInstanceDesc> |
getProcessInstancesByProcessName(List<Integer> states,
String processName,
String initiator)
|
Collection<VariableStateDesc> |
getVariableHistory(long processInstanceId,
String variableId)
|
Collection<VariableStateDesc> |
getVariablesCurrentState(long processInstanceId)
|
void |
setPm(JbpmServicesPersistenceManager pm)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuntimeDataServiceImpl
public RuntimeDataServiceImpl()
setPm
public void setPm(JbpmServicesPersistenceManager pm)
getProcessesByDomainName
public Collection<ProcessDesc> getProcessesByDomainName(String domainName)
- Specified by:
getProcessesByDomainName in interface RuntimeDataService
getProcessesByFilter
public Collection<ProcessDesc> getProcessesByFilter(String filter)
- Specified by:
getProcessesByFilter in interface RuntimeDataService
getProcessById
public ProcessDesc getProcessById(String processId)
- Specified by:
getProcessById in interface RuntimeDataService
getProcesses
public Collection<ProcessDesc> getProcesses()
- Specified by:
getProcesses in interface RuntimeDataService
getProcessInstances
public Collection<ProcessInstanceDesc> getProcessInstances()
- Specified by:
getProcessInstances in interface RuntimeDataService
getProcessInstances
public Collection<ProcessInstanceDesc> getProcessInstances(List<Integer> states,
String initiator)
- Specified by:
getProcessInstances in interface RuntimeDataService
getProcessInstancesByDomainId
public Collection<ProcessInstanceDesc> getProcessInstancesByDomainId(String domainId)
- Specified by:
getProcessInstancesByDomainId in interface RuntimeDataService
getProcessInstancesByProcessDefinition
public Collection<ProcessInstanceDesc> getProcessInstancesByProcessDefinition(String processDefId)
- Specified by:
getProcessInstancesByProcessDefinition in interface RuntimeDataService
getProcessInstanceById
public ProcessInstanceDesc getProcessInstanceById(long processId)
- Specified by:
getProcessInstanceById in interface RuntimeDataService
getProcessInstancesByProcessId
public Collection<ProcessInstanceDesc> getProcessInstancesByProcessId(List<Integer> states,
String processId,
String initiator)
- Specified by:
getProcessInstancesByProcessId in interface RuntimeDataService
getProcessInstancesByProcessName
public Collection<ProcessInstanceDesc> getProcessInstancesByProcessName(List<Integer> states,
String processName,
String initiator)
- Specified by:
getProcessInstancesByProcessName in interface RuntimeDataService
getProcessInstanceHistory
public Collection<NodeInstanceDesc> getProcessInstanceHistory(String domainId,
long processId)
- Specified by:
getProcessInstanceHistory in interface RuntimeDataService
getProcessInstanceHistory
public Collection<NodeInstanceDesc> getProcessInstanceHistory(String domainId,
long processId,
boolean completed)
- Specified by:
getProcessInstanceHistory in interface RuntimeDataService
getProcessInstanceFullHistory
public Collection<NodeInstanceDesc> getProcessInstanceFullHistory(String domainId,
long processId)
- Specified by:
getProcessInstanceFullHistory in interface RuntimeDataService
getProcessInstanceActiveNodes
public Collection<NodeInstanceDesc> getProcessInstanceActiveNodes(String domainId,
long processId)
- Specified by:
getProcessInstanceActiveNodes in interface RuntimeDataService
getProcessInstanceCompletedNodes
public Collection<NodeInstanceDesc> getProcessInstanceCompletedNodes(String domainId,
long processId)
- Specified by:
getProcessInstanceCompletedNodes in interface RuntimeDataService
getVariablesCurrentState
public Collection<VariableStateDesc> getVariablesCurrentState(long processInstanceId)
- Specified by:
getVariablesCurrentState in interface RuntimeDataService
getVariableHistory
public Collection<VariableStateDesc> getVariableHistory(long processInstanceId,
String variableId)
- Specified by:
getVariableHistory in interface RuntimeDataService
findName
public String findName(long id)
- Specified by:
findName in interface RuntimeFinder
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.