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
IOException
public void writeValue(StringWriter writer, List<? extends Entity> entities) throws IOException
IOException
public <T extends Serializable> List<T> readListValue(byte[] result, Class<T> loadClass) throws IOException
IOException
public <T extends Serializable> T readValue(byte[] result, Class<T> loadClass) throws IOException
IOException
public byte[] writeValueAsBytes(Serializable result) throws IOException
IOException
Copyright © 2020 Bonitasoft S.A. All rights reserved.