Class PlatformFormUtil

java.lang.Object
com.flowable.platform.service.util.PlatformFormUtil

public class PlatformFormUtil
extends java.lang.Object
  • Method Summary

    Modifier and Type Method Description
    protected static java.util.Map<java.lang.String,​java.lang.Object> asMap​(com.fasterxml.jackson.databind.node.ObjectNode objectNode, PlatformContentItemService contentItemService, com.flowable.core.content.api.RenditionService renditionService, com.flowable.core.content.api.MetadataService metadataService, SimpleContentTypeMapper simpleTypeMapper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)  
    static void copyAndTransformSavedFormInstanceValues​(java.util.Map<java.lang.String,​java.lang.Object> savedFormVariables, java.util.Map<java.lang.String,​java.lang.Object> variableMap, PlatformContentItemService contentItemService, com.flowable.core.content.api.RenditionService renditionService, com.flowable.core.content.api.MetadataService metadataService, SimpleContentTypeMapper simpleTypeMapper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)  
    protected static void copyToMap​(java.util.Map<java.lang.String,​java.lang.Object> variableMap, java.lang.String formVariableName, com.fasterxml.jackson.databind.JsonNode valueNode, PlatformContentItemService contentItemService, com.flowable.core.content.api.RenditionService renditionService, com.flowable.core.content.api.MetadataService metadataService, SimpleContentTypeMapper simpleTypeMapper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)  
    protected static java.lang.String getLatestRenditionUrlForContentItem​(org.flowable.content.api.ContentItem contentItem, java.lang.String mimeType, com.flowable.core.content.api.RenditionService renditionService)  
    static java.lang.String getStartFormFieldValidation​(java.util.Map<java.lang.String,​java.util.List<org.flowable.cmmn.model.ExtensionElement>> extensionElements)  
    static boolean isFormFieldValidationEnabled​(org.flowable.common.engine.api.variable.VariableContainer variableContainer, java.lang.String formFieldValidationExpression)  
    static ContentItemRepresentation transformContentItem​(com.flowable.content.engine.impl.persistence.entity.ContentItemEntity contentItem, com.flowable.core.content.api.RenditionService renditionService, com.flowable.core.content.api.MetadataService metadataService, SimpleContentTypeMapper simpleTypeMapper)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • copyAndTransformSavedFormInstanceValues

      public static void copyAndTransformSavedFormInstanceValues​(java.util.Map<java.lang.String,​java.lang.Object> savedFormVariables, java.util.Map<java.lang.String,​java.lang.Object> variableMap, PlatformContentItemService contentItemService, com.flowable.core.content.api.RenditionService renditionService, com.flowable.core.content.api.MetadataService metadataService, SimpleContentTypeMapper simpleTypeMapper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • transformContentItem

      public static ContentItemRepresentation transformContentItem​(com.flowable.content.engine.impl.persistence.entity.ContentItemEntity contentItem, com.flowable.core.content.api.RenditionService renditionService, com.flowable.core.content.api.MetadataService metadataService, SimpleContentTypeMapper simpleTypeMapper)
    • isFormFieldValidationEnabled

      public static boolean isFormFieldValidationEnabled​(org.flowable.common.engine.api.variable.VariableContainer variableContainer, java.lang.String formFieldValidationExpression)
    • getStartFormFieldValidation

      public static java.lang.String getStartFormFieldValidation​(java.util.Map<java.lang.String,​java.util.List<org.flowable.cmmn.model.ExtensionElement>> extensionElements)
    • copyToMap

      protected static void copyToMap​(java.util.Map<java.lang.String,​java.lang.Object> variableMap, java.lang.String formVariableName, com.fasterxml.jackson.databind.JsonNode valueNode, PlatformContentItemService contentItemService, com.flowable.core.content.api.RenditionService renditionService, com.flowable.core.content.api.MetadataService metadataService, SimpleContentTypeMapper simpleTypeMapper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • getLatestRenditionUrlForContentItem

      protected static java.lang.String getLatestRenditionUrlForContentItem​(org.flowable.content.api.ContentItem contentItem, java.lang.String mimeType, com.flowable.core.content.api.RenditionService renditionService)
    • asMap

      protected static java.util.Map<java.lang.String,​java.lang.Object> asMap​(com.fasterxml.jackson.databind.node.ObjectNode objectNode, PlatformContentItemService contentItemService, com.flowable.core.content.api.RenditionService renditionService, com.flowable.core.content.api.MetadataService metadataService, SimpleContentTypeMapper simpleTypeMapper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)