Class SavedSearchRequestReader
java.lang.Object
org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader<EntityType>
org.nuxeo.ecm.core.io.marshallers.json.EntityJsonReader<SavedSearchRequest>
org.nuxeo.ecm.platform.search.core.SavedSearchRequestReader
- All Implemented Interfaces:
Marshaller<SavedSearchRequest>
,Reader<SavedSearchRequest>
@Setup(mode=SINGLETON,
priority=2000)
public class SavedSearchRequestReader
extends EntityJsonReader<SavedSearchRequest>
- Since:
- 8.3
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader
ctx, registry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getEntryValue
(com.fasterxml.jackson.databind.ObjectMapper mapper, com.fasterxml.jackson.databind.JsonNode valueObject) protected SavedSearchRequest
readEntity
(com.fasterxml.jackson.databind.JsonNode jn) Implement this method to read the entity.Methods inherited from class org.nuxeo.ecm.core.io.marshallers.json.EntityJsonReader
read
Methods inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader
accept, getBooleanField, getLongField, getNode, getStringField, getStringListField, read, readEntity
-
Constructor Details
-
SavedSearchRequestReader
public SavedSearchRequestReader()
-
-
Method Details
-
readEntity
protected SavedSearchRequest readEntity(com.fasterxml.jackson.databind.JsonNode jn) throws com.fasterxml.jackson.core.JsonProcessingException Description copied from class:EntityJsonReader
Implement this method to read the entity.- Specified by:
readEntity
in classEntityJsonReader<SavedSearchRequest>
- Parameters:
jn
- AJsonNode
pointing at the root of the json input.- Returns:
- The parsed entity.
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getEntryValue
protected String getEntryValue(com.fasterxml.jackson.databind.ObjectMapper mapper, com.fasterxml.jackson.databind.JsonNode valueObject) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-