Index

A C D E I K M S 
All Classes and Interfaces|All Packages|Serialized Form

A

addDeserializer(Class<T>, StdDeserializer<? extends T>) - Method in class is.codion.framework.json.domain.EntityObjectMapper
Adds a deserializer to this EntityObjectMapper instance.
addSerializer(Class<? extends T>, StdSerializer<T>) - Method in class is.codion.framework.json.domain.EntityObjectMapper
Adds a serializer to this EntityObjectMapper instance.

C

compatibleWith(DomainType) - Method in class is.codion.framework.json.domain.DefaultEntityObjectMapperFactory
 
compatibleWith(DomainType) - Method in interface is.codion.framework.json.domain.EntityObjectMapperFactory
Returns true if this mapper factory is compatible with the given domain type.

D

DefaultEntityObjectMapperFactory - Class in is.codion.framework.json.domain
A default EntityObjectMapperFactory implementation, extend to add custom serialisers/deserializers.

Subclasses should be exposed as a service.
DefaultEntityObjectMapperFactory(DomainType) - Constructor for class is.codion.framework.json.domain.DefaultEntityObjectMapperFactory
Instantiates a new instance compatible with the given domain type.
deserialize(JsonParser, DeserializationContext) - Method in class is.codion.framework.json.domain.EntityDeserializer
 
deserializeCondition(EntityDefinition, JsonNode) - Method in class is.codion.framework.json.domain.EntityObjectMapper
Deserializes the given condition
deserializeEntities(InputStream) - Method in class is.codion.framework.json.domain.EntityObjectMapper
Deserializes the given JSON input stream into a list of Entity instances
deserializeEntities(String) - Method in class is.codion.framework.json.domain.EntityObjectMapper
Deserializes the given JSON string into a list of Entity instances
deserializeKeys(InputStream) - Method in class is.codion.framework.json.domain.EntityObjectMapper
Deserializes the given JSON input stream into a list of Key instances
deserializeKeys(String) - Method in class is.codion.framework.json.domain.EntityObjectMapper
Deserializes the given JSON string into a list of Key instances

E

entities() - Method in class is.codion.framework.json.domain.EntityObjectMapper
 
ENTITY_LIST_REFERENCE - Static variable in class is.codion.framework.json.domain.EntityObjectMapper
 
EntityDeserializer - Class in is.codion.framework.json.domain
 
entityObjectMapper(Entities) - Static method in class is.codion.framework.json.domain.EntityObjectMapper
A factory method for EntityObjectMapper instances.
entityObjectMapper(Entities) - Method in interface is.codion.framework.json.domain.EntityObjectMapperFactory
Creates a new EntityObjectMapper instance.
EntityObjectMapper - Class in is.codion.framework.json.domain
Entity object mapper for mapping Entity and Entity.Key to and from JSON.

For instances use the EntityObjectMapper.entityObjectMapper(Entities) factory method.
EntityObjectMapperFactory - Interface in is.codion.framework.json.domain
Provides EntityObjectMapper instances for a given domain.
DefaultEntityObjectMapperFactory is provided for

I

instance(DomainType) - Static method in interface is.codion.framework.json.domain.EntityObjectMapperFactory
Returns the first available EntityObjectMapperFactory instance compatible with the given domain type, if no such mapper factory is available a default one, compatible with all domain models, is returned.
is.codion.framework.json.domain - module is.codion.framework.json.domain
JSON serialization for domain related classes.

EntityObjectMapper
EntityObjectMapperFactory
is.codion.framework.json.domain - package is.codion.framework.json.domain
 

K

KEY_LIST_REFERENCE - Static variable in class is.codion.framework.json.domain.EntityObjectMapper
 

M

module() - Method in class is.codion.framework.json.domain.EntityObjectMapper
 

S

serializeCondition(Condition, JsonGenerator) - Method in class is.codion.framework.json.domain.EntityObjectMapper
Serializes the given condition
serializeEntities(Collection<Entity>) - Method in class is.codion.framework.json.domain.EntityObjectMapper
Serializes the given Entity instances into a JSON string array
serializeKeys(Collection<Entity.Key>) - Method in class is.codion.framework.json.domain.EntityObjectMapper
Serializes the given Key instances into a JSON string array
setIncludeForeignKeyValues(boolean) - Method in class is.codion.framework.json.domain.EntityObjectMapper
 
setIncludeNullValues(boolean) - Method in class is.codion.framework.json.domain.EntityObjectMapper
 
A C D E I K M S 
All Classes and Interfaces|All Packages|Serialized Form