lumis.portal.page.serialization
Class PageSerializationManager

Package class diagram package PageSerializationManager
java.lang.Object
  extended by lumis.portal.page.serialization.PageSerializationManager
All Implemented Interfaces:
IPageSerializationManager

public class PageSerializationManager
extends Object
implements IPageSerializationManager

Manager for Page serialization

Since:
4.0.7

Field Summary
protected  List<ConfigForeignKey> foreignKeys
           
 
Constructor Summary
PageSerializationManager()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

foreignKeys

protected final List<ConfigForeignKey> foreignKeys
Constructor Detail

PageSerializationManager

public PageSerializationManager()
Method Detail

deserialize

public void deserialize(DeserializationContext deserializationContext,
                        PageSerializableConfig pageSerializableConfig)
                 throws PortalException
Description copied from interface: IPageSerializationManager
Deserialize a page.

Specified by:
deserialize in interface IPageSerializationManager
Throws:
PortalException

persistConfig

public boolean persistConfig(DeserializationContext deserializationContext,
                             Object config,
                             boolean firstPersistence)
                      throws PortalException
Throws:
PortalException

serialize

public PageSerializableConfig serialize(SerializationContext serializationContext,
                                        String pageId,
                                        boolean deepSerialization)
                                 throws PortalException
Description copied from interface: IPageSerializationManager
Serialize a page.

Specified by:
serialize in interface IPageSerializationManager
Returns:
Throws:
PortalException

setupSerializationContext

public void setupSerializationContext(BaseSerializationContext baseSerializationContext)
Description copied from interface: IPageSerializationManager
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.

Specified by:
setupSerializationContext in interface IPageSerializationManager

getSerializationMessageConfigNode

public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
                                                                        PageConfig pageConfig)
                                                                 throws PortalException
Description copied from interface: IPageSerializationManager
Get a SerializationMessageConfigNode object containing fully recursive information about a page.

Specified by:
getSerializationMessageConfigNode in interface IPageSerializationManager
Returns:
Throws:
PortalException

getSerializationMessageConfigNode

public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
                                                                        PageConfig pageConfig,
                                                                        EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
                                                                 throws PortalException
Description copied from interface: IPageSerializationManager
Get a SerializationMessageConfigNode object containing partially recursive information about a page.

Specified by:
getSerializationMessageConfigNode in interface IPageSerializationManager
Returns:
Throws:
PortalException


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.