org.droolsjbpm.services.impl
Class KnowledgeDataServiceImpl

java.lang.Object
  extended by org.droolsjbpm.services.impl.KnowledgeDataServiceImpl
All Implemented Interfaces:
KnowledgeDataService

@ApplicationScoped
public class KnowledgeDataServiceImpl
extends Object
implements KnowledgeDataService


Constructor Summary
KnowledgeDataServiceImpl()
           
 
Method Summary
 Collection<ProcessDesc> getProcesses()
           
 Collection<ProcessDesc> getProcessesBySessionId(String sessionId)
           
 Collection<NodeInstanceDesc> getProcessInstanceActiveNodes(int sessionId, long processId)
           
 ProcessInstanceDesc getProcessInstanceById(int sessionId, long processId)
           
 Collection<NodeInstanceDesc> getProcessInstanceFullHistory(int sessionId, long processId)
           
 Collection<NodeInstanceDesc> getProcessInstanceHistory(int sessionId, long processId)
           
 Collection<NodeInstanceDesc> getProcessInstanceHistory(int sessionId, long processId, boolean completed)
           
 Collection<ProcessInstanceDesc> getProcessInstances()
           
 Collection<ProcessInstanceDesc> getProcessInstancesBySessionId(String sessionId)
           
 Collection<VariableStateDesc> getVariablesCurrentState(long processInstanceId)
           
 void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KnowledgeDataServiceImpl

public KnowledgeDataServiceImpl()
Method Detail

init

@PostConstruct
public void init()

getProcessInstances

public Collection<ProcessInstanceDesc> getProcessInstances()
Specified by:
getProcessInstances in interface KnowledgeDataService

getProcessInstancesBySessionId

public Collection<ProcessInstanceDesc> getProcessInstancesBySessionId(String sessionId)
Specified by:
getProcessInstancesBySessionId in interface KnowledgeDataService

getProcessesBySessionId

public Collection<ProcessDesc> getProcessesBySessionId(String sessionId)
Specified by:
getProcessesBySessionId in interface KnowledgeDataService

getProcesses

public Collection<ProcessDesc> getProcesses()
Specified by:
getProcesses in interface KnowledgeDataService

getProcessInstanceById

public ProcessInstanceDesc getProcessInstanceById(int sessionId,
                                                  long processId)
Specified by:
getProcessInstanceById in interface KnowledgeDataService

getProcessInstanceHistory

public Collection<NodeInstanceDesc> getProcessInstanceHistory(int sessionId,
                                                              long processId)
Specified by:
getProcessInstanceHistory in interface KnowledgeDataService

getVariablesCurrentState

public Collection<VariableStateDesc> getVariablesCurrentState(long processInstanceId)
Specified by:
getVariablesCurrentState in interface KnowledgeDataService

getProcessInstanceHistory

public Collection<NodeInstanceDesc> getProcessInstanceHistory(int sessionId,
                                                              long processId,
                                                              boolean completed)
Specified by:
getProcessInstanceHistory in interface KnowledgeDataService

getProcessInstanceFullHistory

public Collection<NodeInstanceDesc> getProcessInstanceFullHistory(int sessionId,
                                                                  long processId)
Specified by:
getProcessInstanceFullHistory in interface KnowledgeDataService

getProcessInstanceActiveNodes

public Collection<NodeInstanceDesc> getProcessInstanceActiveNodes(int sessionId,
                                                                  long processId)
Specified by:
getProcessInstanceActiveNodes in interface KnowledgeDataService


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