Package org.flowable.engine.impl
Class DynamicBpmnServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl>
org.flowable.engine.impl.DynamicBpmnServiceImpl
- All Implemented Interfaces:
DynamicBpmnConstants
,DynamicBpmnService
public class DynamicBpmnServiceImpl
extends org.flowable.common.engine.impl.service.CommonEngineServiceImpl<org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl>
implements DynamicBpmnService, DynamicBpmnConstants
- Author:
- Tijs Rademakers
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutor
Fields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration
Fields inherited from interface org.flowable.engine.DynamicBpmnConstants
BPMN_NODE, CALL_ACTIVITY_CALLED_ELEMENT, DMN_TASK_DECISION_TABLE_KEY, ENABLE_SKIP_EXPRESSION, GLOBAL_PROCESS_DEFINITION_PROPERTIES, LOCALIZATION_DESCRIPTION, LOCALIZATION_LANGUAGE, LOCALIZATION_NAME, LOCALIZATION_NODE, MULTI_INSTANCE_COMPLETION_CONDITION, SCRIPT_TASK_SCRIPT, SEQUENCE_FLOW_CONDITION, SERVICE_TASK_CLASS_NAME, SERVICE_TASK_DELEGATE_EXPRESSION, SERVICE_TASK_EXPRESSION, TASK_SKIP_EXPRESSION, USER_TASK_ASSIGNEE, USER_TASK_CANDIDATE_GROUPS, USER_TASK_CANDIDATE_USERS, USER_TASK_CATEGORY, USER_TASK_DESCRIPTION, USER_TASK_DUEDATE, USER_TASK_FORM_KEY, USER_TASK_NAME, USER_TASK_OWNER, USER_TASK_PRIORITY, USER_TASK_TASK_ID_VARIABLE_NAME
-
Constructor Summary
ConstructorDescriptionDynamicBpmnServiceImpl
(org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.node.ObjectNode
changeCallActivityCalledElement
(String id, String calledElement) void
changeCallActivityCalledElement
(String id, String calledElement, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeDmnTaskDecisionTableKey
(String id, String decisionTableKey) void
changeDmnTaskDecisionTableKey
(String id, String decisionTableKey, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeLocalizationDescription
(String language, String id, String value) void
changeLocalizationDescription
(String language, String id, String value, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeLocalizationName
(String language, String id, String value) void
changeLocalizationName
(String language, String id, String value, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeMultiInstanceCompletionCondition
(String id, String completionCondition) void
changeMultiInstanceCompletionCondition
(String id, String completionCondition, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeScriptTaskScript
(String id, String script) void
changeScriptTaskScript
(String id, String script, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeSequenceFlowCondition
(String id, String condition) void
changeSequenceFlowCondition
(String id, String condition, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeServiceTaskClassName
(String id, String className) void
changeServiceTaskClassName
(String id, String className, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeServiceTaskDelegateExpression
(String id, String expression) void
changeServiceTaskDelegateExpression
(String id, String expression, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeServiceTaskExpression
(String id, String expression) void
changeServiceTaskExpression
(String id, String expression, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeSkipExpression
(String id, String skipExpression) void
changeSkipExpression
(String id, String skipExpression, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeUserTaskAssignee
(String id, String assignee) void
changeUserTaskAssignee
(String id, String assignee, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeUserTaskCandidateGroup
(String id, String candidateGroup, boolean overwriteOtherChangedEntries) void
changeUserTaskCandidateGroup
(String id, String candidateGroup, boolean overwriteOtherChangedEntries, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeUserTaskCandidateGroups
(String id, List<String> candidateGroups) Creates a new processDefinitionInfo withDynamicBpmnConstants.USER_TASK_CANDIDATE_USERS
for the given BPMN element.void
changeUserTaskCandidateGroups
(String id, List<String> candidateGroups, com.fasterxml.jackson.databind.node.ObjectNode infoNode) Updates a processDefinitionInfo'sDynamicBpmnConstants.USER_TASK_CANDIDATE_USERS
with the new list.com.fasterxml.jackson.databind.node.ObjectNode
changeUserTaskCandidateUser
(String id, String candidateUser, boolean overwriteOtherChangedEntries) void
changeUserTaskCandidateUser
(String id, String candidateUser, boolean overwriteOtherChangedEntries, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeUserTaskCandidateUsers
(String id, List<String> candidateUsers) Creates a new processDefinitionInfo withDynamicBpmnConstants.USER_TASK_CANDIDATE_USERS
for the given BPMN element.void
changeUserTaskCandidateUsers
(String id, List<String> candidateUsers, com.fasterxml.jackson.databind.node.ObjectNode infoNode) Updates a processDefinitionInfo'sDynamicBpmnConstants.USER_TASK_CANDIDATE_USERS
with the new list.com.fasterxml.jackson.databind.node.ObjectNode
changeUserTaskCategory
(String id, String category) void
changeUserTaskCategory
(String id, String category, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeUserTaskDescription
(String id, String description) void
changeUserTaskDescription
(String id, String description, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeUserTaskDueDate
(String id, String dueDate) void
changeUserTaskDueDate
(String id, String dueDate, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeUserTaskFormKey
(String id, String formKey) void
changeUserTaskFormKey
(String id, String formKey, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeUserTaskName
(String id, String name) void
changeUserTaskName
(String id, String name, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeUserTaskOwner
(String id, String owner) void
changeUserTaskOwner
(String id, String owner, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
changeUserTaskPriority
(String id, String priority) void
changeUserTaskPriority
(String id, String priority, com.fasterxml.jackson.databind.node.ObjectNode infoNode) protected com.fasterxml.jackson.databind.node.ObjectNode
createOrGetBpmnNode
(com.fasterxml.jackson.databind.node.ObjectNode infoNode) protected com.fasterxml.jackson.databind.node.ObjectNode
createOrGetLocalizationNode
(com.fasterxml.jackson.databind.node.ObjectNode infoNode) protected boolean
doesElementPropertyExist
(String id, String propertyName, com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
void
enableSkipExpression
(com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
getBpmnElementProperties
(String id, com.fasterxml.jackson.databind.node.ObjectNode infoNode) protected com.fasterxml.jackson.databind.node.ObjectNode
getBpmnNode
(com.fasterxml.jackson.databind.node.ObjectNode infoNode) getDynamicProcessDefinitionSummary
(String processDefinitionId) Gives a summary between theBpmnModel
andDynamicBpmnService.getProcessDefinitionInfo(String)
com.fasterxml.jackson.databind.node.ObjectNode
getLocalizationElementProperties
(String language, String id, com.fasterxml.jackson.databind.node.ObjectNode infoNode) protected com.fasterxml.jackson.databind.node.ObjectNode
getLocalizationNode
(com.fasterxml.jackson.databind.node.ObjectNode infoNode) com.fasterxml.jackson.databind.node.ObjectNode
getProcessDefinitionInfo
(String processDefinitionId) void
injectEmbeddedSubProcessInProcessInstance
(String processInstanceId, org.flowable.engine.impl.dynamic.DynamicEmbeddedSubProcessBuilder dynamicEmbeddedSubProcessBuilder) void
injectParallelEmbeddedSubProcess
(String taskId, org.flowable.engine.impl.dynamic.DynamicEmbeddedSubProcessBuilder dynamicEmbeddedSubProcessBuilder) void
injectParallelUserTask
(String taskId, org.flowable.engine.impl.dynamic.DynamicUserTaskBuilder dynamicUserTaskBuilder) void
injectUserTaskInProcessInstance
(String processInstanceId, org.flowable.engine.impl.dynamic.DynamicUserTaskBuilder dynamicUserTaskBuilder) protected void
removeElementProperty
(String id, String propertyName, com.fasterxml.jackson.databind.node.ObjectNode infoNode) void
removeEnableSkipExpression
(com.fasterxml.jackson.databind.node.ObjectNode infoNode) void
removeSkipExpression
(String id, com.fasterxml.jackson.databind.node.ObjectNode infoNode) void
resetProperty
(String elementId, String property, com.fasterxml.jackson.databind.node.ObjectNode infoNode) Clears the field from the infoNode.void
saveProcessDefinitionInfo
(String processDefinitionId, com.fasterxml.jackson.databind.node.ObjectNode infoNode) protected void
setElementProperty
(String id, String propertyName, com.fasterxml.jackson.databind.JsonNode propertyValue, com.fasterxml.jackson.databind.node.ObjectNode infoNode) protected void
setElementProperty
(String id, String propertyName, String propertyValue, com.fasterxml.jackson.databind.node.ObjectNode infoNode) protected void
setLocalizationProperty
(String language, String id, String propertyName, String propertyValue, com.fasterxml.jackson.databind.node.ObjectNode infoNode) Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
DynamicBpmnServiceImpl
public DynamicBpmnServiceImpl(org.flowable.engine.impl.cfg.ProcessEngineConfigurationImpl processEngineConfiguration)
-
-
Method Details
-
injectUserTaskInProcessInstance
public void injectUserTaskInProcessInstance(String processInstanceId, org.flowable.engine.impl.dynamic.DynamicUserTaskBuilder dynamicUserTaskBuilder) - Specified by:
injectUserTaskInProcessInstance
in interfaceDynamicBpmnService
-
injectParallelUserTask
public void injectParallelUserTask(String taskId, org.flowable.engine.impl.dynamic.DynamicUserTaskBuilder dynamicUserTaskBuilder) - Specified by:
injectParallelUserTask
in interfaceDynamicBpmnService
-
injectEmbeddedSubProcessInProcessInstance
public void injectEmbeddedSubProcessInProcessInstance(String processInstanceId, org.flowable.engine.impl.dynamic.DynamicEmbeddedSubProcessBuilder dynamicEmbeddedSubProcessBuilder) - Specified by:
injectEmbeddedSubProcessInProcessInstance
in interfaceDynamicBpmnService
-
injectParallelEmbeddedSubProcess
public void injectParallelEmbeddedSubProcess(String taskId, org.flowable.engine.impl.dynamic.DynamicEmbeddedSubProcessBuilder dynamicEmbeddedSubProcessBuilder) - Specified by:
injectParallelEmbeddedSubProcess
in interfaceDynamicBpmnService
-
getProcessDefinitionInfo
public com.fasterxml.jackson.databind.node.ObjectNode getProcessDefinitionInfo(String processDefinitionId) - Specified by:
getProcessDefinitionInfo
in interfaceDynamicBpmnService
-
saveProcessDefinitionInfo
public void saveProcessDefinitionInfo(String processDefinitionId, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
saveProcessDefinitionInfo
in interfaceDynamicBpmnService
-
changeServiceTaskClassName
public com.fasterxml.jackson.databind.node.ObjectNode changeServiceTaskClassName(String id, String className) - Specified by:
changeServiceTaskClassName
in interfaceDynamicBpmnService
-
changeServiceTaskClassName
public void changeServiceTaskClassName(String id, String className, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeServiceTaskClassName
in interfaceDynamicBpmnService
-
changeServiceTaskExpression
public com.fasterxml.jackson.databind.node.ObjectNode changeServiceTaskExpression(String id, String expression) - Specified by:
changeServiceTaskExpression
in interfaceDynamicBpmnService
-
changeServiceTaskExpression
public void changeServiceTaskExpression(String id, String expression, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeServiceTaskExpression
in interfaceDynamicBpmnService
-
changeServiceTaskDelegateExpression
public com.fasterxml.jackson.databind.node.ObjectNode changeServiceTaskDelegateExpression(String id, String expression) - Specified by:
changeServiceTaskDelegateExpression
in interfaceDynamicBpmnService
-
changeServiceTaskDelegateExpression
public void changeServiceTaskDelegateExpression(String id, String expression, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeServiceTaskDelegateExpression
in interfaceDynamicBpmnService
-
changeScriptTaskScript
public com.fasterxml.jackson.databind.node.ObjectNode changeScriptTaskScript(String id, String script) - Specified by:
changeScriptTaskScript
in interfaceDynamicBpmnService
-
changeScriptTaskScript
public void changeScriptTaskScript(String id, String script, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeScriptTaskScript
in interfaceDynamicBpmnService
-
changeSkipExpression
public com.fasterxml.jackson.databind.node.ObjectNode changeSkipExpression(String id, String skipExpression) - Specified by:
changeSkipExpression
in interfaceDynamicBpmnService
-
changeSkipExpression
public void changeSkipExpression(String id, String skipExpression, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeSkipExpression
in interfaceDynamicBpmnService
-
removeSkipExpression
public void removeSkipExpression(String id, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
removeSkipExpression
in interfaceDynamicBpmnService
-
enableSkipExpression
public com.fasterxml.jackson.databind.node.ObjectNode enableSkipExpression()- Specified by:
enableSkipExpression
in interfaceDynamicBpmnService
-
enableSkipExpression
public void enableSkipExpression(com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
enableSkipExpression
in interfaceDynamicBpmnService
-
removeEnableSkipExpression
public void removeEnableSkipExpression(com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
removeEnableSkipExpression
in interfaceDynamicBpmnService
-
changeUserTaskName
- Specified by:
changeUserTaskName
in interfaceDynamicBpmnService
-
changeUserTaskName
public void changeUserTaskName(String id, String name, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeUserTaskName
in interfaceDynamicBpmnService
-
changeUserTaskDescription
public com.fasterxml.jackson.databind.node.ObjectNode changeUserTaskDescription(String id, String description) - Specified by:
changeUserTaskDescription
in interfaceDynamicBpmnService
-
changeUserTaskDescription
public void changeUserTaskDescription(String id, String description, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeUserTaskDescription
in interfaceDynamicBpmnService
-
changeUserTaskDueDate
public com.fasterxml.jackson.databind.node.ObjectNode changeUserTaskDueDate(String id, String dueDate) - Specified by:
changeUserTaskDueDate
in interfaceDynamicBpmnService
-
changeUserTaskDueDate
public void changeUserTaskDueDate(String id, String dueDate, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeUserTaskDueDate
in interfaceDynamicBpmnService
-
changeUserTaskPriority
public com.fasterxml.jackson.databind.node.ObjectNode changeUserTaskPriority(String id, String priority) - Specified by:
changeUserTaskPriority
in interfaceDynamicBpmnService
-
changeUserTaskPriority
public void changeUserTaskPriority(String id, String priority, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeUserTaskPriority
in interfaceDynamicBpmnService
-
changeUserTaskCategory
public com.fasterxml.jackson.databind.node.ObjectNode changeUserTaskCategory(String id, String category) - Specified by:
changeUserTaskCategory
in interfaceDynamicBpmnService
-
changeUserTaskCategory
public void changeUserTaskCategory(String id, String category, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeUserTaskCategory
in interfaceDynamicBpmnService
-
changeUserTaskFormKey
public com.fasterxml.jackson.databind.node.ObjectNode changeUserTaskFormKey(String id, String formKey) - Specified by:
changeUserTaskFormKey
in interfaceDynamicBpmnService
-
changeUserTaskFormKey
public void changeUserTaskFormKey(String id, String formKey, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeUserTaskFormKey
in interfaceDynamicBpmnService
-
changeUserTaskAssignee
public com.fasterxml.jackson.databind.node.ObjectNode changeUserTaskAssignee(String id, String assignee) - Specified by:
changeUserTaskAssignee
in interfaceDynamicBpmnService
-
changeUserTaskAssignee
public void changeUserTaskAssignee(String id, String assignee, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeUserTaskAssignee
in interfaceDynamicBpmnService
-
changeUserTaskOwner
- Specified by:
changeUserTaskOwner
in interfaceDynamicBpmnService
-
changeUserTaskOwner
public void changeUserTaskOwner(String id, String owner, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeUserTaskOwner
in interfaceDynamicBpmnService
-
changeUserTaskCandidateUser
public com.fasterxml.jackson.databind.node.ObjectNode changeUserTaskCandidateUser(String id, String candidateUser, boolean overwriteOtherChangedEntries) - Specified by:
changeUserTaskCandidateUser
in interfaceDynamicBpmnService
-
changeUserTaskCandidateUser
public void changeUserTaskCandidateUser(String id, String candidateUser, boolean overwriteOtherChangedEntries, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeUserTaskCandidateUser
in interfaceDynamicBpmnService
-
changeUserTaskCandidateGroup
public com.fasterxml.jackson.databind.node.ObjectNode changeUserTaskCandidateGroup(String id, String candidateGroup, boolean overwriteOtherChangedEntries) - Specified by:
changeUserTaskCandidateGroup
in interfaceDynamicBpmnService
-
changeUserTaskCandidateGroup
public void changeUserTaskCandidateGroup(String id, String candidateGroup, boolean overwriteOtherChangedEntries, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeUserTaskCandidateGroup
in interfaceDynamicBpmnService
-
changeUserTaskCandidateUsers
public com.fasterxml.jackson.databind.node.ObjectNode changeUserTaskCandidateUsers(String id, List<String> candidateUsers) Description copied from interface:DynamicBpmnService
Creates a new processDefinitionInfo withDynamicBpmnConstants.USER_TASK_CANDIDATE_USERS
for the given BPMN element. Don't forget to callDynamicBpmnService.saveProcessDefinitionInfo(String, ObjectNode)
- Specified by:
changeUserTaskCandidateUsers
in interfaceDynamicBpmnService
- Parameters:
id
- the bpmn element id (ex. sid-3392FDEE-DD6F-484E-97FE-55F30BFEA77E)candidateUsers
- the candidate users.- Returns:
- a new processDefinitionNode with the candidate users for the given bpmn element.
-
changeUserTaskCandidateUsers
public void changeUserTaskCandidateUsers(String id, List<String> candidateUsers, com.fasterxml.jackson.databind.node.ObjectNode infoNode) Description copied from interface:DynamicBpmnService
Updates a processDefinitionInfo'sDynamicBpmnConstants.USER_TASK_CANDIDATE_USERS
with the new list. Previous values for the BPMN Element withDynamicBpmnConstants.USER_TASK_CANDIDATE_USERS
as key are ignored. Don't forget to callDynamicBpmnService.saveProcessDefinitionInfo(String, ObjectNode)
- Specified by:
changeUserTaskCandidateUsers
in interfaceDynamicBpmnService
- Parameters:
id
- the bpmn element id (ex. sid-3392FDEE-DD6F-484E-97FE-55F30BFEA77E)candidateUsers
- the candidate users.infoNode
- the current processDefinitionInfo. This object will be modified.
-
changeUserTaskCandidateGroups
public com.fasterxml.jackson.databind.node.ObjectNode changeUserTaskCandidateGroups(String id, List<String> candidateGroups) Description copied from interface:DynamicBpmnService
Creates a new processDefinitionInfo withDynamicBpmnConstants.USER_TASK_CANDIDATE_USERS
for the given BPMN element. Don't forget to callDynamicBpmnService.saveProcessDefinitionInfo(String, ObjectNode)
- Specified by:
changeUserTaskCandidateGroups
in interfaceDynamicBpmnService
- Parameters:
id
- the bpmn element id (ex. sid-3392FDEE-DD6F-484E-97FE-55F30BFEA77E)candidateGroups
- the candidate groups.- Returns:
- a new processDefinitionNode with the candidate users for the given bpmn element.
-
changeUserTaskCandidateGroups
public void changeUserTaskCandidateGroups(String id, List<String> candidateGroups, com.fasterxml.jackson.databind.node.ObjectNode infoNode) Description copied from interface:DynamicBpmnService
Updates a processDefinitionInfo'sDynamicBpmnConstants.USER_TASK_CANDIDATE_USERS
with the new list. Previous values for the BPMN Element withDynamicBpmnConstants.USER_TASK_CANDIDATE_USERS
as key are ignored. Don't forget to callDynamicBpmnService.saveProcessDefinitionInfo(String, ObjectNode)
- Specified by:
changeUserTaskCandidateGroups
in interfaceDynamicBpmnService
- Parameters:
id
- the bpmn element id (ex. sid-3392FDEE-DD6F-484E-97FE-55F30BFEA77E)candidateGroups
- the candidate groups.infoNode
- the current processDefinitionInfo. This object will be modified.
-
changeMultiInstanceCompletionCondition
public com.fasterxml.jackson.databind.node.ObjectNode changeMultiInstanceCompletionCondition(String id, String completionCondition) - Specified by:
changeMultiInstanceCompletionCondition
in interfaceDynamicBpmnService
-
changeMultiInstanceCompletionCondition
public void changeMultiInstanceCompletionCondition(String id, String completionCondition, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeMultiInstanceCompletionCondition
in interfaceDynamicBpmnService
-
changeDmnTaskDecisionTableKey
public com.fasterxml.jackson.databind.node.ObjectNode changeDmnTaskDecisionTableKey(String id, String decisionTableKey) - Specified by:
changeDmnTaskDecisionTableKey
in interfaceDynamicBpmnService
-
changeDmnTaskDecisionTableKey
public void changeDmnTaskDecisionTableKey(String id, String decisionTableKey, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeDmnTaskDecisionTableKey
in interfaceDynamicBpmnService
-
changeSequenceFlowCondition
public com.fasterxml.jackson.databind.node.ObjectNode changeSequenceFlowCondition(String id, String condition) - Specified by:
changeSequenceFlowCondition
in interfaceDynamicBpmnService
-
changeSequenceFlowCondition
public void changeSequenceFlowCondition(String id, String condition, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeSequenceFlowCondition
in interfaceDynamicBpmnService
-
changeCallActivityCalledElement
public com.fasterxml.jackson.databind.node.ObjectNode changeCallActivityCalledElement(String id, String calledElement) - Specified by:
changeCallActivityCalledElement
in interfaceDynamicBpmnService
-
changeCallActivityCalledElement
public void changeCallActivityCalledElement(String id, String calledElement, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeCallActivityCalledElement
in interfaceDynamicBpmnService
-
getBpmnElementProperties
public com.fasterxml.jackson.databind.node.ObjectNode getBpmnElementProperties(String id, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
getBpmnElementProperties
in interfaceDynamicBpmnService
-
changeLocalizationName
public com.fasterxml.jackson.databind.node.ObjectNode changeLocalizationName(String language, String id, String value) - Specified by:
changeLocalizationName
in interfaceDynamicBpmnService
-
changeLocalizationName
public void changeLocalizationName(String language, String id, String value, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeLocalizationName
in interfaceDynamicBpmnService
-
changeLocalizationDescription
public com.fasterxml.jackson.databind.node.ObjectNode changeLocalizationDescription(String language, String id, String value) - Specified by:
changeLocalizationDescription
in interfaceDynamicBpmnService
-
changeLocalizationDescription
public void changeLocalizationDescription(String language, String id, String value, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
changeLocalizationDescription
in interfaceDynamicBpmnService
-
getLocalizationElementProperties
public com.fasterxml.jackson.databind.node.ObjectNode getLocalizationElementProperties(String language, String id, com.fasterxml.jackson.databind.node.ObjectNode infoNode) - Specified by:
getLocalizationElementProperties
in interfaceDynamicBpmnService
-
doesElementPropertyExist
-
resetProperty
public void resetProperty(String elementId, String property, com.fasterxml.jackson.databind.node.ObjectNode infoNode) Description copied from interface:DynamicBpmnService
Clears the field from the infoNode. So the engine uses the
Don't forget to save the modified infoNode by callingBpmnModel
value On next instance.DynamicBpmnService.saveProcessDefinitionInfo(String, ObjectNode)
- Specified by:
resetProperty
in interfaceDynamicBpmnService
- Parameters:
elementId
- the flow elements id.property
-DynamicBpmnConstants
propertyinfoNode
- to modify
-
getDynamicProcessDefinitionSummary
public DynamicProcessDefinitionSummary getDynamicProcessDefinitionSummary(String processDefinitionId) Description copied from interface:DynamicBpmnService
Gives a summary between theBpmnModel
andDynamicBpmnService.getProcessDefinitionInfo(String)
- Specified by:
getDynamicProcessDefinitionSummary
in interfaceDynamicBpmnService
- Parameters:
processDefinitionId
- the process definition id (key:version:sequence)- Returns:
- DynamicProcessDefinitionSummary if the processdefinition exists
-
setElementProperty
-
setElementProperty
-
removeElementProperty
-
createOrGetBpmnNode
protected com.fasterxml.jackson.databind.node.ObjectNode createOrGetBpmnNode(com.fasterxml.jackson.databind.node.ObjectNode infoNode) -
getBpmnNode
protected com.fasterxml.jackson.databind.node.ObjectNode getBpmnNode(com.fasterxml.jackson.databind.node.ObjectNode infoNode) -
setLocalizationProperty
-
createOrGetLocalizationNode
protected com.fasterxml.jackson.databind.node.ObjectNode createOrGetLocalizationNode(com.fasterxml.jackson.databind.node.ObjectNode infoNode) -
getLocalizationNode
protected com.fasterxml.jackson.databind.node.ObjectNode getLocalizationNode(com.fasterxml.jackson.databind.node.ObjectNode infoNode)
-