com.gentics.contentnode.rest.model.request
Class TemplateSaveRequest

java.lang.Object
  extended by com.gentics.contentnode.rest.model.request.TemplateSaveRequest

public class TemplateSaveRequest
extends java.lang.Object

Request for saving a template


Constructor Summary
TemplateSaveRequest()
          Create an empty instance
TemplateSaveRequest(Template template)
          Create an instance with the given template
 
Method Summary
 java.util.List<java.lang.String> getDelete()
          List of tag names to be deleted from the template
 Template getTemplate()
          Template to be saved
 boolean isUnlock()
          True, if the template shall be unlocked after saving, false if not
 void setDelete(java.util.List<java.lang.String> delete)
          Get the list of tagnames to be deleted from the template
 void setTemplate(Template template)
          Set the template to be saved
 void setUnlock(boolean unlock)
          Set true to unlock the template after saving
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateSaveRequest

public TemplateSaveRequest()
Create an empty instance


TemplateSaveRequest

public TemplateSaveRequest(Template template)
Create an instance with the given template

Parameters:
template - template
Method Detail

getTemplate

public Template getTemplate()
Template to be saved

Returns:
the template

setTemplate

public void setTemplate(Template template)
Set the template to be saved

Parameters:
template - the template to set

isUnlock

public boolean isUnlock()
True, if the template shall be unlocked after saving, false if not

Returns:
true to unlock

setUnlock

public void setUnlock(boolean unlock)
Set true to unlock the template after saving

Parameters:
true - to unlock

getDelete

public java.util.List<java.lang.String> getDelete()
List of tag names to be deleted from the template

Returns:
list of tag names to be deleted

setDelete

public void setDelete(java.util.List<java.lang.String> delete)
Get the list of tagnames to be deleted from the template

Parameters:
list - of tag names to be deleted


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.