lumis.portal.user.serialization
Class UserSerializationManager

Package class diagram package UserSerializationManager
java.lang.Object
  extended by lumis.portal.user.serialization.UserSerializationManager
All Implemented Interfaces:
IUserSerializationManager

public class UserSerializationManager
extends Object
implements IUserSerializationManager

Manager for User serialization

Since:
4.0.7

Constructor Summary
UserSerializationManager()
           
 
Method Summary
 void deserialize(DeserializationContext deserializationContext, UserSerializableConfig userSerializableConfig)
          Deserialize a user.
 SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, UserConfig userConfig)
          Get a SerializationMessageConfigNode object containing fully recursive information about a user.
 SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, UserConfig userConfig, EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
          Get a SerializationMessageConfigNode 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserSerializationManager

public UserSerializationManager()
Method Detail

deserialize

public void deserialize(DeserializationContext deserializationContext,
                        UserSerializableConfig userSerializableConfig)
                 throws PortalException
Description copied from interface: IUserSerializationManager
Deserialize a user.

Specified by:
deserialize in interface IUserSerializationManager
Throws:
PortalException

serialize

public UserSerializableConfig serialize(SerializationContext serializationContext,
                                        UserConfig userConfig)
                                 throws PortalException
Description copied from interface: IUserSerializationManager
Serialize a user.

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

getSerializationMessageConfigNode

public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
                                                                        UserConfig userConfig)
                                                                 throws PortalException
Description copied from interface: IUserSerializationManager
Get a SerializationMessageConfigNode object containing fully recursive information about a user.

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

getSerializationMessageConfigNode

public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
                                                                        UserConfig userConfig,
                                                                        EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
                                                                 throws PortalException
Description copied from interface: IUserSerializationManager
Get a SerializationMessageConfigNode object containing partially recursive information about a user.

Specified by:
getSerializationMessageConfigNode in interface IUserSerializationManager
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 interface IUserSerializationManager


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