Class PlatformContentItemVariableConverter
java.lang.Object
com.flowable.platform.service.content.PlatformContentItemVariableConverter
- All Implemented Interfaces:
RestVariableConverter
,RestVariableConverter
,Ordered
public class PlatformContentItemVariableConverter
extends Object
implements RestVariableConverter, Ordered
- Author:
- Filip Hrisafov
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final org.slf4j.Logger
protected final MetadataService
protected final RenditionService
protected final SimpleContentTypeMapper
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionPlatformContentItemVariableConverter
(RenditionService renditionService, MetadataService metadataService, SimpleContentTypeMapper simpleTypeMapper) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canConvertToRestVariable
(Object value) convertToRestVariable
(Object value) fromRestValue
(Object value) int
getOrder()
Class<?>
protected static boolean
isListOfContentItems
(Object value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.flowable.core.common.rest.variable.RestVariableConverter
convertVariableValue, getVariableValue
-
Field Details
-
LOGGER
protected static final org.slf4j.Logger LOGGER -
renditionService
-
metadataService
-
simpleTypeMapper
-
-
Constructor Details
-
PlatformContentItemVariableConverter
public PlatformContentItemVariableConverter(RenditionService renditionService, MetadataService metadataService, SimpleContentTypeMapper simpleTypeMapper)
-
-
Method Details
-
fromRestValue
- Specified by:
fromRestValue
in interfaceRestVariableConverter
-
convertToRestVariable
- Specified by:
convertToRestVariable
in interfaceRestVariableConverter
-
canConvertToRestVariable
- Specified by:
canConvertToRestVariable
in interfaceRestVariableConverter
-
getRestTypeName
- Specified by:
getRestTypeName
in interfaceRestVariableConverter
-
getVariableType
- Specified by:
getVariableType
in interfaceRestVariableConverter
-
getOrder
public int getOrder() -
isListOfContentItems
-