lumis.portal.user.serialization
Interface IUserSerializationManager

Package class diagram package IUserSerializationManager
All Known Implementing Classes:
UserSerializationManager

public interface IUserSerializationManager

Manager Interface for User serialization

Since:
4.0.7

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.
 

Method Detail

deserialize

void deserialize(DeserializationContext deserializationContext,
                 UserSerializableConfig userSerializableConfig)
                 throws PortalException
Deserialize a user.

Parameters:
deserializationContext -
userSerializableConfig -
Throws:
PortalException

serialize

UserSerializableConfig serialize(SerializationContext serializationContext,
                                 UserConfig userConfig)
                                 throws PortalException
Serialize a user.

Parameters:
serializationContext -
userConfig -
Returns:
Throws:
PortalException

setupSerializationContext

void setupSerializationContext(BaseSerializationContext serializationContext)
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.

Parameters:
serializationContext -

getSerializationMessageConfigNode

SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
                                                                 UserConfig userConfig)
                                                                 throws PortalException
Get a SerializationMessageConfigNode object containing fully recursive information about a user.

Parameters:
baseSerializationContext -
userConfig -
Returns:
Throws:
PortalException

getSerializationMessageConfigNode

SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
                                                                 UserConfig userConfig,
                                                                 EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
                                                                 throws PortalException
Get a SerializationMessageConfigNode object containing partially recursive information about a user.

Parameters:
baseSerializationContext -
userConfig -
recursionStopPoints -
Returns:
Throws:
PortalException


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