public interface PageStyle extends Asset<PageStylePropertyBean>, BasePage<PageStylePropertyBean>
ManagedPortalObject.ValidateOnCreate, ManagedPortalObject.ValidateOnUpdate
Modifier and Type | Method and Description |
---|---|
Page |
createPage(java.lang.String name, Portal portal)
Creates a Page from the PageStyle.
|
void |
updateFromPage(Page page)
Updates the PageStyle with the properties from the Page.
|
addContentItem, addDPTaskFlow, addPageDefinitionParameter, clearPageDefinitionParameter, getContentById, getContentByType, getContentItems, getDPTaskFlow, getLayout, getPageDefinitionParameters, removeDPTaskFlow, removePageDefinitionParameter, setLayout, setLayout, setPageDefinitionParameters
copy, copy, delete, expandProperties, getAuthorizedActions, getDependentPortalObjects, getHolder, getPortal, getTypeName, isCurrent, isValid, setPortal, setProperties
getId, getProperties, getProperties
Page createPage(java.lang.String name, Portal portal) throws DuplicateNameException
name
- the new name for the Pageportal
- the portal the page should belong toDuplicateNameException
void updateFromPage(Page page)
page
- the page to copy the properties from