Package lumis.portal.serialization
Class DeserializationConfig
- java.lang.Object
-
- lumis.portal.serialization.BaseSerializationConfig
-
- lumis.portal.serialization.DeserializationConfig
-
@StableMinor(version="15.0", sinceVersion="4.0") public class DeserializationConfig extends BaseSerializationConfig
- Since:
- 4.0.0
- Version:
- $Revision: 25303 $ $Date: 2022-10-22 22:48:02 -0300 (Sat, 22 Oct 2022) $
-
-
Constructor Summary
Constructors Constructor Description DeserializationConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsIdMapping(java.lang.String originalId)
boolean
getCreateNewIds()
java.lang.String
getIdMapping(java.lang.String originalId)
java.util.List<ChannelTemplateLinkConfig>
getTemplateLinksList()
Returns the links of channel template for the structure being imported.boolean
isUpdateIfElementExists()
void
setCreateNewIds(boolean createNewIds)
void
setIdMapping(java.lang.String originalId, java.lang.String newId)
void
setTemplateLinksList(java.util.List<ChannelTemplateLinkConfig> templateLinksList)
Sets the links of channel template for the structure being imported.void
setUpdateIfElementExists(boolean updateIfElementExists)
-
Methods inherited from class lumis.portal.serialization.BaseSerializationConfig
getRootChannelId, setRootChannelId
-
-
-
-
Method Detail
-
getTemplateLinksList
public java.util.List<ChannelTemplateLinkConfig> getTemplateLinksList()
Returns the links of channel template for the structure being imported.- Returns:
- the links of channel template.
- Since:
- 4.2.1
-
setTemplateLinksList
public void setTemplateLinksList(java.util.List<ChannelTemplateLinkConfig> templateLinksList)
Sets the links of channel template for the structure being imported.- Parameters:
templateLinksList
- the links of channel template.- Since:
- 4.2.1
-
getIdMapping
public java.lang.String getIdMapping(java.lang.String originalId)
- Returns:
- Returns the idMappings.
-
setIdMapping
public void setIdMapping(java.lang.String originalId, java.lang.String newId)
-
containsIdMapping
public boolean containsIdMapping(java.lang.String originalId)
- Returns:
- Returns the idMappings.
-
getCreateNewIds
public boolean getCreateNewIds()
- Returns:
- Returns the createNewIds.
-
setCreateNewIds
public void setCreateNewIds(boolean createNewIds)
- Parameters:
createNewIds
- The createNewIds to set.
-
isUpdateIfElementExists
public boolean isUpdateIfElementExists()
-
setUpdateIfElementExists
public void setUpdateIfElementExists(boolean updateIfElementExists)
-
-