Class DeserializationContext


  • public class DeserializationContext
    extends BaseSerializationContext
    Context class for portal objects deserialization
    Since:
    4.0.7
    Version:
    $Revision: 16323 $ $Date: 2014-07-09 05:17:39 -0300 (Wed, 09 Jul 2014) $
    • Constructor Detail

      • DeserializationContext

        public DeserializationContext​(SessionConfig sessionConfig,
                                      ITransaction transaction,
                                      java.lang.String rootChannelId,
                                      IDirectory directory,
                                      boolean createNewIds,
                                      boolean updateIfElementExists,
                                      boolean importAsChild,
                                      boolean deleteExistingElements,
                                      boolean simulation,
                                      DeserializationContext.ExistingStyleAction existingStyleAction,
                                      boolean progressEnabled,
                                      boolean includeContent)
    • Method Detail

      • isCreateNewIds

        public boolean isCreateNewIds()
      • addIdMapping

        public void addIdMapping​(java.lang.String id,
                                 java.lang.String newId)
      • isUpdateIfElementExists

        public boolean isUpdateIfElementExists()
      • isImportAsChild

        public boolean isImportAsChild()
      • getIdMapping

        public java.lang.String getIdMapping​(java.lang.String originalId)
      • hasIdMapping

        public boolean hasIdMapping​(java.lang.String originalId)
      • isMustRollBack

        public boolean isMustRollBack()
      • setMustRollBack

        public void setMustRollBack()
      • isDeleteExistingElements

        public boolean isDeleteExistingElements()
      • isSimulation

        public boolean isSimulation()
      • setImportContentOnly

        public void setImportContentOnly​(boolean importContentOnly)
      • isImportContentOnly

        public boolean isImportContentOnly()
      • getConfigDeletions

        public java.util.Map<java.lang.String,​ConfigDeletion> getConfigDeletions()
      • addConfigDeletion

        public void addConfigDeletion​(ConfigDeletion configDeletion)
      • removeConfigDeletion

        public void removeConfigDeletion​(java.lang.String configId)
      • addLocalGroupPrefixMapping

        public void addLocalGroupPrefixMapping​(java.lang.String original,
                                               java.lang.String mapped)
      • getLocalGroupPrefixMapping

        public java.lang.String getLocalGroupPrefixMapping​(java.lang.String original)
      • getOriginalGroupPrefix

        public java.lang.String getOriginalGroupPrefix​(java.lang.String mapping)