public class BusinessDataObjectMapper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
| Constructor and Description |
|---|
BusinessDataObjectMapper() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Serializable> |
readListValue(byte[] result,
Class<T> loadClass) |
<T extends Serializable> |
readValue(byte[] result,
Class<T> loadClass) |
void |
writeValue(StringWriter writer,
Entity entity) |
void |
writeValue(StringWriter writer,
List<? extends Entity> entities) |
byte[] |
writeValueAsBytes(Serializable result) |
public void writeValue(StringWriter writer, Entity entity) throws IOException
IOExceptionpublic void writeValue(StringWriter writer, List<? extends Entity> entities) throws IOException
IOExceptionpublic <T extends Serializable> List<T> readListValue(byte[] result, Class<T> loadClass) throws IOException
IOExceptionpublic <T extends Serializable> T readValue(byte[] result, Class<T> loadClass) throws IOException
IOExceptionpublic byte[] writeValueAsBytes(Serializable result) throws IOException
IOExceptionCopyright © 2018 Bonitasoft S.A.. All rights reserved.