Class TagTypeMigrationRequest

java.lang.Object
com.gentics.contentnode.rest.model.request.migration.TagTypeMigrationRequest
All Implemented Interfaces:
Serializable

public class TagTypeMigrationRequest extends Object implements Serializable
Tag Type Migration Request
Author:
Taylor
See Also:
  • Constructor Details

    • TagTypeMigrationRequest

      public TagTypeMigrationRequest()
      Create an empty instance
  • Method Details

    • isPreventTriggerEvent

      public boolean isPreventTriggerEvent()
      Check whether the trigger events should be prevented.
      Returns:
      true if trigger events should be prevented, otherwise false
    • setPreventTriggerEvent

      public void setPreventTriggerEvent(boolean preventTriggerEvent)
      Sets the prevent tigger event option
      Parameters:
      handlePagesByTemplate -
    • isHandlePagesByTemplate

      public boolean isHandlePagesByTemplate()
      Returns whether the handlePagesByTemplate flag was enabled for this request.
      Returns:
      true if the migration should use the page as a refernce to fetch all the template's pages, otherwise false
    • setHandlePagesByTemplate

      public void setHandlePagesByTemplate(boolean handlePagesByTemplate)
      Sets the handlePagesByTemplate option which specifies whether the migration should be applied to ALL pages using this page's template.
      Parameters:
      handlePagesByTemplate -
    • isHandleAllNodes

      public boolean isHandleAllNodes()
      Returns whether the handleAllNodes flag was enabled
      Returns:
      true if pages of all nodes shall be handled, false if only of the same node as the selected page
    • setHandleAllNodes

      public void setHandleAllNodes(boolean handleAllNodes)
      Set the handleAllNodes flag
      Parameters:
      handleAllNodes - true to handle pages of all nodes, false for only the same node as the selected page
    • getEnabledPreProcessors

      public List<MigrationPreProcessor> getEnabledPreProcessors()
      Returns the list of enabled pre processors that were specified for this migration request
      Returns:
    • setEnabledPreProcessors

      public void setEnabledPreProcessors(List<MigrationPreProcessor> enabledPreProcessors)
      Sets the map of enabled pre processors for this migration request
      Parameters:
      enabledPreProcessors -
    • getEnabledPostProcessors

      public List<MigrationPostProcessor> getEnabledPostProcessors()
      Returns the list of enabled post processors that were specified for this migration request
      Returns:
    • setEnabledPostProcessors

      public void setEnabledPostProcessors(List<MigrationPostProcessor> enabledPostProcessors)
      Sets the map of enabled post processors for this migration request
      Parameters:
      enabledPostProcessors -
    • getMappings

      public List<TagTypeMigrationMapping> getMappings()
      Return the list of TagTypeMigrationMapping
      Returns:
    • setMappings

      public void setMappings(List<TagTypeMigrationMapping> mappings)
      Set the list of TagTypeMigrationMapping
      Parameters:
      mappings -
    • getType

      public String getType()
      Return the type of the objects. This can either be 'page','template' or 'objtagdef'
      Returns:
    • setType

      public void setType(String type)
      Set the type for the migration job. This can either be 'page','template' or 'objtagdef'
      Parameters:
      type -
    • getObjectIds

      public List<Integer> getObjectIds()
      Returns the list of object ids
      Returns:
    • setObjectIds

      public void setObjectIds(List<Integer> objectIds)
      Set the list of object ids
      Parameters:
      objectIds -
    • isHandleGlobalPages

      public boolean isHandleGlobalPages()
      Whether a global migration shall handle pages
      Returns:
      true to handle pages
    • setHandleGlobalPages

      public void setHandleGlobalPages(boolean handleGlobalPages)
      Set whether a global migration shall handle pages
      Parameters:
      handleGlobalPages - true to handle pages
    • isHandleGlobalTemplates

      public boolean isHandleGlobalTemplates()
      Whether a global migration shall handle templates
      Returns:
      true to handle templates
    • setHandleGlobalTemplates

      public void setHandleGlobalTemplates(boolean handleGlobalTemplates)
      Set whether a global migration shall handle templates
      Parameters:
      handleGlobalTemplates - true to handle templates
    • isHandleGlobalObjTagDefs

      public boolean isHandleGlobalObjTagDefs()
      Whether a global migration shall handle object property definitions
      Returns:
      true to handle object property definitions
    • setHandleGlobalObjTagDefs

      public void setHandleGlobalObjTagDefs(boolean handleGlobalObjTagDefs)
      Set whether a global migration shall handle object property definitions
      Parameters:
      handleGlobalObjTagDefs - true to handle object property definitions
    • getRestrictedNodeIds

      public List<Integer> getRestrictedNodeIds()
      List of IDs of nodes, to which a global migration shall be restricted. Empty to apply global migration to all nodes
      Returns:
      list of node IDs
    • setRestrictedNodeIds

      public void setRestrictedNodeIds(List<Integer> restrictedNodeIds)
      Set list of node IDs to which a global migration shall be restricted
      Parameters:
      restrictedNodeIds - list of node IDs