Package org.nuxeo.elasticsearch.io
Class JsonDocumentModelReader
- java.lang.Object
-
- org.nuxeo.elasticsearch.io.JsonDocumentModelReader
-
public class JsonDocumentModelReader extends Object
Read a DocumentModel from an ES Json export.- Since:
- 5.9.5
-
-
Constructor Summary
Constructors Constructor Description JsonDocumentModelReader(String json)
JsonDocumentModelReader(Map<String,Object> source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
getDocumentModel()
protected Serializable
getProperty(String name)
JsonDocumentModelReader
session(CoreSession session)
-
-
-
Method Detail
-
session
public JsonDocumentModelReader session(CoreSession session)
-
getDocumentModel
public DocumentModel getDocumentModel()
-
getProperty
protected Serializable getProperty(String name)
-
-