Class DefaultEntityWriter
- java.lang.Object
-
- com.google.gson.TypeAdapter<T>
-
- de.xima.fc.project.ms.impl.impex.deprecated.ATypeAdapter<Object>
-
- de.xima.fc.project.ms.impl.impex.deprecated.DefaultEntityWriter
-
public class DefaultEntityWriter extends ATypeAdapter<Object>
Default writer for entities that serializes the entity based onExportDetails- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
-
Fields inherited from class de.xima.fc.project.ms.impl.impex.deprecated.ATypeAdapter
elementAdapter, encryptor, exportContext, gson, LOG, SERIALIZATION_KEY_DESC_CLASS_NAME, SERIALIZATION_KEY_DESC_NAME, SERIALIZATION_KEY_DESC_UUID, SERIALIZATION_KEY_UUID_ENTITY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.xima.cmn.dao.interfaces.IEntity<Long>read(com.google.gson.stream.JsonReader in)voidwrite(com.google.gson.stream.JsonWriter out, Object value)-
Methods inherited from class de.xima.fc.project.ms.impl.impex.deprecated.ATypeAdapter
getClassFieldsPair, isEncryptionField
-
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter out, Object value) throws IOException- Specified by:
writein classcom.google.gson.TypeAdapter<Object>- Throws:
IOException
-
read
public de.xima.cmn.dao.interfaces.IEntity<Long> read(com.google.gson.stream.JsonReader in) throws IOException
- Specified by:
readin classcom.google.gson.TypeAdapter<Object>- Throws:
IOException
-
-