Interface IServiceInstanceSerializationManager
-
- All Superinterfaces:
IConfigDeleter
- All Known Implementing Classes:
ServiceInstanceSerializationManager
public interface IServiceInstanceSerializationManager extends IConfigDeleter
Manager Interface for Service Instance serialization- Since:
- 4.0.7
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deserialize(DeserializationContext deserializationContext, ServiceInstanceSerializableConfig serviceInstanceSerializableConfig)
Deserialize a service instance.void
deserializeContent(DeserializationContext deserializationContext, ServiceInstanceSerializableConfig serviceInstanceSerializableConfig)
Deserialize service instance content.void
deserializeContent(DeserializationContext deserializationContext, ServiceInstanceConfig serviceInstanceConfig)
Deserialize service instance content.SerializationMessageConfigNode
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInstanceConfig serviceInstanceConfig)
Get aSerializationMessageConfigNode
object containing fully recursive information about a service instance.SerializationMessageConfigNode
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInstanceConfig serviceInstanceConfig, java.util.EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
Get aSerializationMessageConfigNode
object containing partially recursive information about a service instance.ServiceInstanceSerializableConfig
serialize(SerializationContext serializationContext, java.lang.String serviceInstanceId)
Serialize a service instance.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 interface lumis.portal.serialization.operation.IConfigDeleter
deleteConfig
-
-
-
-
Method Detail
-
deserialize
void deserialize(DeserializationContext deserializationContext, ServiceInstanceSerializableConfig serviceInstanceSerializableConfig) throws PortalException
Deserialize a service instance.- Parameters:
deserializationContext
-serviceInstanceSerializableConfig
-- Throws:
PortalException
-
deserializeContent
void deserializeContent(DeserializationContext deserializationContext, ServiceInstanceSerializableConfig serviceInstanceSerializableConfig) throws PortalException
Deserialize service instance content.- Parameters:
deserializationContext
-serviceInstanceSerializableConfig
-- Throws:
PortalException
-
deserializeContent
void deserializeContent(DeserializationContext deserializationContext, ServiceInstanceConfig serviceInstanceConfig) throws PortalException
Deserialize service instance content.- Parameters:
deserializationContext
-serviceInstanceConfig
-- Throws:
PortalException
-
serialize
ServiceInstanceSerializableConfig serialize(SerializationContext serializationContext, java.lang.String serviceInstanceId) throws PortalException
Serialize a service instance.- Parameters:
serializationContext
-serviceInstanceId
-- 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, ServiceInstanceConfig serviceInstanceConfig) throws PortalException
Get aSerializationMessageConfigNode
object containing fully recursive information about a service instance.- Parameters:
baseSerializationContext
-serviceInstanceConfig
-- Returns:
- Throws:
PortalException
-
getSerializationMessageConfigNode
SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInstanceConfig serviceInstanceConfig, java.util.EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints) throws PortalException
Get aSerializationMessageConfigNode
object containing partially recursive information about a service instance.- Parameters:
baseSerializationContext
-serviceInstanceConfig
-recursionStopPoints
-- Returns:
- Throws:
PortalException
-
-