Package lumis.portal.user.serialization
Interface IUserSerializationManager
-
- All Known Implementing Classes:
UserSerializationManager
public interface IUserSerializationManager
Manager Interface for User serialization- Since:
- 4.0.7
- Version:
- $Revision: 6239 $ $Date: 2007-03-26 15:50:32 -0300 (Mon, 26 Mar 2007) $
-
-
Method Summary
All Methods Instance Methods Abstract 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
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 aSerializationMessageConfigNode
object containing fully recursive information about a user.- Parameters:
baseSerializationContext
-userConfig
-- Returns:
- Throws:
PortalException
-
getSerializationMessageConfigNode
SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, UserConfig userConfig, java.util.EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints) throws PortalException
Get aSerializationMessageConfigNode
object containing partially recursive information about a user.- Parameters:
baseSerializationContext
-userConfig
-recursionStopPoints
-- Returns:
- Throws:
PortalException
-
-