Class TaskIdentityLinksFunctionDelegate
java.lang.Object
com.flowable.platform.common.el.BaseIdentityLinksFunctionDelegate
com.flowable.platform.common.el.task.TaskIdentityLinksFunctionDelegate
- 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
task:getAssignee()- Get the assignee of the current task. Only applicable in a task listenertask:getAssignee(<taskId>)- Get the assignee of the task with the given taskIdtask:removeAssignee()- Remove the assignee of the current task. Only applicable in a task listenertask:removeAssignee(<taskId>)- Remove the assignee of the task with the given taskIdtask:setAssignee(<userId>)- Set the assignee of the current task to the user with the given userId. Only applicable in a task listenertask:setAssignee(<taskId>, <userId>)- Set the assignee of the task with the given taskId to the user with the given userId
Owner
task:getOwner()- Get the owner of the current task. Only applicable in a task listenertask:getOwner(<taskId>)- Get the owner of the task with the given taskIdtask:removeOwner()- Remove the owner of the current task. Only applicable in a task listenertask:removeOwner(<taskId>)- Remove the owner of the task with the given taskIdtask:setOwner(<userId>)- Set the owner of the current task to the user with the given userId. Only applicable in a task listenertask:setOwner(<taskId>, <userId>)- Set the owner of the task with the given taskId to the user with the given userId
User Candidates
task:addCandidateUser(<userId>)- Add the user with the given userId as a candidate user of the current task. Only applicable in a task listenertask:addCandidateUser(<taskId>, <userId>)- Add the user with the given userId as a candidate user of the task with the given taskIdtask:removeCandidateUser(<userId>)- Remove the user with the given userId as a candidate user of the current task. Only applicable in a task listenertask:removeCandidateUser(<taskId>, <userId>)- Remove the user with the given userId as a candidate user of the task with the given taskIdtask:addCandidateUsers(<userIds>)- Add the users with the given userIds as candidate users of the current task. Only applicable in a task listenertask:addCandidateUsers(<taskId>, <userIds>)- Add the users with the given userIds as candidate users of the task with the given taskIdtask:removeCandidateUsers(<userIds>)- Remove the users with the given userIds as candidate users of the current task. Only applicable in a task listenertask:removeCandidateUsers(<taskId>, <userIds>)- Remove the users with the given userIds as candidate users of the task with the given taskId
Group Candidates
task:addCandidateGroup(<groupKey>)- Add the group with the given groupKey as a candidate group of the current task. Only applicable in a task listenertask:addCandidateGroup(<taskId>, <groupKey>)- Add the group with the given groupKey as a candidate group of the task with the given taskIdtask:removeCandidateGroup(<groupKey>)- Remove the group with the given groupKey as a candidate group of the current task. Only applicable in a task listenertask:removeCandidateGroup(<taskId>, <groupKey>)- Remove the group with the given groupKey as a candidate group of the task with the given taskIdtask:addCandidateGroups(<groupKeys>)- Add the groups with the given groupKeys as candidate groups of the current task. Only applicable in a task listenertask:addCandidateGroups(<taskId>, <groupKeys>)- Add the groups with the given groupKeys as candidate groups of the task with the given taskIdtask:removeCandidateGroups(<groupKeys>)- Remove the groups with the given groupKeys as candidate groups of the current task. Only applicable in a task listenertask:removeCandidateGroups(<taskId>, <groupKeys>)- Remove the groups with the given groupKeys as candidate groups of the task with the given taskId
User Participants
task:addParticipantUser(<userId>)- Add the user with the given userId as a participant user of the current task. Only applicable in a task listenertask:addParticipantUser(<taskId>, <userId>)- Add the user with the given userId as a participant user of the task with the given taskIdtask:removeParticipantUser(<userId>)- Remove the user with the given userId as a participant user of the current task. Only applicable in a task listenertask:removeParticipantUser(<taskId>, <userId>)- Remove the user with the given userId as a participant user of the task with the given taskIdtask:addParticipantUsers(<userIds>)- Add the users with the given userIds as participant users of the current task. Only applicable in a task listenertask:addParticipantUsers(<taskId>, <userIds>)- Add the users with the given userIds as participant users of the task with the given taskIdtask:removeParticipantUsers(<userIds>)- Remove the users with the given userIds as participant users of the current task. Only applicable in a task listenertask:removeParticipantUsers(<taskId>, <userIds>)- Remove the users with the given userIds as participant users of the task with the given taskId
Group Participants
task:addParticipantGroup(<groupKey>)- Add the group with the given groupKey as a participant group of the current task. Only applicable in a task listenertask:addParticipantGroup(<taskId>, <groupKey>)- Add the group with the given groupKey as a participant group of the task with the given taskIdtask:removeParticipantGroup(<groupKey>)- Remove the group with the given groupKey as a participant group of the current task. Only applicable in a task listenertask:removeParticipantGroup(<taskId>, <groupKey>)- Remove the group with the given groupKey as a participant group of the task with the given taskIdtask:addParticipantGroups(<groupKeys>)- Add the groups with the given groupKeys as participant groups of the current task. Only applicable in a task listenertask:addParticipantGroups(<taskId>, <groupKeys>)- Add the groups with the given groupKeys as participant groups of the task with the given taskIdtask:removeParticipantGroups(<groupKeys>)- Remove the groups with the given groupKeys as participant groups of the current task. Only applicable in a task listenertask:removeParticipantGroups(<taskId>, <groupKeys>)- Remove the groups with the given groupKeys as participant groups of the task with the given taskId
User Watchers
task:addWatcherUser(<userId>)- Add the user with the given userId as a watcher user of the current task. Only applicable in a task listenertask:addWatcherUser(<taskId>, <userId>)- Add the user with the given userId as a watcher user of the task with the given taskIdtask:removeWatcherUser(<userId>)- Remove the user with the given userId as a watcher user of the current task. Only applicable in a task listenertask:removeWatcherUser(<taskId>, <userId>)- Remove the user with the given userId as a watcher user of the task with the given taskIdtask:addWatcherUsers(<userIds>)- Add the users with the given userIds as watcher users of the current task. Only applicable in a task listenertask:addWatcherUsers(<taskId>, <userIds>)- Add the users with the given userIds as watcher users of the task with the given taskIdtask:removeWatcherUsers(<userIds>)- Remove the users with the given userIds as watcher users of the current task. Only applicable in a task listenertask:removeWatcherUsers(<taskId>, <userIds>)- Remove the users with the given userIds as watcher users of the task with the given taskId
Group Watchers
task:addWatcherGroup(<groupKey>)- Add the group with the given groupKey as a watcher group of the current task. Only applicable in a task listenertask:addWatcherGroup(<taskId>, <groupKey>)- Add the group with the given groupKey as a watcher group of the task with the given taskIdtask:removeWatcherGroup(<groupKey>)- Remove the group with the given groupKey as a watcher group of the current task. Only applicable in a task listenertask:removeWatcherGroup(<taskId>, <groupKey>)- Remove the group with the given groupKey as a watcher group of the task with the given taskIdtask:addWatcherGroups(<groupKeys>)- Add the groups with the given groupKeys as watcher groups of the current task. Only applicable in a task listenertask:addWatcherGroups(<taskId>, <groupKeys>)- Add the groups with the given groupKeys as watcher groups of the task with the given taskIdtask:removeWatcherGroups(<groupKeys>)- Remove the groups with the given groupKeys as watcher groups of the current task. Only applicable in a task listenertask:removeWatcherGroups(<taskId>, <groupKeys>)- Remove the groups with the given groupKeys as watcher groups of the task with the given taskId
- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from class com.flowable.platform.common.el.BaseIdentityLinksFunctionDelegate
scopeIdKey, strictMode, variableScopeKey -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.flowable.platform.common.el.BaseIdentityLinksFunctionDelegate
createFunction, determineParametersForFunction, determineParameterTypes, 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
-
TaskIdentityLinksFunctionDelegate
public TaskIdentityLinksFunctionDelegate(boolean strictMode)
-
-
Method Details
-
getUtilClass
- Specified by:
getUtilClassin classBaseIdentityLinksFunctionDelegate
-
prefix
-