Class ChannelTemplateSerializationManager
- java.lang.Object
-
- 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
- Version:
- $Revision: 12710 $ $Date: 2011-03-18 17:00:16 -0300 (Fri, 18 Mar 2011) $
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ConfigForeignKey>
linkForeignKeys
-
Constructor Summary
Constructors Constructor Description ChannelTemplateSerializationManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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) operationList<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.
-
-
-
Field Detail
-
linkForeignKeys
protected final List<ConfigForeignKey> linkForeignKeys
-
-
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 interfaceIChannelTemplateSerializationManager
- 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 interfaceIConfigPersister
- 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 interfaceIChannelTemplateSerializationManager
- 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 interfaceIChannelTemplateSerializationManager
-
-