lumis.portal.serviceinstance.serialization
Class ServiceInstanceSerializationManager

Package class diagram package ServiceInstanceSerializationManager
java.lang.Object
  extended by lumis.portal.serviceinstance.serialization.ServiceInstanceSerializationManager
All Implemented Interfaces:
IConfigDeleter, IServiceInstanceSerializationManager

public class ServiceInstanceSerializationManager
extends Object
implements IServiceInstanceSerializationManager

Manager for Service Instance serialization

Since:
4.0.7

Field Summary
protected  List<ConfigForeignKey> dependencyForeignKeys
           
protected  List<ConfigForeignKey> foreignKeys
           
 
Constructor Summary
ServiceInstanceSerializationManager()
           
 
Method Summary
 void deleteConfig(DeserializationContext deserializationContext, String configId)
           
 void deserialize(DeserializationContext deserializationContext, ServiceInstanceSerializableConfig serviceInstanceSerializableConfig)
          Deserialize a service instance.
 void deserializeContent(DeserializationContext deserializationContext, ServiceInstanceSerializableConfig serviceInstanceSerializableConfig)
          Deserialize service instance content.
 SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInstanceConfig serviceInstanceConfig)
          Get a SerializationMessageConfigNode object containing fully recursive information about a service instance.
 SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInstanceConfig serviceInstanceConfig, EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
          Get a SerializationMessageConfigNode object containing partially recursive information about a service instance.
 ServiceInstanceSerializableConfig serialize(SerializationContext serializationContext, String serviceInstanceId)
          Serialize a service instance.
 void setupSerializationContext(BaseSerializationContext baseSerializationContext)
          Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

foreignKeys

protected final List<ConfigForeignKey> foreignKeys

dependencyForeignKeys

protected final List<ConfigForeignKey> dependencyForeignKeys
Constructor Detail

ServiceInstanceSerializationManager

public ServiceInstanceSerializationManager()
Method Detail

deserialize

public void deserialize(DeserializationContext deserializationContext,
                        ServiceInstanceSerializableConfig serviceInstanceSerializableConfig)
                 throws PortalException
Description copied from interface: IServiceInstanceSerializationManager
Deserialize a service instance.

Specified by:
deserialize in interface IServiceInstanceSerializationManager
Throws:
PortalException

deserializeContent

public void deserializeContent(DeserializationContext deserializationContext,
                               ServiceInstanceSerializableConfig serviceInstanceSerializableConfig)
                        throws PortalException
Description copied from interface: IServiceInstanceSerializationManager
Deserialize service instance content.

Specified by:
deserializeContent in interface IServiceInstanceSerializationManager
Throws:
PortalException

serialize

public ServiceInstanceSerializableConfig serialize(SerializationContext serializationContext,
                                                   String serviceInstanceId)
                                            throws PortalException
Description copied from interface: IServiceInstanceSerializationManager
Serialize a service instance.

Specified by:
serialize in interface IServiceInstanceSerializationManager
Returns:
Throws:
PortalException

setupSerializationContext

public void setupSerializationContext(BaseSerializationContext baseSerializationContext)
Description copied from interface: IServiceInstanceSerializationManager
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.

Specified by:
setupSerializationContext in interface IServiceInstanceSerializationManager

getSerializationMessageConfigNode

public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
                                                                        ServiceInstanceConfig serviceInstanceConfig)
                                                                 throws PortalException
Description copied from interface: IServiceInstanceSerializationManager
Get a SerializationMessageConfigNode object containing fully recursive information about a service instance.

Specified by:
getSerializationMessageConfigNode in interface IServiceInstanceSerializationManager
Returns:
Throws:
PortalException

getSerializationMessageConfigNode

public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
                                                                        ServiceInstanceConfig serviceInstanceConfig,
                                                                        EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
                                                                 throws PortalException
Description copied from interface: IServiceInstanceSerializationManager
Get a SerializationMessageConfigNode object containing partially recursive information about a service instance.

Specified by:
getSerializationMessageConfigNode in interface IServiceInstanceSerializationManager
Returns:
Throws:
PortalException

deleteConfig

public void deleteConfig(DeserializationContext deserializationContext,
                         String configId)
                  throws PortalException
Specified by:
deleteConfig in interface IConfigDeleter
Throws:
PortalException


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