lumis.portal.group.serialization
Class GroupSerializationManager

Package class diagram package GroupSerializationManager
java.lang.Object
  extended by lumis.portal.group.serialization.GroupSerializationManager
All Implemented Interfaces:
IGroupSerializationManager

public class GroupSerializationManager
extends Object
implements IGroupSerializationManager

Manager for Group serialization

Since:
4.0.7

Field Summary
protected  List<ConfigForeignKey> foreignKeys
           
protected  List<ConfigForeignKey> memberForeignKeys
           
 
Constructor Summary
GroupSerializationManager()
           
 
Method Summary
 void deserialize(DeserializationContext deserializationContext, GroupSerializableConfig groupSerializableConfig)
          Deserialize a group.
 SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, GroupConfig groupConfig)
          Get a SerializationMessageConfigNode object containing fully recursive information about a group.
 SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, GroupConfig groupConfig, EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
          Get a SerializationMessageConfigNode object containing partially recursive information about a group.
 GroupSerializableConfig serialize(SerializationContext serializationContext, GroupConfig groupConfig)
          Serialize a group.
 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

foreignKeys

protected final List<ConfigForeignKey> foreignKeys

memberForeignKeys

protected final List<ConfigForeignKey> memberForeignKeys
Constructor Detail

GroupSerializationManager

public GroupSerializationManager()
Method Detail

deserialize

public void deserialize(DeserializationContext deserializationContext,
                        GroupSerializableConfig groupSerializableConfig)
                 throws PortalException
Description copied from interface: IGroupSerializationManager
Deserialize a group.

Specified by:
deserialize in interface IGroupSerializationManager
Throws:
PortalException

serialize

public GroupSerializableConfig serialize(SerializationContext serializationContext,
                                         GroupConfig groupConfig)
                                  throws PortalException
Description copied from interface: IGroupSerializationManager
Serialize a group.

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

getSerializationMessageConfigNode

public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
                                                                        GroupConfig groupConfig)
                                                                 throws PortalException
Description copied from interface: IGroupSerializationManager
Get a SerializationMessageConfigNode object containing fully recursive information about a group.

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

getSerializationMessageConfigNode

public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
                                                                        GroupConfig groupConfig,
                                                                        EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
                                                                 throws PortalException
Description copied from interface: IGroupSerializationManager
Get a SerializationMessageConfigNode object containing partially recursive information about a group.

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

setupSerializationContext

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

Specified by:
setupSerializationContext in interface IGroupSerializationManager


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.