Interface IChannelSerializationManager
-
- All Superinterfaces:
IConfigDeleter
,IConfigPersister
- All Known Implementing Classes:
ChannelSerializationManager
public interface IChannelSerializationManager extends IConfigPersister, IConfigDeleter
Manager Interface for Channel serialization- Since:
- 4.0.7
- Version:
- $Revision: 12025 $ $Date: 2010-10-08 17:45:58 -0300 (Fri, 08 Oct 2010) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
deserialize(DeserializationContext deserializationContext, ChannelSerializableConfig channelSerializableConfig, ChannelSerializableConfig parentChannelSerializableConfig)
Deserialize a channel.ChannelConfig
deserializeConfig(DeserializationContext deserializationContext, java.lang.String channelId)
Deserialize aChannelConfig
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 serializationContext, ChannelConfig channelConfig)
Get aSerializationMessageConfigNode
object containing fully recursive information about a channel.ChannelSerializableConfig
serialize(SerializationContext serializationContext, java.lang.String channelId)
Serialize a channel.void
setupSerializationContext(BaseSerializationContext serializationContext)
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.-
Methods inherited from interface lumis.portal.serialization.operation.IConfigDeleter
deleteConfig
-
Methods inherited from interface lumis.portal.serialization.operation.IConfigPersister
persistConfig
-
-
-
-
Method Detail
-
deserialize
java.lang.String deserialize(DeserializationContext deserializationContext, ChannelSerializableConfig channelSerializableConfig, ChannelSerializableConfig parentChannelSerializableConfig) throws PortalException
Deserialize a channel.- Parameters:
deserializationContext
-channelSerializableConfig
-parentChannelSerializableConfig
-- Returns:
- deserialized channelId
- Throws:
PortalException
-
deserializeContent
void deserializeContent(DeserializationContext deserializationContext, ChannelSerializableConfig channelSerializableConfig, ChannelSerializableConfig parentChannelSerializableConfig) throws PortalException
Deserialize channel content. For all service instances below the channel the content must be deserialized.- Parameters:
deserializationContext
- context for deserializationchannelSerializableConfig
- channel for which content must be deserializedparentChannelSerializableConfig
- parent channel of the channel to be deserialized- Throws:
PortalException
- Since:
- 4.2.0
-
deserializeConfig
ChannelConfig deserializeConfig(DeserializationContext deserializationContext, java.lang.String channelId) throws PortalException
Deserialize aChannelConfig
object.- Parameters:
deserializationContext
-channelId
-- Returns:
- Throws:
PortalException
-
serialize
ChannelSerializableConfig serialize(SerializationContext serializationContext, java.lang.String channelId) throws PortalException
Serialize a channel.- Parameters:
serializationContext
-channelId
-- Returns:
- Throws:
PortalException
-
setupSerializationContext
void setupSerializationContext(BaseSerializationContext serializationContext)
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.- Parameters:
serializationContext
-
-
getSerializationMessageConfigNode
SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext serializationContext, ChannelConfig channelConfig) throws PortalException
Get aSerializationMessageConfigNode
object containing fully recursive information about a channel.- Parameters:
serializationContext
-channelConfig
-- Returns:
- Throws:
PortalException
-
getProgressSerializationItemCount
int getProgressSerializationItemCount()
Get the number of steps of a channel serialization process.- Returns:
-
getProgressDeserializationItemCount
int getProgressDeserializationItemCount()
Get the number of steps of a channel deserialization process.- Returns:
-
-