jBPM Console NG - Business Domain Backend 6.0.0.Alpha9

org.jbpm.console.ng.bd.backend.server
Class KnowledgeDomainServiceEntryPointImpl

java.lang.Object
  extended by org.jbpm.console.ng.bd.backend.server.KnowledgeDomainServiceEntryPointImpl
All Implemented Interfaces:
KnowledgeDomainServiceEntryPoint

@ApplicationScoped
public class KnowledgeDomainServiceEntryPointImpl
extends Object
implements KnowledgeDomainServiceEntryPoint


Constructor Summary
KnowledgeDomainServiceEntryPointImpl()
           
 
Method Summary
 void checkFileSystem()
           
 void createDomain()
           
 String createProcessDefinitionFile(String name)
           
 void fetchChanges()
           
 Collection<RuleNotificationSummary> getAllNotificationInstance()
           
 Collection<RuleNotificationSummary> getAllNotificationInstanceBySessionId(int sessionId)
           
 Collection<org.jbpm.console.ng.ht.model.TaskDefSummary> getAllTasksDef(String processId)
           
 int getAmountOfSessions()
           
 List<String> getAssociatedDomainObjects(String processId)
           
 Map<String,String> getAssociatedEntities(String processId)
           
 List<String> getAssociatedForms(String processId)
           
 Map<String,String> getAvailableProcesses()
           
 Map<String,String> getAvailableProcessesPath()
           
 Collection<String> getAvailableSignals(String businessKey, long processInstanceId)
           
 org.uberfire.backend.vfs.Path getProcessAssetPath(String processId)
           
 ProcessSummary getProcessDesc(String processId)
           
 Collection<ProcessSummary> getProcesses()
           
 Collection<ProcessSummary> getProcessesByFilter(String filter)
           
 ProcessSummary getProcessesById(long processInstanceId)
           
 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, int filterType, String initiator)
           
 Collection<ProcessInstanceSummary> getProcessInstancesByProcessDefinition(String processDefId)
           
 Collection<ProcessInstanceSummary> getProcessInstancesBySessionId(String sessionId)
           
 Map<String,String> getRequiredInputData(String processId)
           
 Collection<String> getReusableSubProcesses(String processId)
           
 Collection<String> getSessionsNames()
           
 KieSessionSummary getSessionSummaryByName(int sessionId)
           
 Map<String,String> getTaskInputMappings(String processId, String taskName)
           
 Map<String,String> getTaskOutputMappings(String processId, String taskName)
           
 Collection<VariableSummary> getVariableHistory(long processInstanceId, String variableId)
           
 Collection<VariableSummary> getVariablesCurrentState(long processInstanceId, String processId)
           
 void insertNotification(int sessionId, String notification)
           
 byte[] loadFile(org.kie.commons.java.nio.file.Path file)
           
 Iterable<org.kie.commons.java.nio.file.Path> loadFilesByType(String path, String fileType)
           
 int newKieSession(String groupId, String artifactId, String version, String kbaseName, String sessionName)
           
 void setProcessVariable(long processInstanceId, String variableId, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KnowledgeDomainServiceEntryPointImpl

public KnowledgeDomainServiceEntryPointImpl()
Method Detail

getSessionsNames

public Collection<String> getSessionsNames()
Specified by:
getSessionsNames in interface KnowledgeDomainServiceEntryPoint

getAmountOfSessions

public int getAmountOfSessions()
Specified by:
getAmountOfSessions in interface KnowledgeDomainServiceEntryPoint

getProcessInstances

public Collection<ProcessInstanceSummary> getProcessInstances()
Specified by:
getProcessInstances in interface KnowledgeDomainServiceEntryPoint

getProcessInstancesBySessionId

public Collection<ProcessInstanceSummary> getProcessInstancesBySessionId(String sessionId)
Specified by:
getProcessInstancesBySessionId in interface KnowledgeDomainServiceEntryPoint

getProcessesByFilter

public Collection<ProcessSummary> getProcessesByFilter(String filter)
Specified by:
getProcessesByFilter in interface KnowledgeDomainServiceEntryPoint

getProcessInstanceById

public ProcessInstanceSummary getProcessInstanceById(long processInstanceId)
Specified by:
getProcessInstanceById in interface KnowledgeDomainServiceEntryPoint

getProcesses

public Collection<ProcessSummary> getProcesses()
Specified by:
getProcesses in interface KnowledgeDomainServiceEntryPoint

getProcessInstancesByProcessDefinition

public Collection<ProcessInstanceSummary> getProcessInstancesByProcessDefinition(String processDefId)
Specified by:
getProcessInstancesByProcessDefinition in interface KnowledgeDomainServiceEntryPoint

getAssociatedDomainObjects

public List<String> getAssociatedDomainObjects(String processId)

getRequiredInputData

public Map<String,String> getRequiredInputData(String processId)
Specified by:
getRequiredInputData in interface KnowledgeDomainServiceEntryPoint

getAssociatedForms

public List<String> getAssociatedForms(String processId)

getAllTasksDef

public Collection<org.jbpm.console.ng.ht.model.TaskDefSummary> getAllTasksDef(String processId)
Specified by:
getAllTasksDef in interface KnowledgeDomainServiceEntryPoint

getAvailableProcesses

public Map<String,String> getAvailableProcesses()
Specified by:
getAvailableProcesses in interface KnowledgeDomainServiceEntryPoint

getAvailableProcessesPath

public Map<String,String> getAvailableProcessesPath()
Specified by:
getAvailableProcessesPath in interface KnowledgeDomainServiceEntryPoint

getAssociatedEntities

public Map<String,String> getAssociatedEntities(String processId)
Specified by:
getAssociatedEntities in interface KnowledgeDomainServiceEntryPoint

getProcessInstanceHistory

public Collection<NodeInstanceSummary> getProcessInstanceHistory(long processInstanceId)
Specified by:
getProcessInstanceHistory in interface KnowledgeDomainServiceEntryPoint

getProcessInstanceHistory

public Collection<NodeInstanceSummary> getProcessInstanceHistory(long processInstanceId,
                                                                 boolean completed)
Specified by:
getProcessInstanceHistory in interface KnowledgeDomainServiceEntryPoint

getProcessInstanceFullHistory

public Collection<NodeInstanceSummary> getProcessInstanceFullHistory(long processInstanceId)
Specified by:
getProcessInstanceFullHistory in interface KnowledgeDomainServiceEntryPoint

getProcessInstanceActiveNodes

public Collection<NodeInstanceSummary> getProcessInstanceActiveNodes(long processInstanceId)
Specified by:
getProcessInstanceActiveNodes in interface KnowledgeDomainServiceEntryPoint

getProcessDesc

public ProcessSummary getProcessDesc(String processId)
Specified by:
getProcessDesc in interface KnowledgeDomainServiceEntryPoint

getVariablesCurrentState

public Collection<VariableSummary> getVariablesCurrentState(long processInstanceId,
                                                            String processId)
Specified by:
getVariablesCurrentState in interface KnowledgeDomainServiceEntryPoint

getTaskInputMappings

public Map<String,String> getTaskInputMappings(String processId,
                                               String taskName)
Specified by:
getTaskInputMappings in interface KnowledgeDomainServiceEntryPoint

getTaskOutputMappings

public Map<String,String> getTaskOutputMappings(String processId,
                                                String taskName)
Specified by:
getTaskOutputMappings in interface KnowledgeDomainServiceEntryPoint

newKieSession

public int newKieSession(String groupId,
                         String artifactId,
                         String version,
                         String kbaseName,
                         String sessionName)
Specified by:
newKieSession in interface KnowledgeDomainServiceEntryPoint

getProcessInstances

public Collection<ProcessInstanceSummary> getProcessInstances(List<Integer> states,
                                                              String filterText,
                                                              int filterType,
                                                              String initiator)
Specified by:
getProcessInstances in interface KnowledgeDomainServiceEntryPoint

getAvailableSignals

public Collection<String> getAvailableSignals(String businessKey,
                                              long processInstanceId)
Specified by:
getAvailableSignals in interface KnowledgeDomainServiceEntryPoint

setProcessVariable

public void setProcessVariable(long processInstanceId,
                               String variableId,
                               Object value)
Specified by:
setProcessVariable in interface KnowledgeDomainServiceEntryPoint

getVariableHistory

public Collection<VariableSummary> getVariableHistory(long processInstanceId,
                                                      String variableId)
Specified by:
getVariableHistory in interface KnowledgeDomainServiceEntryPoint

getProcessesById

public ProcessSummary getProcessesById(long processInstanceId)

getReusableSubProcesses

public Collection<String> getReusableSubProcesses(String processId)
Specified by:
getReusableSubProcesses in interface KnowledgeDomainServiceEntryPoint

checkFileSystem

public void checkFileSystem()
Specified by:
checkFileSystem in interface KnowledgeDomainServiceEntryPoint

createProcessDefinitionFile

public String createProcessDefinitionFile(String name)
Specified by:
createProcessDefinitionFile in interface KnowledgeDomainServiceEntryPoint

fetchChanges

public void fetchChanges()
Specified by:
fetchChanges in interface KnowledgeDomainServiceEntryPoint

loadFile

public byte[] loadFile(org.kie.commons.java.nio.file.Path file)
Specified by:
loadFile in interface KnowledgeDomainServiceEntryPoint

loadFilesByType

public Iterable<org.kie.commons.java.nio.file.Path> loadFilesByType(String path,
                                                                    String fileType)
Specified by:
loadFilesByType in interface KnowledgeDomainServiceEntryPoint

createDomain

public void createDomain()
Specified by:
createDomain in interface KnowledgeDomainServiceEntryPoint

getSessionSummaryByName

public KieSessionSummary getSessionSummaryByName(int sessionId)
Specified by:
getSessionSummaryByName in interface KnowledgeDomainServiceEntryPoint

insertNotification

public void insertNotification(int sessionId,
                               String notification)
Specified by:
insertNotification in interface KnowledgeDomainServiceEntryPoint

getAllNotificationInstance

public Collection<RuleNotificationSummary> getAllNotificationInstance()
Specified by:
getAllNotificationInstance in interface KnowledgeDomainServiceEntryPoint

getAllNotificationInstanceBySessionId

public Collection<RuleNotificationSummary> getAllNotificationInstanceBySessionId(int sessionId)
Specified by:
getAllNotificationInstanceBySessionId in interface KnowledgeDomainServiceEntryPoint

getProcessAssetPath

public org.uberfire.backend.vfs.Path getProcessAssetPath(String processId)
Specified by:
getProcessAssetPath in interface KnowledgeDomainServiceEntryPoint

getProcessInstanceCompletedNodes

public Collection<NodeInstanceSummary> getProcessInstanceCompletedNodes(long processInstanceId)
Specified by:
getProcessInstanceCompletedNodes in interface KnowledgeDomainServiceEntryPoint

jBPM Console NG - Business Domain Backend 6.0.0.Alpha9

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