lumis.portal.serviceinterface.serialization
Class ServiceInterfaceSerializationManager

Package class diagram package ServiceInterfaceSerializationManager
java.lang.Object
  extended by lumis.portal.serviceinterface.serialization.ServiceInterfaceSerializationManager
All Implemented Interfaces:
IServiceInterfaceSerializationManager

public class ServiceInterfaceSerializationManager
extends Object
implements IServiceInterfaceSerializationManager

Manager for Service Interface serialization

Since:
4.0.7

Field Summary
protected  List<ConfigForeignKey> styleForeignKeys
           
 
Constructor Summary
ServiceInterfaceSerializationManager()
           
 
Method Summary
 void deserializeStyle(DeserializationContext deserializationContext, ServiceInterfaceStyleSerializableConfig serviceInterfaceStyleSerializableConfig)
          Deserialize a service interface style.
 SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInterfaceConfig serviceInterfaceConfig)
          Get a SerializationMessageConfigNode object containing partially recursive information about a service interface.
 ServiceInterfaceStyleSerializableConfig serializeStyle(SerializationContext serializationContext, String serviceInterfaceStyleId, 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

styleForeignKeys

protected final List<ConfigForeignKey> styleForeignKeys
Constructor Detail

ServiceInterfaceSerializationManager

public ServiceInterfaceSerializationManager()
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 interface IServiceInterfaceSerializationManager
Throws:
PortalException

serializeStyle

public ServiceInterfaceStyleSerializableConfig serializeStyle(SerializationContext serializationContext,
                                                              String serviceInterfaceStyleId,
                                                              String serviceInterfaceId)
                                                       throws PortalException
Description copied from interface: IServiceInterfaceSerializationManager
Serialize a service interface style.

Specified by:
serializeStyle in interface IServiceInterfaceSerializationManager
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 interface IServiceInterfaceSerializationManager

getSerializationMessageConfigNode

public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
                                                                        ServiceInterfaceConfig serviceInterfaceConfig)
                                                                 throws PortalException
Description copied from interface: IServiceInterfaceSerializationManager
Get a SerializationMessageConfigNode object containing partially recursive information about a service interface.

Specified by:
getSerializationMessageConfigNode in interface IServiceInterfaceSerializationManager
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 interface IServiceInterfaceSerializationManager
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.


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.