lumis.portal.serviceinterfaceinstance.serialization
Class ServiceInterfaceInstanceSerializationManager

Package class diagram package ServiceInterfaceInstanceSerializationManager
java.lang.Object
  extended by lumis.portal.serviceinterfaceinstance.serialization.ServiceInterfaceInstanceSerializationManager
All Implemented Interfaces:
IConfigPersister, IServiceInterfaceInstanceSerializationManager

public class ServiceInterfaceInstanceSerializationManager
extends Object
implements IServiceInterfaceInstanceSerializationManager

Manager for Service Interface Instance serialization

Since:
4.0.7

Field Summary
protected  List<ConfigForeignKey> foreignKeys
           
 
Constructor Summary
ServiceInterfaceInstanceSerializationManager()
           
 
Method Summary
 void deserialize(DeserializationContext deserializationContext, ServiceInterfaceInstanceSerializableConfig serviceInterfaceInstanceSerializableConfig)
          Deserialize a service interface instance.
 SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig)
          Get a SerializationMessageConfigNode object containing fully recursive information about a service interface instance.
 SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
          Get a SerializationMessageConfigNode object containing partially recursive information about a service interface instance.
 boolean persistConfig(DeserializationContext deserializationContext, Object config, boolean firstPersistence)
          Performs a config persistance (add or update) operation
 ServiceInterfaceInstanceSerializableConfig serialize(SerializationContext serializationContext, String serviceInterfaceInstanceId)
          Serialize a service interface 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
Constructor Detail

ServiceInterfaceInstanceSerializationManager

public ServiceInterfaceInstanceSerializationManager()
Method Detail

deserialize

public void deserialize(DeserializationContext deserializationContext,
                        ServiceInterfaceInstanceSerializableConfig serviceInterfaceInstanceSerializableConfig)
                 throws PortalException
Description copied from interface: IServiceInterfaceInstanceSerializationManager
Deserialize a service interface instance.

Specified by:
deserialize in interface IServiceInterfaceInstanceSerializationManager
Throws:
PortalException

persistConfig

public boolean persistConfig(DeserializationContext deserializationContext,
                             Object config,
                             boolean firstPersistence)
                      throws PortalException
Description copied from interface: IConfigPersister
Performs a config persistance (add or update) operation

Specified by:
persistConfig in interface IConfigPersister
Returns:
Throws:
PortalException

serialize

public ServiceInterfaceInstanceSerializableConfig serialize(SerializationContext serializationContext,
                                                            String serviceInterfaceInstanceId)
                                                     throws PortalException
Description copied from interface: IServiceInterfaceInstanceSerializationManager
Serialize a service interface instance.

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

setupSerializationContext

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

Specified by:
setupSerializationContext in interface IServiceInterfaceInstanceSerializationManager

getSerializationMessageConfigNode

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

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

getSerializationMessageConfigNode

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

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


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.