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
|
List<String> |
getSync()
Optional list of tags in pages to synchronize (if syncPages is true).
|
Template |
getTemplate()
Template to be saved
|
boolean |
isForceSync()
True to force synchronization of incompatible tags in pages (if syncPages is true)
|
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 |
setForceSync(boolean forceSync)
Set force sync flag
|
void |
setSync(List<String> sync)
Set tag names to synchronize
|
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> getSync()
public void setSync(List<String> sync)
sync
- list of tag namespublic boolean isForceSync()
public void setForceSync(boolean forceSync)
forceSync
- flagpublic List<String> getDelete()
Copyright © 2024 Gentics Software. All rights reserved.