public interface Page extends MetadataAwarePagesContainer, TagAwareAmetysObject
AmetysObject for reading page informations.<p>| Modifier and Type | Interface and Description |
|---|---|
static class |
Page.LinkType
Type of a link page.
|
static class |
Page.PageType
Type of a page.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDepth()
Get the page depth
|
String |
getLongTitle()
Retrieves the long title.
|
Set<String> |
getReferers()
Retrieves all
AmetysObject ids referencing this page. |
ResourceCollection |
getRootAttachments()
Retrieves the attachments root node
|
String |
getTemplate()
Retrieves the template name.
|
String |
getTitle()
Retrieves the title.
|
Page.PageType |
getType()
Retrieves the type.
|
String |
getURL()
Retrieves the linked URL.
|
Page.LinkType |
getURLType()
Retrieves the linked URL type.
|
Zone |
getZone(String name)
Retrieves a given zone.
|
AmetysObjectIterable<? extends Zone> |
getZones()
Retrieves the zones.
|
boolean |
hasZone(String name)
Determine if a zone exists
|
boolean |
isVisible()
Determine if the page is visible into navigation elements
|
getMetadataHoldergetChildPageAt, getChildrenPages, getChildrenPages, getPathInSitemap, getSitemap, getSitemapNamegetChild, getChildAt, getChildPosition, getChildren, hasChildgetSite, getSiteNameequals, getId, getName, getParent, getParentPath, getPath, hashCodegetTagsString getTitle() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.String getLongTitle() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.Page.PageType getType() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.Page.PageTypeString getURL() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.Page.LinkType getURLType() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.int getDepth() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.String getTemplate() throws AmetysRepositoryException
null if none has
been set.AmetysRepositoryException - if an error occurs.AmetysObjectIterable<? extends Zone> getZones() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.boolean hasZone(String name) throws AmetysRepositoryException
name - The name of the zoneAmetysRepositoryException - If an error occuredZone getZone(String name) throws UnknownZoneException, AmetysRepositoryException
name - the name of the zone.UnknownZoneException - if there is no zone for the given name.AmetysRepositoryException - if an error occurs.ResourceCollection getRootAttachments() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.Set<String> getReferers() throws AmetysRepositoryException
AmetysObject ids referencing this page.AmetysObject ids referencing this page.AmetysRepositoryException - if an error occurs.boolean isVisible() throws AmetysRepositoryException
AmetysRepositoryException - if an error occurs.