jBPM distribution 6.0.0.Beta4

org.jbpm.kie.services.impl
Class RuntimeDataServiceImpl

java.lang.Object
  extended by org.jbpm.kie.services.impl.RuntimeDataServiceImpl
All Implemented Interfaces:
RuntimeDataService, RuntimeFinder

@ApplicationScoped
public class RuntimeDataServiceImpl
extends Object
implements RuntimeDataService, RuntimeFinder


Constructor Summary
RuntimeDataServiceImpl()
           
 
Method Summary
 String findName(long id)
           
 ProcessDesc getProcessById(String processId)
           
 Collection<ProcessDesc> getProcesses()
           
 Collection<ProcessDesc> getProcessesByDeploymentId(String deploymentId)
           
 Collection<ProcessDesc> getProcessesByFilter(String filter)
           
 Collection<NodeInstanceDesc> getProcessInstanceActiveNodes(String deploymentId, long processId)
           
 ProcessInstanceDesc getProcessInstanceById(long processId)
           
 Collection<NodeInstanceDesc> getProcessInstanceCompletedNodes(String deploymentId, long processId)
           
 Collection<NodeInstanceDesc> getProcessInstanceFullHistory(String deploymentId, long processId)
           
 Collection<NodeInstanceDesc> getProcessInstanceHistory(String deploymentId, long processId)
           
 Collection<NodeInstanceDesc> getProcessInstanceHistory(String deploymentId, long processId, boolean completed)
           
 Collection<ProcessInstanceDesc> getProcessInstances()
           
 Collection<ProcessInstanceDesc> getProcessInstances(List<Integer> states, String initiator)
           
 Collection<ProcessInstanceDesc> getProcessInstancesByDeploymentId(String deploymentId, List<Integer> states)
           
 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 indexOnDeploy(DeploymentEvent event)
           
 void removeOnUnDeploy(DeploymentEvent event)
           
 void setPm(JbpmServicesPersistenceManager pm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeDataServiceImpl

public RuntimeDataServiceImpl()
Method Detail

setPm

public void setPm(JbpmServicesPersistenceManager pm)

indexOnDeploy

public void indexOnDeploy(@Observes
                          DeploymentEvent event)

removeOnUnDeploy

public void removeOnUnDeploy(@Observes
                             DeploymentEvent event)

getProcessesByDeploymentId

public Collection<ProcessDesc> getProcessesByDeploymentId(String deploymentId)
Specified by:
getProcessesByDeploymentId 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

getProcessInstancesByDeploymentId

public Collection<ProcessInstanceDesc> getProcessInstancesByDeploymentId(String deploymentId,
                                                                         List<Integer> states)
Specified by:
getProcessInstancesByDeploymentId 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 deploymentId,
                                                              long processId)
Specified by:
getProcessInstanceHistory in interface RuntimeDataService

getProcessInstanceHistory

public Collection<NodeInstanceDesc> getProcessInstanceHistory(String deploymentId,
                                                              long processId,
                                                              boolean completed)
Specified by:
getProcessInstanceHistory in interface RuntimeDataService

getProcessInstanceFullHistory

public Collection<NodeInstanceDesc> getProcessInstanceFullHistory(String deploymentId,
                                                                  long processId)
Specified by:
getProcessInstanceFullHistory in interface RuntimeDataService

getProcessInstanceActiveNodes

public Collection<NodeInstanceDesc> getProcessInstanceActiveNodes(String deploymentId,
                                                                  long processId)
Specified by:
getProcessInstanceActiveNodes in interface RuntimeDataService

getProcessInstanceCompletedNodes

public Collection<NodeInstanceDesc> getProcessInstanceCompletedNodes(String deploymentId,
                                                                     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

jBPM distribution 6.0.0.Beta4

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.