public class PageSaveRequest extends Object
Constructor and Description |
---|
PageSaveRequest()
Constructor used by JAXB
|
PageSaveRequest(Page page)
Creates a new PageSaveRequest with a specified page
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getDelete()
List of tag names of tags, that shall be deleted.
|
Page |
getPage()
Page to be saved
|
boolean |
isCreateVersion()
True if a page version shall be created, false if not.
|
boolean |
isUnlock()
True if the page shall be unlocked after saving, false if not.
|
void |
setCreateVersion(boolean createVersion)
Set whether to create a page version
|
void |
setDelete(List<String> delete)
Set the list of tags that need to be deleted
|
void |
setPage(Page page) |
void |
setUnlock(boolean unlock) |
public PageSaveRequest()
public PageSaveRequest(Page page)
page
- The page to savepublic Page getPage()
public void setPage(Page page)
public boolean isUnlock()
public void setUnlock(boolean unlock)
unlock
- the unlock to setpublic boolean isCreateVersion()
public void setCreateVersion(boolean createVersion)
createVersion
- true to create a page versionpublic List<String> getDelete()
Copyright © 2015 Gentics Software GmbH. All rights reserved.