public class TemplateSaveRequest extends Object
Constructor and Description |
---|
TemplateSaveRequest()
Create an empty instance
|
TemplateSaveRequest(Template template)
Create an instance with the given template
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getDelete()
List of tag names to be deleted from the template
|
Template |
getTemplate()
Template to be saved
|
boolean |
isSyncPages()
True to synchronize the pages while saving the template, false if not
|
boolean |
isUnlock()
True, if the template shall be unlocked after saving, false if not
|
void |
setDelete(List<String> delete)
Get the list of tagnames to be deleted from the template
|
void |
setSyncPages(boolean syncPages)
Set true to synchronize the pages while saving the template, false to not synchronize
|
void |
setTemplate(Template template)
Set the template to be saved
|
void |
setUnlock(boolean unlock)
Set true to unlock the template after saving
|
public TemplateSaveRequest()
public TemplateSaveRequest(Template template)
template
- templatepublic Template getTemplate()
public void setTemplate(Template template)
template
- the template to setpublic boolean isUnlock()
public void setUnlock(boolean unlock)
true
- to unlockpublic boolean isSyncPages()
public void setSyncPages(boolean syncPages)
syncPages
- true to synchronize pagespublic List<String> getDelete()
Copyright © 2017 Gentics Software. All rights reserved.