public class ServiceInstanceSerializationManager extends Object implements IServiceInstanceSerializationManager
Modifier and Type | Field and Description |
---|---|
protected List<ConfigForeignKey> |
dependencyForeignKeys |
protected List<ConfigForeignKey> |
foreignKeys |
Constructor and Description |
---|
ServiceInstanceSerializationManager() |
Modifier and Type | Method and Description |
---|---|
void |
deleteConfig(DeserializationContext deserializationContext,
String configId) |
void |
deserialize(DeserializationContext deserializationContext,
ServiceInstanceSerializableConfig serviceInstanceSerializableConfig)
Deserialize a service instance.
|
void |
deserializeContent(DeserializationContext deserializationContext,
ServiceInstanceConfig serviceInstanceConfig)
Deserialize service instance content.
|
void |
deserializeContent(DeserializationContext deserializationContext,
ServiceInstanceSerializableConfig serviceInstanceSerializableConfig)
Deserialize service instance content.
|
SerializationMessageConfigNode |
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
ServiceInstanceConfig serviceInstanceConfig)
Get a
SerializationMessageConfigNode object containing fully recursive information about a service instance. |
SerializationMessageConfigNode |
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
ServiceInstanceConfig serviceInstanceConfig,
EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
Get a
SerializationMessageConfigNode object containing partially recursive information about a service instance. |
ServiceInstanceSerializableConfig |
serialize(SerializationContext serializationContext,
String serviceInstanceId)
Serialize a service instance.
|
void |
setupSerializationContext(BaseSerializationContext baseSerializationContext)
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.
|
protected final List<ConfigForeignKey> foreignKeys
protected final List<ConfigForeignKey> dependencyForeignKeys
public void deserialize(DeserializationContext deserializationContext, ServiceInstanceSerializableConfig serviceInstanceSerializableConfig) throws PortalException
IServiceInstanceSerializationManager
deserialize
in interface IServiceInstanceSerializationManager
PortalException
public void deserializeContent(DeserializationContext deserializationContext, ServiceInstanceSerializableConfig serviceInstanceSerializableConfig) throws PortalException
IServiceInstanceSerializationManager
deserializeContent
in interface IServiceInstanceSerializationManager
PortalException
public void deserializeContent(DeserializationContext deserializationContext, ServiceInstanceConfig serviceInstanceConfig) throws PortalException
IServiceInstanceSerializationManager
deserializeContent
in interface IServiceInstanceSerializationManager
PortalException
public ServiceInstanceSerializableConfig serialize(SerializationContext serializationContext, String serviceInstanceId) throws PortalException
IServiceInstanceSerializationManager
serialize
in interface IServiceInstanceSerializationManager
PortalException
public void setupSerializationContext(BaseSerializationContext baseSerializationContext)
IServiceInstanceSerializationManager
setupSerializationContext
in interface IServiceInstanceSerializationManager
public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInstanceConfig serviceInstanceConfig) throws PortalException
IServiceInstanceSerializationManager
SerializationMessageConfigNode
object containing fully recursive information about a service instance.getSerializationMessageConfigNode
in interface IServiceInstanceSerializationManager
PortalException
public SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInstanceConfig serviceInstanceConfig, EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints) throws PortalException
IServiceInstanceSerializationManager
SerializationMessageConfigNode
object containing partially recursive information about a service instance.getSerializationMessageConfigNode
in interface IServiceInstanceSerializationManager
PortalException
public void deleteConfig(DeserializationContext deserializationContext, String configId) throws PortalException
deleteConfig
in interface IConfigDeleter
PortalException
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.