public interface Page extends RepositoryLocalItem
| Modifier and Type | Method and Description |
|---|---|
List<Category> |
getCategories() |
List<ComponentPresentation> |
getComponentPresentations()
Get the list of component presentations on the page
|
String |
getFileExtension()
Get the file extension of the page
|
String |
getFileName()
Get the file name
|
org.joda.time.DateTime |
getLastPublishedDate() |
Map<String,Field> |
getMetadata()
Get the metadata as a map of fields
|
PageTemplate |
getPageTemplate()
Get the page template
|
org.joda.time.DateTime |
getRevisionDate() |
StructureGroup |
getStructureGroup() |
String |
getUrl() |
int |
getVersion() |
void |
setCategories(List<Category> categories) |
void |
setComponentPresentations(List<ComponentPresentation> componentPresentations)
Set the component presentations
|
void |
setFileExtension(String fileExtension)
Set the file extension
|
void |
setFileName(String fileName)
Set the file name
|
void |
setLastPublishedDate(org.joda.time.DateTime date) |
void |
setMetadata(Map<String,Field> metadata)
Set the metadata
|
void |
setPageTemplate(PageTemplate pageTemplate)
Set the page template
|
void |
setRevisionDate(org.joda.time.DateTime date) |
void |
setStructureGroup(StructureGroup structureGroup) |
void |
setUrl(String url) |
getOrganizationalItem, getOwningPublication, getPublication, getSchema, setOrganizationalItem, setOwningPublication, setPublication, setSchemaaddCustomProperty, getCustomProperties, getCustomProperty, getExtensionData, getId, getTitle, setCustomProperties, setExtensionData, setId, setTitlePageTemplate getPageTemplate()
void setPageTemplate(PageTemplate pageTemplate)
pageTemplate - String getFileName()
void setFileName(String fileName)
fileName - String getFileExtension()
void setFileExtension(String fileExtension)
fileExtension - List<ComponentPresentation> getComponentPresentations()
void setComponentPresentations(List<ComponentPresentation> componentPresentations)
componentPresentations - StructureGroup getStructureGroup()
void setStructureGroup(StructureGroup structureGroup)
int getVersion()
org.joda.time.DateTime getLastPublishedDate()
getLastPublishedDate in interface RepositoryLocalItemvoid setLastPublishedDate(org.joda.time.DateTime date)
setLastPublishedDate in interface RepositoryLocalItemorg.joda.time.DateTime getRevisionDate()
void setRevisionDate(org.joda.time.DateTime date)
String getUrl()
void setUrl(String url)
Copyright © 2017. All rights reserved.