Class ServiceInterfaceSerializationManager
- java.lang.Object
-
- lumis.portal.serviceinterface.serialization.ServiceInterfaceSerializationManager
-
- All Implemented Interfaces:
IServiceInterfaceSerializationManager
public class ServiceInterfaceSerializationManager extends java.lang.Object implements IServiceInterfaceSerializationManager
Manager for Service Interface serialization- Since:
- 4.0.7
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ConfigForeignKey>
styleForeignKeys
-
Constructor Summary
Constructors Constructor Description ServiceInterfaceSerializationManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deserializeStyle(DeserializationContext deserializationContext, ServiceInterfaceStyleSerializableConfig serviceInterfaceStyleSerializableConfig)
Deserialize a service interface style.SerializationMessageConfigNode
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInterfaceConfig serviceInterfaceConfig)
Get aSerializationMessageConfigNode
object containing partially recursive information about a service interface.ServiceInterfaceStyleSerializableConfig
serializeStyle(SerializationContext serializationContext, java.lang.String serviceInterfaceStyleId, java.lang.String serviceInterfaceId)
Serialize a service interface style.void
setupSerializationContext(BaseSerializationContext serializationContext)
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.void
updateStyleDependency(DeserializationContext deserializationContext, ServiceInterfaceStyleSerializableConfig serviceInterfaceStyleSerializableConfig)
Updates the style isolation dependency.
-
-
-
Field Detail
-
styleForeignKeys
protected final java.util.List<ConfigForeignKey> styleForeignKeys
-
-
Method Detail
-
deserializeStyle
public void deserializeStyle(DeserializationContext deserializationContext, ServiceInterfaceStyleSerializableConfig serviceInterfaceStyleSerializableConfig) throws PortalException
Description copied from interface:IServiceInterfaceSerializationManager
Deserialize a service interface style.- Specified by:
deserializeStyle
in interfaceIServiceInterfaceSerializationManager
- Throws:
PortalException
-
serializeStyle
public ServiceInterfaceStyleSerializableConfig serializeStyle(SerializationContext serializationContext, java.lang.String serviceInterfaceStyleId, java.lang.String serviceInterfaceId) throws PortalException
Description copied from interface:IServiceInterfaceSerializationManager
Serialize a service interface style.- Specified by:
serializeStyle
in interfaceIServiceInterfaceSerializationManager
- Returns:
- Throws:
PortalException
-
setupSerializationContext
public void setupSerializationContext(BaseSerializationContext serializationContext)
Description copied from interface:IServiceInterfaceSerializationManager
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.- Specified by:
setupSerializationContext
in interfaceIServiceInterfaceSerializationManager
-
getSerializationMessageConfigNode
public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInterfaceConfig serviceInterfaceConfig) throws PortalException
Description copied from interface:IServiceInterfaceSerializationManager
Get aSerializationMessageConfigNode
object containing partially recursive information about a service interface.- Specified by:
getSerializationMessageConfigNode
in interfaceIServiceInterfaceSerializationManager
- Returns:
- Throws:
PortalException
-
updateStyleDependency
public void updateStyleDependency(DeserializationContext deserializationContext, ServiceInterfaceStyleSerializableConfig serviceInterfaceStyleSerializableConfig) throws PortalException
Description copied from interface:IServiceInterfaceSerializationManager
Updates the style isolation dependency.- Specified by:
updateStyleDependency
in interfaceIServiceInterfaceSerializationManager
- Parameters:
deserializationContext
- the deserialization Context object.serviceInterfaceStyleSerializableConfig
- object that contains all informations about the style to be deserialized.- Throws:
PortalException
- if any error occurs during the process.
-
-