Package lumis.portal.group.serialization
Class GroupSerializationManager
- java.lang.Object
-
- lumis.portal.group.serialization.GroupSerializationManager
-
- All Implemented Interfaces:
IGroupSerializationManager
public class GroupSerializationManager extends java.lang.Object implements IGroupSerializationManager
Manager for Group serialization- Since:
- 4.0.7
- Version:
- $Revision: 18700 $ $Date: 2016-04-12 15:43:33 -0300 (Tue, 12 Apr 2016) $
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ConfigForeignKey>
foreignKeys
protected java.util.List<ConfigForeignKey>
memberForeignKeys
-
Constructor Summary
Constructors Constructor Description GroupSerializationManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deserialize(DeserializationContext deserializationContext, GroupSerializableConfig groupSerializableConfig)
Deserialize a group.SerializationMessageConfigNode
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, GroupConfig groupConfig)
Get aSerializationMessageConfigNode
object containing fully recursive information about a group.SerializationMessageConfigNode
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, GroupConfig groupConfig, java.util.EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
Get aSerializationMessageConfigNode
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.
-
-
-
Field Detail
-
foreignKeys
protected final java.util.List<ConfigForeignKey> foreignKeys
-
memberForeignKeys
protected final java.util.List<ConfigForeignKey> memberForeignKeys
-
-
Method Detail
-
deserialize
public void deserialize(DeserializationContext deserializationContext, GroupSerializableConfig groupSerializableConfig) throws PortalException
Description copied from interface:IGroupSerializationManager
Deserialize a group.- Specified by:
deserialize
in interfaceIGroupSerializationManager
- Throws:
PortalException
-
serialize
public GroupSerializableConfig serialize(SerializationContext serializationContext, GroupConfig groupConfig) throws PortalException
Description copied from interface:IGroupSerializationManager
Serialize a group.- Specified by:
serialize
in interfaceIGroupSerializationManager
- Returns:
- Throws:
PortalException
-
getSerializationMessageConfigNode
public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, GroupConfig groupConfig) throws PortalException
Description copied from interface:IGroupSerializationManager
Get aSerializationMessageConfigNode
object containing fully recursive information about a group.- Specified by:
getSerializationMessageConfigNode
in interfaceIGroupSerializationManager
- Returns:
- Throws:
PortalException
-
getSerializationMessageConfigNode
public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, GroupConfig groupConfig, java.util.EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints) throws PortalException
Description copied from interface:IGroupSerializationManager
Get aSerializationMessageConfigNode
object containing partially recursive information about a group.- Specified by:
getSerializationMessageConfigNode
in interfaceIGroupSerializationManager
- 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 interfaceIGroupSerializationManager
-
-