Class CmmnBusinessFunctionDelegate
java.lang.Object
com.flowable.platform.common.el.cmmn.CmmnBusinessFunctionDelegate
- 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
public class CmmnBusinessFunctionDelegate
extends Object
implements org.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate, FlowableAstFunctionCreatorAndDelegate
The following expressions are valid. All of them (unless otherwise specified) are also applicable in strict mode.
Business Key
cmmn:getBusinessKey()- Get the business key of the current case. Only applicable in a case scopecmmn:getBusinessKey(<caseId>)- Get the business key of the case with the given caseIdcmmn:setBusinessKey(<businessKey>)- Set the business key of the current case to the given businessKey. Only applicable in a case scopecmmn:setBusinessKey(<caseId>, <businessKey>)- Set the business key of the case with the given caseId to the given businessKey
Business Status
cmmn:getBusinessStatus()- Get the business status of the current case. Only applicable in a case scopecmmn:getBusinessStatus(<caseId>)- Get the business status of the case with the given caseIdcmmn:setBusinessStatus(<businessStatus>)- Set the business status of the current case to the given businessStatus. Only applicable in a case scopecmmn:setBusinessStatus(<caseId>, <businessStatus>)- Set the business status of the case with the given caseId to the given businessStatus
- Author:
- Filip Hrisafov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstFunctioncreateFunction(String name, int index, org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstParameters parameters, boolean varargs, org.flowable.common.engine.impl.el.FlowableExpressionParser parser) protected 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) protected Class<?>[]determineParameterTypes(String localName) functionMethod(String prefix, String localName) prefix()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-
Field Details
-
strictMode
protected final boolean strictMode
-
-
Constructor Details
-
CmmnBusinessFunctionDelegate
public CmmnBusinessFunctionDelegate(boolean strictMode)
-
-
Method Details
-
prefix
- Specified by:
prefixin interfaceorg.flowable.common.engine.api.delegate.FlowableFunctionDelegate
-
localNames
- Specified by:
localNamesin interfaceorg.flowable.common.engine.api.delegate.FlowableFunctionDelegate- Specified by:
localNamesin interfaceorg.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate
-
functionMethod
- Specified by:
functionMethodin interfaceorg.flowable.common.engine.api.delegate.FlowableFunctionDelegate- Specified by:
functionMethodin interfaceorg.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate- Throws:
NoSuchMethodException
-
determineParameterTypes
-
createFunction
public org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstFunction createFunction(String name, int index, org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstParameters parameters, boolean varargs, org.flowable.common.engine.impl.el.FlowableExpressionParser parser) - Specified by:
createFunctionin interfaceorg.flowable.common.engine.impl.el.FlowableAstFunctionCreator
-
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)
-