Class CmmnIdentityLinksFunctionDelegate
java.lang.Object
com.flowable.platform.common.el.BaseIdentityLinksFunctionDelegate
com.flowable.platform.common.el.cmmn.CmmnIdentityLinksFunctionDelegate
- 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
cmmn:getAssignee()- Get the assignee of the current case. Only applicable in a case scopecmmn:getAssignee(<caseId>)- Get the assignee of the case with the given caseIdcmmn:removeAssignee()- Remove the assignee of the current case. Only applicable in a case scopecmmn:removeAssignee(<caseId>)- Remove the assignee of the case with the given caseIdcmmn:setAssignee(<userId>)- Set the assignee of the current case to the user with the given userId. Only applicable in a case scopecmmn:setAssignee(<caseId>, <userId>)- Set the assignee of the case with the given caseId to the user with the given userId
Owner
cmmn:getOwner()- Get the owner of the current case. Only applicable in a case scopecmmn:getOwner(<caseId>)- Get the owner of the case with the given caseIdcmmn:removeOwner()- Remove the owner of the current case. Only applicable in a case scopecmmn:removeOwner(<caseId>)- Remove the owner of the case with the given caseIdcmmn:setOwner(<userId>)- Set the owner of the current case to the user with the given userId. Only applicable in a case scopecmmn:setOwner(<caseId>, <userId>)- Set the owner of the case with the given caseId to the user with the given userId
User Candidates
cmmn:addCandidateUser(<userId>)- Add the user with the given userId as a candidate user of the current case. Only applicable in a case scopecmmn:addCandidateUser(<caseId>, <userId>)- Add the user with the given userId as a candidate user of the case with the given caseIdcmmn:removeCandidateUser(<userId>)- Remove the user with the given userId as a candidate user of the current case. Only applicable in a case scopecmmn:removeCandidateUser(<caseId>, <userId>)- Remove the user with the given userId as a candidate user of the case with the given caseIdcmmn:addCandidateUsers(<userIds>)- Add the users with the given userIds as candidate users of the current case. Only applicable in a case scopecmmn:addCandidateUsers(<caseId>, <userIds>)- Add the users with the given userIds as candidate users of the case with the given caseIdcmmn:removeCandidateUsers(<userIds>)- Remove the users with the given userIds as candidate users of the current case. Only applicable in a case scopecmmn:removeCandidateUsers(<caseId>, <userIds>)- Remove the users with the given userIds as candidate users of the case with the given caseId
Group Candidates
cmmn:addCandidateGroup(<groupKey>)- Add the group with the given groupKey as a candidate group of the current case. Only applicable in a case scopecmmn:addCandidateGroup(<caseId>, <groupKey>)- Add the group with the given groupKey as a candidate group of the case with the given caseIdcmmn:removeCandidateGroup(<groupKey>)- Remove the group with the given groupKey as a candidate group of the current case. Only applicable in a case scopecmmn:removeCandidateGroup(<caseId>, <groupKey>)- Remove the group with the given groupKey as a candidate group of the case with the given caseIdcmmn:addCandidateGroups(<groupKeys>)- Add the groups with the given groupKeys as candidate groups of the current case. Only applicable in a case scopecmmn:addCandidateGroups(<caseId>, <groupKeys>)- Add the groups with the given groupKeys as candidate groups of the case with the given caseIdcmmn:removeCandidateGroups(<groupKeys>)- Remove the groups with the given groupKeys as candidate groups of the current case. Only applicable in a case scopecmmn:removeCandidateGroups(<caseId>, <groupKeys>)- Remove the groups with the given groupKeys as candidate groups of the case with the given caseId
User Participants
cmmn:addParticipantUser(<userId>)- Add the user with the given userId as a participant user of the current case. Only applicable in a case scopecmmn:addParticipantUser(<caseId>, <userId>)- Add the user with the given userId as a participant user of the case with the given caseIdcmmn:removeParticipantUser(<userId>)- Remove the user with the given userId as a participant user of the current case. Only applicable in a case scopecmmn:removeParticipantUser(<caseId>, <userId>)- Remove the user with the given userId as a participant user of the case with the given caseIdcmmn:addParticipantUsers(<userIds>)- Add the users with the given userIds as participant users of the current case. Only applicable in a case scopecmmn:addParticipantUsers(<caseId>, <userIds>)- Add the users with the given userIds as participant users of the case with the given caseIdcmmn:removeParticipantUsers(<userIds>)- Remove the users with the given userIds as participant users of the current case. Only applicable in a case scopecmmn:removeParticipantUsers(<caseId>, <userIds>)- Remove the users with the given userIds as participant users of the case with the given caseId
Group Participants
cmmn:addParticipantGroup(<groupKey>)- Add the group with the given groupKey as a participant group of the current case. Only applicable in a case scopecmmn:addParticipantGroup(<caseId>, <groupKey>)- Add the group with the given groupKey as a participant group of the case with the given caseIdcmmn:removeParticipantGroup(<groupKey>)- Remove the group with the given groupKey as a participant group of the current case. Only applicable in a case scopecmmn:removeParticipantGroup(<caseId>, <groupKey>)- Remove the group with the given groupKey as a participant group of the case with the given caseIdcmmn:addParticipantGroups(<groupKeys>)- Add the groups with the given groupKeys as participant groups of the current case. Only applicable in a case scopecmmn:addParticipantGroups(<caseId>, <groupKeys>)- Add the groups with the given groupKeys as participant groups of the case with the given caseIdcmmn:removeParticipantGroups(<groupKeys>)- Remove the groups with the given groupKeys as participant groups of the current case. Only applicable in a case scopecmmn:removeParticipantGroups(<caseId>, <groupKeys>)- Remove the groups with the given groupKeys as participant groups of the case with the given caseId
User Watchers
cmmn:addWatcherUser(<userId>)- Add the user with the given userId as a watcher user of the current case. Only applicable in a case scopecmmn:addWatcherUser(<caseId>, <userId>)- Add the user with the given userId as a watcher user of the case with the given caseIdcmmn:removeWatcherUser(<userId>)- Remove the user with the given userId as a watcher user of the current case. Only applicable in a case scopecmmn:removeWatcherUser(<caseId>, <userId>)- Remove the user with the given userId as a watcher user of the case with the given caseIdcmmn:addWatcherUsers(<userIds>)- Add the users with the given userIds as watcher users of the current case. Only applicable in a case scopecmmn:addWatcherUsers(<caseId>, <userIds>)- Add the users with the given userIds as watcher users of the case with the given caseIdcmmn:removeWatcherUsers(<userIds>)- Remove the users with the given userIds as watcher users of the current case. Only applicable in a case scopecmmn:removeWatcherUsers(<caseId>, <userIds>)- Remove the users with the given userIds as watcher users of the case with the given caseId
Group Watchers
cmmn:addWatcherGroup(<groupKey>)- Add the group with the given groupKey as a watcher group of the current case. Only applicable in a case scopecmmn:addWatcherGroup(<caseId>, <groupKey>)- Add the group with the given groupKey as a watcher group of the case with the given caseIdcmmn:removeWatcherGroup(<groupKey>)- Remove the group with the given groupKey as a watcher group of the current case. Only applicable in a case scopecmmn:removeWatcherGroup(<caseId>, <groupKey>)- Remove the group with the given groupKey as a watcher group of the case with the given caseIdcmmn:addWatcherGroups(<groupKeys>)- Add the groups with the given groupKeys as watcher groups of the current case. Only applicable in a case scopecmmn:addWatcherGroups(<caseId>, <groupKeys>)- Add the groups with the given groupKeys as watcher groups of the case with the given caseIdcmmn:removeWatcherGroups(<groupKeys>)- Remove the groups with the given groupKeys as watcher groups of the current case. Only applicable in a case scopecmmn:removeWatcherGroups(<caseId>, <groupKeys>)- Remove the groups with the given groupKeys as watcher groups of the case with the given caseId
- 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
-
CmmnIdentityLinksFunctionDelegate
public CmmnIdentityLinksFunctionDelegate(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
-