public interface Page extends BasePage<PagePropertyBean>
ManagedPortalObject.ValidateOnCreate, ManagedPortalObject.ValidateOnUpdate| Modifier and Type | Method and Description |
|---|---|
PageStyle |
copyAsPageStyle(PageStyle pageStyle, boolean visible)
Copies the properties from the Page to the PageStyle.
|
PageStyle |
copyAsPageStyle(java.lang.String name, java.lang.String description, boolean visible)
Creates a PageStyle from the Page.
|
Page |
createDraft()
Creates a draft
|
java.lang.String |
getAccessURL()
Get the access url for the page
|
Page |
getBase()
Gets the base page of the draft
|
Page |
getDraft()
Gets the draft of the page
|
NavigationNode |
getNavigationNode()
Gets the node associated with the page
|
PageStyle |
getPageStyle()
Gets the page style the page was created with
|
boolean |
isDraft()
Checks if a page is a draft
|
Page |
lockPage()
Lock the page and other users cannot edit it in composer
|
Page |
publishDraft()
publish the draft
|
void |
setDraft(Page pageDraft)
Sets the draft for the page
|
void |
setPageStyle(PageStyle pageStyle)
Sets the page style the page was created with
|
Page |
unlockPage()
Unlock the page and other users can edit it in composer
|
addContentItem, addDPTaskFlow, addPageDefinitionParameter, clearPageDefinitionParameter, getContentById, getContentByType, getContentItems, getDPTaskFlow, getLayout, getPageDefinitionParameters, removeDPTaskFlow, removePageDefinitionParameter, setLayout, setLayout, setPageDefinitionParameterscopy, copy, delete, expandProperties, getAuthorizedActions, getDependentPortalObjects, getHolder, getPortal, getTypeName, isCurrent, isValid, setPortal, setPropertiesgetId, getProperties, getPropertiesPageStyle copyAsPageStyle(java.lang.String name, java.lang.String description, boolean visible) throws DuplicateNameException
name - the new name for the PageStyledescription - the new description for the PageStylevisible - whether the page style should be visibleDuplicateNameException - thrown if the name has already been used by another page style in the portalPageStyle copyAsPageStyle(PageStyle pageStyle, boolean visible)
pageStyle - the PageStyle to copy the properties tovisible - whether the page style should be visiblePageStyle getPageStyle()
void setPageStyle(PageStyle pageStyle)
pageStyle - the page stylePage createDraft()
void setDraft(Page pageDraft)
pageDraft - the draft pagePage getDraft()
Page getBase()
Page publishDraft()
boolean isDraft()
Page lockPage()
Page unlockPage()
NavigationNode getNavigationNode()
java.lang.String getAccessURL()