public interface IServiceInterfaceInstanceSerializationManager extends IConfigPersister
Modifier and Type | Method and Description |
---|---|
void |
deserialize(DeserializationContext deserializationContext,
ServiceInterfaceInstanceSerializableConfig serviceInterfaceInstanceSerializableConfig)
Deserialize a service interface instance.
|
void |
deserialize(DeserializationContext deserializationContext,
ServiceInterfaceInstanceSerializableConfig serviceInterfaceInstanceSerializableConfig,
IDirectory directory,
String interfaceInstanceInputPath,
String customPropertiesInputPath)
Deserializes a service interface instance from specific output path.
|
SerializationMessageConfigNode |
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig)
Get a
SerializationMessageConfigNode object containing fully recursive information about a service interface instance. |
SerializationMessageConfigNode |
getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig,
EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints)
Get a
SerializationMessageConfigNode object containing partially recursive information about a service interface instance. |
ServiceInterfaceInstanceSerializableConfig |
serialize(SerializationContext serializationContext,
String serviceInterfaceInstanceId)
Serialize a service interface instance.
|
ServiceInterfaceInstanceSerializableConfig |
serialize(SerializationContext serializationContext,
String serviceInterfaceInstanceId,
IDirectory directory,
String interfaceInstanceOutputPath,
String customPropertiesOutputPath)
Serializes a service interface instance to specific output path.
|
void |
setupSerializationContext(BaseSerializationContext serializationContext)
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.
|
persistConfig
void deserialize(DeserializationContext deserializationContext, ServiceInterfaceInstanceSerializableConfig serviceInterfaceInstanceSerializableConfig) throws PortalException
deserializationContext
- serviceInterfaceInstanceSerializableConfig
- PortalException
void deserialize(DeserializationContext deserializationContext, ServiceInterfaceInstanceSerializableConfig serviceInterfaceInstanceSerializableConfig, IDirectory directory, String interfaceInstanceInputPath, String customPropertiesInputPath) throws PortalException
deserializationContext
- the deserialization context.serviceInterfaceInstanceId
- the service interface instance identifier.directory
- the directory the paths are relative to.interfaceInstanceInputPath
- the path where the service interface instance will be deserialized from,
relative to directory
.customPropertiesInputPath
- the path where the service interface instance's custom properties (if any) will
be deserialized from, relative to directory
.PortalException
ServiceInterfaceInstanceSerializableConfig serialize(SerializationContext serializationContext, String serviceInterfaceInstanceId) throws PortalException
serializationContext
- serviceInterfaceInstanceId
- PortalException
ServiceInterfaceInstanceSerializableConfig serialize(SerializationContext serializationContext, String serviceInterfaceInstanceId, IDirectory directory, String interfaceInstanceOutputPath, String customPropertiesOutputPath) throws PortalException
serializationContext
- the serialization context.serviceInterfaceInstanceId
- the service interface instance identifier.directory
- the directory the paths are relative to.interfaceInstanceOutputPath
- the path where the service interface instance will be serialized to, relative
to directory
.customPropertiesOutputPath
- the path where the service interface instance's custom properties (if any) will
be serialized to, relative to directory
.PortalException
void setupSerializationContext(BaseSerializationContext serializationContext)
serializationContext
- SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig) throws PortalException
SerializationMessageConfigNode
object containing fully recursive information about a service interface instance.baseSerializationContext
- serviceInterfaceInstanceConfig
- PortalException
SerializationMessageConfigNode getSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints) throws PortalException
SerializationMessageConfigNode
object containing partially recursive information about a service interface instance.baseSerializationContext
- serviceInterfaceInstanceConfig
- recursionStopPoints
- PortalException
LumisXP 12.1.0.191010 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.