com.gentics.contentnode.rest.model.request.migration
Class TagTypeMigrationRequest

java.lang.Object
  extended by 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:
Serialized Form

Constructor Summary
TagTypeMigrationRequest()
          Create an empty instance
 
Method Summary
 List<MigrationPostProcessor> getEnabledPostProcessors()
          Returns the list of enabled post processors that were specified for this migration request
 ArrayList<TagTypeMigrationMapping> getMappings()
          Return the list of TagTypeMigrationMapping
 ArrayList<Integer> getObjectIds()
          Returns the list of object ids
 String getType()
          Return the type of the objects.
 boolean isHandlePagesByTemplate()
          Returns whether the handlePagesByTemplate flag was enabled for this request.
 boolean isPreventTriggerEvent()
          Check whether the trigger events should be prevented.
 void setEnabledPostProcessors(List<MigrationPostProcessor> enabledPostProcessors)
          Sets the map of enabled post processors for this migration request
 void setHandlePagesByTemplate(boolean handlePagesByTemplate)
          Sets the handlePagesByTemplate option which specifies whether the migration should be applied to ALL pages using this page's template.
 void setMappings(ArrayList<TagTypeMigrationMapping> mappings)
          Set the list of TagTypeMigrationMapping
 void setObjectIds(ArrayList<Integer> objectIds)
          Set the list of object ids
 void setPreventTriggerEvent(boolean preventTriggerEvent)
          Sets the prevent tigger event option
 void setType(String type)
          Set the type for the migration job.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagTypeMigrationRequest

public TagTypeMigrationRequest()
Create an empty instance

Method Detail

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 -

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 ArrayList<TagTypeMigrationMapping> getMappings()
Return the list of TagTypeMigrationMapping

Returns:

setMappings

public void setMappings(ArrayList<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 ArrayList<Integer> getObjectIds()
Returns the list of object ids

Returns:

setObjectIds

public void setObjectIds(ArrayList<Integer> objectIds)
Set the list of object ids

Parameters:
objectIds -


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.