Class BaseJsonMapper<T>

java.lang.Object
com.flowable.platform.service.BaseJsonMapper<T>
All Implemented Interfaces:
ElasticsearchResultConverter.ResultMapper<T>
Direct Known Subclasses:
CaseInstanceJsonMapper, ContentItemJsonMapper, ProcessInstanceJsonMapper, TaskJsonMapper, WorkInstanceJsonMapper

public abstract class BaseJsonMapper<T> extends Object implements ElasticsearchResultConverter.ResultMapper<T>
  • Field Details

    • objectMapper

      protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
  • Constructor Details

    • BaseJsonMapper

      public BaseJsonMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
  • Method Details

    • createTranslationSearchResponses

      protected com.fasterxml.jackson.databind.node.ObjectNode createTranslationSearchResponses(com.fasterxml.jackson.databind.JsonNode jsonNode)
    • createScopeSearchInfo

      protected ScopeSearchInfo createScopeSearchInfo(com.fasterxml.jackson.databind.JsonNode jsonNode, String prefix)
    • flattenVariables

      protected void flattenVariables(com.fasterxml.jackson.databind.JsonNode jsonNode, Map<String,Object> variables, Map<String,Object> parent, Map<String,Object> root)
    • transformVariableNode

      protected Map<String,Object> transformVariableNode(com.fasterxml.jackson.databind.JsonNode node)