Class PlatformContentItemVariableConverter

  • All Implemented Interfaces:
    com.flowable.core.common.rest.variable.RestVariableConverter, org.flowable.common.rest.variable.RestVariableConverter, org.springframework.core.Ordered

    public class PlatformContentItemVariableConverter
    extends java.lang.Object
    implements com.flowable.core.common.rest.variable.RestVariableConverter, org.springframework.core.Ordered
    Author:
    Filip Hrisafov
    • Field Detail

      • LOGGER

        protected static final org.slf4j.Logger LOGGER
      • renditionService

        protected final com.flowable.core.content.api.RenditionService renditionService
      • metadataService

        protected final com.flowable.core.content.api.MetadataService metadataService
    • Constructor Detail

      • PlatformContentItemVariableConverter

        public PlatformContentItemVariableConverter​(com.flowable.core.content.api.RenditionService renditionService,
                                                    com.flowable.core.content.api.MetadataService metadataService,
                                                    SimpleContentTypeMapper simpleTypeMapper)
    • Method Detail

      • fromRestValue

        public java.lang.Object fromRestValue​(java.lang.Object value)
        Specified by:
        fromRestValue in interface com.flowable.core.common.rest.variable.RestVariableConverter
      • convertToRestVariable

        public java.lang.Object convertToRestVariable​(java.lang.Object value)
        Specified by:
        convertToRestVariable in interface com.flowable.core.common.rest.variable.RestVariableConverter
      • canConvertToRestVariable

        public boolean canConvertToRestVariable​(java.lang.Object value)
        Specified by:
        canConvertToRestVariable in interface com.flowable.core.common.rest.variable.RestVariableConverter
      • getRestTypeName

        public java.lang.String getRestTypeName()
        Specified by:
        getRestTypeName in interface org.flowable.common.rest.variable.RestVariableConverter
      • getVariableType

        public java.lang.Class<?> getVariableType()
        Specified by:
        getVariableType in interface org.flowable.common.rest.variable.RestVariableConverter
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • isListOfContentItems

        protected static boolean isListOfContentItems​(java.lang.Object value)