public class DeserializationContext extends BaseSerializationContext
Modifier and Type | Class and Description |
---|---|
static class |
DeserializationContext.ExistingStyleAction |
static class |
DeserializationContext.ImportMemberRules |
Constructor and Description |
---|
DeserializationContext(SessionConfig sessionConfig,
ITransaction transaction,
String rootChannelId,
IDirectory directory,
boolean createNewIds,
boolean updateIfElementExists,
boolean importAsChild,
boolean deleteExistingElements,
boolean simulation,
DeserializationContext.ExistingStyleAction existingStyleAction,
boolean progressEnabled,
boolean includeContent) |
getCurrentChannelPath, getDefaultSerializer, getDirectory, getGlobalGroups, getIncludeContent, getItemProgressMax, getItemProgressValue, getOverallProgressMax, getOverallProgressValue, getProcessId, getProgressEnabled, getResource, getRootChannelId, getSerializationSettings, getSessionConfig, getStartTime, getTransaction, incrementItemProgressValue, incrementOverallProgressValue, isShallowSerialization, logDebug, logDebug, logDebug, sendProgressFinalNotification, sendProgressNotification, sendProgressNotification, setCurrentChannelPath, setDefaultSerializer, setDirectory, setItemProgressMax, setItemProgressValue, setOverallProgressMax, setOverallProgressValue, setProcessId, setRootChannelId, setSerializationSettings, setShallowSerialization, setStartTime, updateProgressBar, updateProgressBar
public DeserializationContext(SessionConfig sessionConfig, ITransaction transaction, String rootChannelId, IDirectory directory, boolean createNewIds, boolean updateIfElementExists, boolean importAsChild, boolean deleteExistingElements, boolean simulation, DeserializationContext.ExistingStyleAction existingStyleAction, boolean progressEnabled, boolean includeContent)
public void setTransaction(ITransaction transaction)
setTransaction
in class BaseSerializationContext
public void setImportMemberRules(DeserializationContext.ImportMemberRules importMemberRules)
public DeserializationContext.ImportMemberRules getImportMemberRules()
public boolean isCreateNewIds()
public DependentConfigOperationCollection<ConfigPersistence> getDependentConfigPersistences()
public boolean isUpdateIfElementExists()
public boolean isImportAsChild()
public boolean hasIdMapping(String originalId)
public void applyForeignKeyFieldIdMappings(Object target, List<ConfigForeignKey> foreignKeys) throws SerializationException
SerializationException
public void applyForeignKeyFieldIdMappings(Object target, String[] fieldNames) throws SerializationException
SerializationException
public void applyPrimaryKeyFieldIdMappings(Object target, String[] fieldNames) throws SerializationException
SerializationException
public void persistAllDependentConfigs() throws PortalException
PortalException
public void persistDependentConfigs(String dependencyKey) throws PortalException
PortalException
public boolean isMustRollBack()
public void setMustRollBack()
public boolean isDeleteExistingElements()
public boolean isSimulation()
public void setImportContentOnly(boolean importContentOnly)
public boolean isImportContentOnly()
public DeserializationContext.ExistingStyleAction getExistingStyleAction()
public Map<String,ConfigDeletion> getConfigDeletions()
public void addConfigDeletion(ConfigDeletion configDeletion)
public void removeConfigDeletion(String configId)
public ServiceInstanceDeserializationContext getServiceInstanceDeserializationContext()
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.