public class PageSerializationManager extends Object implements IPageSerializationManager
Modifier and Type | Field and Description |
---|---|
protected List<ConfigForeignKey> |
foreignKeys |
Constructor and Description |
---|
PageSerializationManager() |
Modifier and Type | Method and Description |
---|---|
void |
deserialize(DeserializationContext deserializationContext,
PageSerializableConfig pageSerializableConfig)
Deserialize a page.
|
SerializationMessageConfigNode |
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
PageConfig pageConfig)
Get a
SerializationMessageConfigNode object containing fully recursive information about a page. |
SerializationMessageConfigNode |
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
PageConfig pageConfig,
EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
Get a
SerializationMessageConfigNode object containing partially recursive information about a page. |
boolean |
persistConfig(DeserializationContext deserializationContext,
Object config,
boolean firstPersistence) |
PageSerializableConfig |
serialize(SerializationContext serializationContext,
String pageId,
boolean deepSerialization)
Serialize a page.
|
void |
setupSerializationContext(BaseSerializationContext baseSerializationContext)
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.
|
protected final List<ConfigForeignKey> foreignKeys
public void deserialize(DeserializationContext deserializationContext, PageSerializableConfig pageSerializableConfig) throws PortalException
IPageSerializationManager
deserialize
in interface IPageSerializationManager
PortalException
public boolean persistConfig(DeserializationContext deserializationContext, Object config, boolean firstPersistence) throws PortalException
PortalException
public PageSerializableConfig serialize(SerializationContext serializationContext, String pageId, boolean deepSerialization) throws PortalException
IPageSerializationManager
serialize
in interface IPageSerializationManager
PortalException
public void setupSerializationContext(BaseSerializationContext baseSerializationContext)
IPageSerializationManager
setupSerializationContext
in interface IPageSerializationManager
public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, PageConfig pageConfig) throws PortalException
IPageSerializationManager
SerializationMessageConfigNode
object containing fully recursive information about a page.getSerializationMessageConfigNode
in interface IPageSerializationManager
PortalException
public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, PageConfig pageConfig, EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints) throws PortalException
IPageSerializationManager
SerializationMessageConfigNode
object containing partially recursive information about a page.getSerializationMessageConfigNode
in interface IPageSerializationManager
PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.