Class ChannelTemplateSerializationManager
- java.lang.Object
-
- lumis.portal.channel.template.serialization.ChannelTemplateSerializationManager
-
- All Implemented Interfaces:
IChannelTemplateSerializationManager
,IConfigPersister
public class ChannelTemplateSerializationManager extends java.lang.Object implements IChannelTemplateSerializationManager
Manager for Channel Template serialization- Since:
- 4.0.7
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.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, java.lang.Object config, boolean firstPersistence)
Performs a config persistance (add or update) operationjava.util.List<ChannelTemplateLinkSerializableConfig>
serializeLink(SerializationContext serializationContext, java.lang.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 java.util.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, java.lang.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 java.util.List<ChannelTemplateLinkSerializableConfig> serializeLink(SerializationContext serializationContext, java.lang.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
-
-