Package lumis.portal.user.serialization
Class UserSerializationManager
- java.lang.Object
-
- lumis.portal.user.serialization.UserSerializationManager
-
- All Implemented Interfaces:
IUserSerializationManager
public class UserSerializationManager extends java.lang.Object implements IUserSerializationManager
Manager for User serialization- Since:
- 4.0.7
- Version:
- $Revision: 18700 $ $Date: 2016-04-12 15:43:33 -0300 (Tue, 12 Apr 2016) $
-
-
Constructor Summary
Constructors Constructor Description UserSerializationManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deserialize(DeserializationContext deserializationContext, UserSerializableConfig userSerializableConfig)
Deserialize a user.SerializationMessageConfigNode
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, UserConfig userConfig)
Get aSerializationMessageConfigNode
object containing fully recursive information about a user.SerializationMessageConfigNode
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, UserConfig userConfig, java.util.EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
Get aSerializationMessageConfigNode
object containing partially recursive information about a user.UserSerializableConfig
serialize(SerializationContext serializationContext, UserConfig userConfig)
Serialize a user.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
public void deserialize(DeserializationContext deserializationContext, UserSerializableConfig userSerializableConfig) throws PortalException
Description copied from interface:IUserSerializationManager
Deserialize a user.- Specified by:
deserialize
in interfaceIUserSerializationManager
- Throws:
PortalException
-
serialize
public UserSerializableConfig serialize(SerializationContext serializationContext, UserConfig userConfig) throws PortalException
Description copied from interface:IUserSerializationManager
Serialize a user.- Specified by:
serialize
in interfaceIUserSerializationManager
- Returns:
- Throws:
PortalException
-
getSerializationMessageConfigNode
public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, UserConfig userConfig) throws PortalException
Description copied from interface:IUserSerializationManager
Get aSerializationMessageConfigNode
object containing fully recursive information about a user.- Specified by:
getSerializationMessageConfigNode
in interfaceIUserSerializationManager
- Returns:
- Throws:
PortalException
-
getSerializationMessageConfigNode
public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, UserConfig userConfig, java.util.EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints) throws PortalException
Description copied from interface:IUserSerializationManager
Get aSerializationMessageConfigNode
object containing partially recursive information about a user.- Specified by:
getSerializationMessageConfigNode
in interfaceIUserSerializationManager
- Returns:
- Throws:
PortalException
-
setupSerializationContext
public void setupSerializationContext(BaseSerializationContext serializationContext)
Description copied from interface:IUserSerializationManager
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.- Specified by:
setupSerializationContext
in interfaceIUserSerializationManager
-
-