public class WorkflowSerializationManager extends Object implements IWorkflowSerializationManager, IConfigPersister
Constructor and Description |
---|
WorkflowSerializationManager() |
Modifier and Type | Method and Description |
---|---|
void |
deserialize(ServiceInstanceDeserializationContext serviceInstanceDeserializationContext,
WorkflowSerializableConfig workflowSerializableConfig)
Deserialize a content service instance's workflow and its permissions.
|
protected SerializationMessageConfigNode |
getServiceInstanceWorkflowSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
ServiceInstanceConfig serviceInstanceConfig,
WorkflowPermission workflowPermission) |
protected SerializationMessageConfigNode |
getServiceInstanceWorkflowSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext,
ServiceInstanceConfig serviceInstanceConfig,
WorkflowPermission workflowPermission,
EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints) |
protected SerializationMessageConfigNode |
getWorkflowSerializationMessageConfigNode(String workflowId) |
boolean |
persistConfig(DeserializationContext deserializationContext,
Object config,
boolean firstPersistence)
Performs a config persistance (add or update) operation
|
WorkflowSerializableConfig |
serialize(ServiceInstanceSerializationContext serviceInstanceSerializationContext)
Serialize a content service instance's workflow and its permissions.
|
void |
setupSerializationContext(ServiceInstanceBaseSerializationContext serviceInstanceBaseSerializationContext)
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.
|
public void deserialize(ServiceInstanceDeserializationContext serviceInstanceDeserializationContext, WorkflowSerializableConfig workflowSerializableConfig) throws PortalException
IWorkflowSerializationManager
deserialize
in interface IWorkflowSerializationManager
PortalException
public boolean persistConfig(DeserializationContext deserializationContext, Object config, boolean firstPersistence) throws PortalException
IConfigPersister
persistConfig
in interface IConfigPersister
PortalException
public WorkflowSerializableConfig serialize(ServiceInstanceSerializationContext serviceInstanceSerializationContext) throws PortalException
IWorkflowSerializationManager
serialize
in interface IWorkflowSerializationManager
PortalException
protected SerializationMessageConfigNode getWorkflowSerializationMessageConfigNode(String workflowId)
protected SerializationMessageConfigNode getServiceInstanceWorkflowSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInstanceConfig serviceInstanceConfig, WorkflowPermission workflowPermission) throws PortalException
PortalException
protected SerializationMessageConfigNode getServiceInstanceWorkflowSerializationMessageConfigNode(BaseSerializationContext baseSerializationContext, ServiceInstanceConfig serviceInstanceConfig, WorkflowPermission workflowPermission, EnumSet<SerializationMessageConfigNode.RecursionStopPoints> recursionStopPoints) throws PortalException
PortalException
public void setupSerializationContext(ServiceInstanceBaseSerializationContext serviceInstanceBaseSerializationContext)
IWorkflowSerializationManager
setupSerializationContext
in interface IWorkflowSerializationManager
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.