|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.channel.serialization.ChannelSerializationManager
public class ChannelSerializationManager
Manager for Channel serialization
Field Summary | |
---|---|
protected List<ConfigForeignKey> |
foreignKeys
|
Constructor Summary | |
---|---|
ChannelSerializationManager()
|
Method Summary | |
---|---|
void |
deleteConfig(DeserializationContext deserializationContext,
String configId)
|
String |
deserialize(DeserializationContext deserializationContext,
ChannelSerializableConfig channelSerializableConfig,
ChannelSerializableConfig parentChannelSerializableConfig)
Deserialize a channel. |
ChannelConfig |
deserializeConfig(DeserializationContext deserializationContext,
String channelId)
Deserialize a ChannelConfig object. |
void |
deserializeContent(DeserializationContext deserializationContext,
ChannelSerializableConfig channelSerializableConfig,
ChannelSerializableConfig parentChannelSerializableConfig)
Deserialize channel content. |
int |
getProgressDeserializationItemCount()
Get the number of steps of a channel deserialization process. |
int |
getProgressSerializationItemCount()
Get the number of steps of a channel serialization process. |
SerializationMessageConfigNode |
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
ChannelConfig channelConfig)
Get a SerializationMessageConfigNode object containing fully recursive information about a channel. |
boolean |
persistConfig(DeserializationContext deserializationContext,
Object config,
boolean firstPersistence)
Performs a config persistance (add or update) operation |
ChannelSerializableConfig |
serialize(SerializationContext serializationContext,
String channelId)
Serialize a channel. |
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 |
---|
protected final List<ConfigForeignKey> foreignKeys
Constructor Detail |
---|
public ChannelSerializationManager()
Method Detail |
---|
public ChannelConfig deserializeConfig(DeserializationContext deserializationContext, String channelId) throws ManagerException
IChannelSerializationManager
ChannelConfig
object.
deserializeConfig
in interface IChannelSerializationManager
ManagerException
public String deserialize(DeserializationContext deserializationContext, ChannelSerializableConfig channelSerializableConfig, ChannelSerializableConfig parentChannelSerializableConfig) throws PortalException
IChannelSerializationManager
deserialize
in interface IChannelSerializationManager
PortalException
public void deserializeContent(DeserializationContext deserializationContext, ChannelSerializableConfig channelSerializableConfig, ChannelSerializableConfig parentChannelSerializableConfig) throws PortalException
IChannelSerializationManager
deserializeContent
in interface IChannelSerializationManager
deserializationContext
- context for deserializationchannelSerializableConfig
- channel for which content must be deserializedparentChannelSerializableConfig
- parent channel of the channel to be deserialized
PortalException
public boolean persistConfig(DeserializationContext deserializationContext, Object config, boolean firstPersistence) throws PortalException
IConfigPersister
persistConfig
in interface IConfigPersister
PortalException
public void deleteConfig(DeserializationContext deserializationContext, String configId) throws PortalException
deleteConfig
in interface IConfigDeleter
PortalException
public ChannelSerializableConfig serialize(SerializationContext serializationContext, String channelId) throws PortalException
IChannelSerializationManager
serialize
in interface IChannelSerializationManager
PortalException
public void setupSerializationContext(BaseSerializationContext baseSerializationContext)
IChannelSerializationManager
setupSerializationContext
in interface IChannelSerializationManager
public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ChannelConfig channelConfig) throws PortalException
IChannelSerializationManager
SerializationMessageConfigNode
object containing fully recursive information about a channel.
getSerializationMessageConfigNode
in interface IChannelSerializationManager
PortalException
public int getProgressDeserializationItemCount()
IChannelSerializationManager
getProgressDeserializationItemCount
in interface IChannelSerializationManager
public int getProgressSerializationItemCount()
IChannelSerializationManager
getProgressSerializationItemCount
in interface IChannelSerializationManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |