public interface IChannelSerializationManager extends IConfigPersister, IConfigDeleter
Modifier and Type | Method and Description |
---|---|
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 serializationContext,
ChannelConfig channelConfig)
Get a
SerializationMessageConfigNode object containing fully recursive information about a channel. |
ChannelSerializableConfig |
serialize(SerializationContext serializationContext,
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.
|
persistConfig
deleteConfig
String deserialize(DeserializationContext deserializationContext, ChannelSerializableConfig channelSerializableConfig, ChannelSerializableConfig parentChannelSerializableConfig) throws PortalException
deserializationContext
- channelSerializableConfig
- parentChannelSerializableConfig
- PortalException
void deserializeContent(DeserializationContext deserializationContext, ChannelSerializableConfig channelSerializableConfig, ChannelSerializableConfig parentChannelSerializableConfig) throws PortalException
deserializationContext
- context for deserializationchannelSerializableConfig
- channel for which content must be deserializedparentChannelSerializableConfig
- parent channel of the channel to be deserializedPortalException
ChannelConfig deserializeConfig(DeserializationContext deserializationContext, String channelId) throws PortalException
ChannelConfig
object.deserializationContext
- channelId
- PortalException
ChannelSerializableConfig serialize(SerializationContext serializationContext, String channelId) throws PortalException
serializationContext
- channelId
- PortalException
void setupSerializationContext(BaseSerializationContext serializationContext)
serializationContext
- SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext serializationContext, ChannelConfig channelConfig) throws PortalException
SerializationMessageConfigNode
object containing fully recursive information about a channel.serializationContext
- channelConfig
- PortalException
int getProgressSerializationItemCount()
int getProgressDeserializationItemCount()
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.