public class PlatformContentItemVariableConverter extends Object implements com.flowable.core.common.rest.variable.RestVariableConverter, org.springframework.core.Ordered
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER |
protected com.flowable.core.content.api.MetadataService |
metadataService |
protected com.flowable.core.content.api.RenditionService |
renditionService |
protected SimpleContentTypeMapper |
simpleTypeMapper |
| Constructor and Description |
|---|
PlatformContentItemVariableConverter(com.flowable.core.content.api.RenditionService renditionService,
com.flowable.core.content.api.MetadataService metadataService,
SimpleContentTypeMapper simpleTypeMapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvertToRestVariable(Object value) |
Object |
convertToRestVariable(Object value) |
Object |
fromRestValue(Object value) |
int |
getOrder() |
String |
getRestTypeName() |
Class<?> |
getVariableType() |
protected static boolean |
isListOfContentItems(Object value) |
protected static final org.slf4j.Logger LOGGER
protected final com.flowable.core.content.api.RenditionService renditionService
protected final com.flowable.core.content.api.MetadataService metadataService
protected final SimpleContentTypeMapper simpleTypeMapper
public PlatformContentItemVariableConverter(com.flowable.core.content.api.RenditionService renditionService,
com.flowable.core.content.api.MetadataService metadataService,
SimpleContentTypeMapper simpleTypeMapper)
public boolean canConvertToRestVariable(Object value)
public String getRestTypeName()
getRestTypeName in interface org.flowable.common.rest.variable.RestVariableConverterpublic Class<?> getVariableType()
getVariableType in interface org.flowable.common.rest.variable.RestVariableConverterpublic int getOrder()
getOrder in interface org.springframework.core.Orderedprotected static boolean isListOfContentItems(Object value)
Copyright © 2019. All rights reserved.