Class ContentItemFunctionDelegate
java.lang.Object
com.flowable.platform.common.el.content.ContentItemFunctionDelegate
- 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 ContentItemFunctionDelegate
extends Object
implements org.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate, FlowableAstFunctionCreatorAndDelegate
The following expressions are valid:
content:getContentItem(<contentItemId>)- Get the content item with the given idcontent:getContentItemData(<contentItemId>)- Get the binary data of the content item as an InputStreamcontent:getMetadataValues(<contentItemId>)- Get all metadata values for the content item with the given idcontent:getMetadataValue(<contentItemId>, <metadataName>)- Get a specific metadata value for the content item with the given idcontent:getRenditionItem(<renditionItemId>)- Get the rendition item with the given idcontent:getRenditionByType(<contentItemId>, <renditionType>)- Get the rendition item for the given content item and rendition type (e.g. pdf, thumbnail, structured)content:getRenditionItemData(<renditionItemId>)- Get the binary data of the rendition item as an InputStreamcontent:getRenditionItemDataByType(<contentItemId>, <renditionType>)- Get the binary data of the rendition item matching the given type for the content item
- Author:
- Tijs Rademakers
-
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 Class<?>[]determineParameterTypes(String localName) functionMethod(String prefix, String localName) prefix()Methods 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
-
ContentItemFunctionDelegate
public ContentItemFunctionDelegate()
-
-
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
-