Package lumis.portal.page.serialization
Interface IPageSerializationManager
-
- All Known Implementing Classes:
PageSerializationManager
public interface IPageSerializationManager
Manager Interface for Page serialization- Since:
- 4.0.7
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deserialize(DeserializationContext deserializationContext, PageSerializableConfig pageSerializableConfig)
Deserialize a page.SerializationMessageConfigNode
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, PageConfig pageConfig)
Get aSerializationMessageConfigNode
object containing fully recursive information about a page.SerializationMessageConfigNode
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, PageConfig pageConfig, java.util.EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
Get aSerializationMessageConfigNode
object containing partially recursive information about a page.PageSerializableConfig
serialize(SerializationContext serializationContext, java.lang.String pageId, boolean deepSerialization)
Serialize a page.void
setupSerializationContext(BaseSerializationContext serializationContext)
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.
-
-
-
Method Detail
-
deserialize
void deserialize(DeserializationContext deserializationContext, PageSerializableConfig pageSerializableConfig) throws PortalException
Deserialize a page.- Parameters:
deserializationContext
-pageSerializableConfig
-- Throws:
PortalException
-
serialize
PageSerializableConfig serialize(SerializationContext serializationContext, java.lang.String pageId, boolean deepSerialization) throws PortalException
Serialize a page.- Parameters:
serializationContext
-pageId
-deepSerialization
-- 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 baseSerializationContext, PageConfig pageConfig) throws PortalException
Get aSerializationMessageConfigNode
object containing fully recursive information about a page.- Parameters:
baseSerializationContext
-pageConfig
-- Returns:
- Throws:
PortalException
-
getSerializationMessageConfigNode
SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, PageConfig pageConfig, java.util.EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints) throws PortalException
Get aSerializationMessageConfigNode
object containing partially recursive information about a page.- Parameters:
baseSerializationContext
-pageConfig
-recursionStopPoints
-- Returns:
- Throws:
PortalException
-
-