Class CaseInstanceJsonMapper
java.lang.Object
com.flowable.platform.service.BaseJsonMapper<CaseInstanceSearchRepresentation>
com.flowable.platform.service.caze.CaseInstanceJsonMapper
- All Implemented Interfaces:
ElasticsearchResultConverter.ResultMapper<CaseInstanceSearchRepresentation>
,CaseInstanceResultMapper
public class CaseInstanceJsonMapper
extends BaseJsonMapper<CaseInstanceSearchRepresentation>
implements CaseInstanceResultMapper
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.flowable.platform.service.caze.CaseInstanceResultMapper
CaseInstanceResultMapper.Enhancer
-
Field Summary
Fields inherited from class com.flowable.platform.service.BaseJsonMapper
objectMapper
-
Constructor Summary
ConstructorDescriptionCaseInstanceJsonMapper
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionconvert
(com.fasterxml.jackson.databind.JsonNode sourceNode) Converts the given source node (not the full Elasticsearch hit document, just the source object within it).convertHit
(com.fasterxml.jackson.databind.JsonNode hitNode) Implement this method, if you want to enhance or enrich the response with additional data outside of the source object within the hit document returned by Elasticsearch.protected CaseInstanceSearchRepresentation
convertWithoutEnhancer
(com.fasterxml.jackson.databind.JsonNode jsonNode) void
setResultMapperEnhancers
(List<CaseInstanceResultMapper.Enhancer> resultMapperEnhancers) Methods inherited from class com.flowable.platform.service.BaseJsonMapper
createScopeSearchInfo, createTranslationSearchResponses, flattenVariables, transformVariableNode
-
Field Details
-
resultMapperEnhancers
-
-
Constructor Details
-
CaseInstanceJsonMapper
public CaseInstanceJsonMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
convertHit
Description copied from interface:ElasticsearchResultConverter.ResultMapper
Implement this method, if you want to enhance or enrich the response with additional data outside of the source object within the hit document returned by Elasticsearch.- Specified by:
convertHit
in interfaceElasticsearchResultConverter.ResultMapper<CaseInstanceSearchRepresentation>
- Parameters:
hitNode
- the full hit document node as being returned by Elasticsearch- Returns:
- the response object with the mapped / extracted data from the hit
-
convert
Description copied from interface:ElasticsearchResultConverter.ResultMapper
Converts the given source node (not the full Elasticsearch hit document, just the source object within it).- Specified by:
convert
in interfaceElasticsearchResultConverter.ResultMapper<CaseInstanceSearchRepresentation>
- Parameters:
sourceNode
- the source object as being returned within the Elasticsearch hit document- Returns:
- the converted response object
-
convertWithoutEnhancer
protected CaseInstanceSearchRepresentation convertWithoutEnhancer(com.fasterxml.jackson.databind.JsonNode jsonNode) -
getResultMapperEnhancers
-
setResultMapperEnhancers
-