|
jBPM distribution 6.2.0.Beta2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbpm.kie.services.impl.bpmn2.BPMN2DataServiceImpl
public class BPMN2DataServiceImpl
Constructor Summary | |
---|---|
BPMN2DataServiceImpl()
|
Method Summary | |
---|---|
ProcessDefinition |
buildProcessDefinition(String deploymentId,
String bpmn2Content,
ClassLoader classLoader,
boolean cache)
Performs build operation for given bpmn2content to produce fully populated ProcessDefinition |
Map<String,Collection<String>> |
getAssociatedEntities(String deploymentId,
String processId)
Returns all organizational entities identifiers involved in the process - like users and groups. |
ProcessDefinition |
getProcessDefinition(String deploymentId,
String processId)
Returns previously built ProcessDefinition . |
Map<String,String> |
getProcessVariables(String deploymentId,
String processId)
Returns all process variables defined in the given process where: key in the map is name of the process variable value in the map is type of the process variable NOTE: This method assumes process has already been built by invoking buildProcessDefinition method |
org.drools.compiler.compiler.BPMN2ProcessProvider |
getProvider(BPMN2DataServiceSemanticModule module)
|
Collection<String> |
getReusableSubProcesses(String deploymentId,
String processId)
Returns collection of process identifiers of reusable processes used by given process. |
Map<String,String> |
getServiceTasks(String deploymentId,
String processId)
Returns service (domain specific) tasks defined in the process where: key in the map is name of the task node value in the map is name of the domain specific service (name that handler should be registered with) NOTE: This method assumes process has already been built by invoking buildProcessDefinition method |
Map<String,String> |
getTaskInputMappings(String deploymentId,
String processId,
String taskName)
Returns map of data input defined for given user task key in the map is identifier of dataInput value in the map is name dataInput NOTE: This method assumes process has already been built by invoking buildProcessDefinition method |
Map<String,String> |
getTaskOutputMappings(String deploymentId,
String processId,
String taskName)
Returns map of data output defined for given user task key in the map is identifier of dataOutput value in the map is name dataOutput NOTE: This method assumes process has already been built by invoking buildProcessDefinition method |
Collection<UserTaskDefinition> |
getTasksDefinitions(String deploymentId,
String processId)
Returns all user task definitions defined in given process NOTE: This method assumes process has already been built by invoking buildProcessDefinition method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BPMN2DataServiceImpl()
Method Detail |
---|
public org.drools.compiler.compiler.BPMN2ProcessProvider getProvider(BPMN2DataServiceSemanticModule module)
public ProcessDefinition buildProcessDefinition(String deploymentId, String bpmn2Content, ClassLoader classLoader, boolean cache) throws IllegalArgumentException
DefinitionService
ProcessDefinition
buildProcessDefinition
in interface DefinitionService
deploymentId
- identifier of deployment this process belongs to,
might be null if built definition does not need to be storedbpmn2Content
- actual BPMN xml content as string to be parsed and processedclassLoader
- class loader that should be used while parsing the BPMN2 in case custom classes are referencedcache
- indicates if the definition service should cache this ProcessDefinition
ProcessDefinition
IllegalArgumentException
- in case build operation cannot be completedpublic Map<String,String> getServiceTasks(String deploymentId, String processId)
DefinitionService
buildProcessDefinition
method
getServiceTasks
in interface DefinitionService
deploymentId
- identifier of deployment that process belongs toprocessId
- identifier of the process
public ProcessDefinition getProcessDefinition(String deploymentId, String processId)
DefinitionService
ProcessDefinition
.
buildProcessDefinition
method
getProcessDefinition
in interface DefinitionService
deploymentId
- identifier of deployment that process belongs toprocessId
- identifier of the process
ProcessDefinition
if found otherwise nullpublic Collection<String> getReusableSubProcesses(String deploymentId, String processId)
DefinitionService
buildProcessDefinition
method
getReusableSubProcesses
in interface DefinitionService
deploymentId
- identifier of deployment that process belongs toprocessId
- identifier of the process
public Map<String,String> getProcessVariables(String deploymentId, String processId)
DefinitionService
buildProcessDefinition
method
getProcessVariables
in interface DefinitionService
deploymentId
- identifier of deployment that process belongs toprocessId
- identifier of the process
public Map<String,Collection<String>> getAssociatedEntities(String deploymentId, String processId)
DefinitionService
buildProcessDefinition
method
getAssociatedEntities
in interface DefinitionService
deploymentId
- identifier of deployment that process belongs toprocessId
- identifier of the process
public Collection<UserTaskDefinition> getTasksDefinitions(String deploymentId, String processId)
DefinitionService
buildProcessDefinition
method
getTasksDefinitions
in interface DefinitionService
deploymentId
- identifier of deployment that process belongs toprocessId
- identifier of the process
UserTaskDefinition
s or empty collection if none were foundpublic Map<String,String> getTaskInputMappings(String deploymentId, String processId, String taskName)
DefinitionService
buildProcessDefinition
method
getTaskInputMappings
in interface DefinitionService
deploymentId
- identifier of deployment that process belongs toprocessId
- identifier of the processtaskName
- name of a task the data input should be collected for
public Map<String,String> getTaskOutputMappings(String deploymentId, String processId, String taskName)
DefinitionService
buildProcessDefinition
method
getTaskOutputMappings
in interface DefinitionService
deploymentId
- identifier of deployment that process belongs toprocessId
- identifier of the processtaskName
- name of a task the data output should be collected for
|
jBPM distribution 6.2.0.Beta2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |