Class BpmnIdentityLinksFunctionDelegate
java.lang.Object
com.flowable.platform.common.el.BaseIdentityLinksFunctionDelegate
com.flowable.platform.common.el.bpmn.BpmnIdentityLinksFunctionDelegate
- All Implemented Interfaces:
FlowableAstFunctionCreatorAndDelegate,org.flowable.common.engine.api.delegate.FlowableFunctionDelegate,org.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate,org.flowable.common.engine.impl.el.FlowableAstFunctionCreator
The following expressions are valid. All of them (unless otherwise specified) are also applicable in strict mode.
Assignee
bpmn:getAssignee()- Get the assignee of the current process. Only applicable in a process scopebpmn:getAssignee(<processId>)- Get the assignee of the process with the given processIdbpmn:removeAssignee()- Remove the assignee of the current process. Only applicable in a process scopebpmn:removeAssignee(<processId>)- Remove the assignee of the process with the given processIdbpmn:setAssignee(<userId>)- Set the assignee of the current process to the user with the given userId. Only applicable in a process scopebpmn:setAssignee(<processId>, <userId>)- Set the assignee of the process with the given processId to the user with the given userId
Owner
bpmn:getOwner()- Get the owner of the current process. Only applicable in a process scopebpmn:getOwner(<processId>)- Get the owner of the process with the given processIdbpmn:removeOwner()- Remove the owner of the current process. Only applicable in a process scopebpmn:removeOwner(<processId>)- Remove the owner of the process with the given processIdbpmn:setOwner(<userId>)- Set the owner of the current process to the user with the given userId. Only applicable in a process scopebpmn:setOwner(<processId>, <userId>)- Set the owner of the process with the given processId to the user with the given userId
User Candidates
bpmn:addCandidateUser(<userId>)- Add the user with the given userId as a candidate user of the current process. Only applicable in a process scopebpmn:addCandidateUser(<processId>, <userId>)- Add the user with the given userId as a candidate user of the process with the given processIdbpmn:removeCandidateUser(<userId>)- Remove the user with the given userId as a candidate user of the current process. Only applicable in a process scopebpmn:removeCandidateUser(<processId>, <userId>)- Remove the user with the given userId as a candidate user of the process with the given processIdbpmn:addCandidateUsers(<userIds>)- Add the users with the given userIds as candidate users of the current process. Only applicable in a process scopebpmn:addCandidateUsers(<processId>, <userIds>)- Add the users with the given userIds as candidate users of the process with the given processIdbpmn:removeCandidateUsers(<userIds>)- Remove the users with the given userIds as candidate users of the current process. Only applicable in a process scopebpmn:removeCandidateUsers(<processId>, <userIds>)- Remove the users with the given userIds as candidate users of the process with the given processId
Group Candidates
bpmn:addCandidateGroup(<groupKey>)- Add the group with the given groupKey as a candidate group of the current process. Only applicable in a process scopebpmn:addCandidateGroup(<processId>, <groupKey>)- Add the group with the given groupKey as a candidate group of the process with the given processIdbpmn:removeCandidateGroup(<groupKey>)- Remove the group with the given groupKey as a candidate group of the current process. Only applicable in a process scopebpmn:removeCandidateGroup(<processId>, <groupKey>)- Remove the group with the given groupKey as a candidate group of the process with the given processIdbpmn:addCandidateGroups(<groupKeys>)- Add the groups with the given groupKeys as candidate groups of the current process. Only applicable in a process scopebpmn:addCandidateGroups(<processId>, <groupKeys>)- Add the groups with the given groupKeys as candidate groups of the process with the given processIdbpmn:removeCandidateGroups(<groupKeys>)- Remove the groups with the given groupKeys as candidate groups of the current process. Only applicable in a process scopebpmn:removeCandidateGroups(<processId>, <groupKeys>)- Remove the groups with the given groupKeys as candidate groups of the process with the given processId
User Participants
bpmn:addParticipantUser(<userId>)- Add the user with the given userId as a participant user of the current process. Only applicable in a process scopebpmn:addParticipantUser(<processId>, <userId>)- Add the user with the given userId as a participant user of the process with the given processIdbpmn:removeParticipantUser(<userId>)- Remove the user with the given userId as a participant user of the current process. Only applicable in a process scopebpmn:removeParticipantUser(<processId>, <userId>)- Remove the user with the given userId as a participant user of the process with the given processIdbpmn:addParticipantUsers(<userIds>)- Add the users with the given userIds as participant users of the current process. Only applicable in a process scopebpmn:addParticipantUsers(<processId>, <userIds>)- Add the users with the given userIds as participant users of the process with the given processIdbpmn:removeParticipantUsers(<userIds>)- Remove the users with the given userIds as participant users of the current process. Only applicable in a process scopebpmn:removeParticipantUsers(<processId>, <userIds>)- Remove the users with the given userIds as participant users of the process with the given processId
Group Participants
bpmn:addParticipantGroup(<groupKey>)- Add the group with the given groupKey as a participant group of the current process. Only applicable in a process scopebpmn:addParticipantGroup(<processId>, <groupKey>)- Add the group with the given groupKey as a participant group of the process with the given processIdbpmn:removeParticipantGroup(<groupKey>)- Remove the group with the given groupKey as a participant group of the current process. Only applicable in a process scopebpmn:removeParticipantGroup(<processId>, <groupKey>)- Remove the group with the given groupKey as a participant group of the process with the given processIdbpmn:addParticipantGroups(<groupKeys>)- Add the groups with the given groupKeys as participant groups of the current process. Only applicable in a process scopebpmn:addParticipantGroups(<processId>, <groupKeys>)- Add the groups with the given groupKeys as participant groups of the process with the given processIdbpmn:removeParticipantGroups(<groupKeys>)- Remove the groups with the given groupKeys as participant groups of the current process. Only applicable in a process scopebpmn:removeParticipantGroups(<processId>, <groupKeys>)- Remove the groups with the given groupKeys as participant groups of the process with the given processId
User Watchers
bpmn:addWatcherUser(<userId>)- Add the user with the given userId as a watcher user of the current process. Only applicable in a process scopebpmn:addWatcherUser(<processId>, <userId>)- Add the user with the given userId as a watcher user of the process with the given processIdbpmn:removeWatcherUser(<userId>)- Remove the user with the given userId as a watcher user of the current process. Only applicable in a process scopebpmn:removeWatcherUser(<processId>, <userId>)- Remove the user with the given userId as a watcher user of the process with the given processIdbpmn:addWatcherUsers(<userIds>)- Add the users with the given userIds as watcher users of the current process. Only applicable in a process scopebpmn:addWatcherUsers(<processId>, <userIds>)- Add the users with the given userIds as watcher users of the process with the given processIdbpmn:removeWatcherUsers(<userIds>)- Remove the users with the given userIds as watcher users of the current process. Only applicable in a process scopebpmn:removeWatcherUsers(<processId>, <userIds>)- Remove the users with the given userIds as watcher users of the process with the given processId
Group Watchers
bpmn:addWatcherGroup(<groupKey>)- Add the group with the given groupKey as a watcher group of the current process. Only applicable in a process scopebpmn:addWatcherGroup(<processId>, <groupKey>)- Add the group with the given groupKey as a watcher group of the process with the given processIdbpmn:removeWatcherGroup(<groupKey>)- Remove the group with the given groupKey as a watcher group of the current process. Only applicable in a process scopebpmn:removeWatcherGroup(<processId>, <groupKey>)- Remove the group with the given groupKey as a watcher group of the process with the given processIdbpmn:addWatcherGroups(<groupKeys>)- Add the groups with the given groupKeys as watcher groups of the current process. Only applicable in a process scopebpmn:addWatcherGroups(<processId>, <groupKeys>)- Add the groups with the given groupKeys as watcher groups of the process with the given processIdbpmn:removeWatcherGroups(<groupKeys>)- Remove the groups with the given groupKeys as watcher groups of the current process. Only applicable in a process scopebpmn:removeWatcherGroups(<processId>, <groupKeys>)- Remove the groups with the given groupKeys as watcher groups of the process with the given processId
- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from class com.flowable.platform.common.el.BaseIdentityLinksFunctionDelegate
scopeIdKey, strictMode, variableScopeKey -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstParametersdetermineParametersForFunction(String name, org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstParameters parameters, org.flowable.common.engine.impl.el.FlowableExpressionParser parser) Determine the parameters for the function without taking into account the strict mode.protected Class<?>[]determineParameterTypes(String prefix, String localName) protected Class<?> prefix()Methods inherited from class com.flowable.platform.common.el.BaseIdentityLinksFunctionDelegate
createFunction, functionMethod, localNamesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.flowable.platform.common.el.FlowableAstFunctionCreatorAndDelegate
getFunctionNamesMethods inherited from interface org.flowable.common.engine.api.delegate.FlowableFunctionDelegate
prefixesMethods inherited from interface org.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate
functionMethod, localName
-
Constructor Details
-
BpmnIdentityLinksFunctionDelegate
public BpmnIdentityLinksFunctionDelegate(boolean strictMode)
-
-
Method Details
-
getUtilClass
- Specified by:
getUtilClassin classBaseIdentityLinksFunctionDelegate
-
prefix
-
determineParameterTypes
- Overrides:
determineParameterTypesin classBaseIdentityLinksFunctionDelegate
-
determineParametersForFunction
protected org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstParameters determineParametersForFunction(String name, org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstParameters parameters, org.flowable.common.engine.impl.el.FlowableExpressionParser parser) Description copied from class:BaseIdentityLinksFunctionDelegateDetermine the parameters for the function without taking into account the strict mode.- Overrides:
determineParametersForFunctionin classBaseIdentityLinksFunctionDelegate- Parameters:
name- the name of the functionparameters- the parameters of the functionparser- the parser
-