Package com.flowable.platform.service
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 Summary
Modifier and TypeFieldDescriptionprotected com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ScopeSearchInfo
createScopeSearchInfo
(com.fasterxml.jackson.databind.JsonNode jsonNode, String prefix) protected com.fasterxml.jackson.databind.node.ObjectNode
createTranslationSearchResponses
(com.fasterxml.jackson.databind.JsonNode jsonNode) protected void
flattenVariables
(com.fasterxml.jackson.databind.JsonNode jsonNode, Map<String, Object> variables, Map<String, Object> parent, Map<String, Object> root) transformVariableNode
(com.fasterxml.jackson.databind.JsonNode node) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.flowable.indexing.utils.ElasticsearchResultConverter.ResultMapper
convert, convertHit
-
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
-
transformVariableNode
-