lumis.portal.channel.template.serialization
Class ChannelTemplateSerializationManager

Package class diagram package ChannelTemplateSerializationManager
java.lang.Object
  extended by lumis.portal.channel.template.serialization.ChannelTemplateSerializationManager
All Implemented Interfaces:
IChannelTemplateSerializationManager, IConfigPersister

public class ChannelTemplateSerializationManager
extends Object
implements IChannelTemplateSerializationManager

Manager for Channel Template serialization

Since:
4.0.7

Field Summary
protected  List<ConfigForeignKey> linkForeignKeys
           
 
Constructor Summary
ChannelTemplateSerializationManager()
           
 
Method Summary
 void deserializeLink(DeserializationContext deserializationContext, ChannelTemplateLinkSerializableConfig channelTemplateLinkSerializableConfig)
          Deserialize a channel template link.
 boolean persistConfig(DeserializationContext deserializationContext, Object config, boolean firstPersistence)
          Performs a config persistance (add or update) operation
 List<ChannelTemplateLinkSerializableConfig> serializeLink(SerializationContext serializationContext, String channelId)
          Serialize a channel template link.
 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

linkForeignKeys

protected final List<ConfigForeignKey> linkForeignKeys
Constructor Detail

ChannelTemplateSerializationManager

public ChannelTemplateSerializationManager()
Method Detail

deserializeLink

public void deserializeLink(DeserializationContext deserializationContext,
                            ChannelTemplateLinkSerializableConfig channelTemplateLinkSerializableConfig)
                     throws PortalException
Description copied from interface: IChannelTemplateSerializationManager
Deserialize a channel template link.

Specified by:
deserializeLink in interface IChannelTemplateSerializationManager
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

serializeLink

public List<ChannelTemplateLinkSerializableConfig> serializeLink(SerializationContext serializationContext,
                                                                 String channelId)
                                                          throws PortalException
Description copied from interface: IChannelTemplateSerializationManager
Serialize a channel template link.

Specified by:
serializeLink in interface IChannelTemplateSerializationManager
Returns:
Throws:
PortalException

setupSerializationContext

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

Specified by:
setupSerializationContext in interface IChannelTemplateSerializationManager


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