public abstract class AbstractOdfPage extends Object implements Page
Page.LinkType, Page.PageType
Constructor and Description |
---|
AbstractOdfPage() |
Modifier and Type | Method and Description |
---|---|
Page |
getChildPageAt(int index)
Gets the child
Page at the given position |
AmetysObjectIterable<? extends AmetysObject> |
getChildren()
Retrieves children of the current object.
|
AmetysObjectIterable<? extends Page> |
getChildrenPages(boolean includeInvisiblePages)
Retrieves child pages.
|
String |
getPath()
Retrieves the path of the current object.
|
Set<String> |
getReferers()
Retrieves all
AmetysObject ids referencing this page. |
ResourceCollection |
getRootAttachments()
Retrieves the attachments root node
|
Set<String> |
getTags()
Retrieves current tags.
|
Page.PageType |
getType()
Retrieves the type.
|
String |
getURL()
Retrieves the linked URL.
|
Page.LinkType |
getURLType()
Retrieves the linked URL type.
|
boolean |
hasZone(String name)
Determine if a zone exists
|
boolean |
isVisible()
Determine if the page is visible into navigation elements
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDepth, getLongTitle, getTemplate, getTitle, getZone, getZones
getChildrenPages, getPathInSitemap, getSitemap, getSitemapName
getChild, getChildAt, getChildPosition, hasChild
getSite, getSiteName
getComposite, getDataHolder, getRepeater, getType, getValue, getValue, getValueOfType, getValueOfType, hasValue, isMultiple
copyTo, getDataNames
equals, getId, getName, getParent, getParentPath, hashCode
toSAX, toSAX
dataToSAX, dataToSAX, dataToSAX, dataToSAX
public AbstractOdfPage()
public Set<String> getReferers() throws AmetysRepositoryException
Page
AmetysObject
ids referencing this page.getReferers
in interface Page
AmetysObject
ids referencing this page.AmetysRepositoryException
- if an error occurs.public ResourceCollection getRootAttachments() throws AmetysRepositoryException
Page
getRootAttachments
in interface Page
AmetysRepositoryException
- if an error occurs.public Page.PageType getType() throws AmetysRepositoryException
Page
getType
in interface Page
AmetysRepositoryException
- if an error occurs.Page.PageType
public String getURL() throws AmetysRepositoryException
Page
getURL
in interface Page
AmetysRepositoryException
- if an error occurs.public Page.LinkType getURLType() throws AmetysRepositoryException
Page
getURLType
in interface Page
AmetysRepositoryException
- if an error occurs.public boolean hasZone(String name) throws AmetysRepositoryException
Page
hasZone
in interface Page
name
- The name of the zoneAmetysRepositoryException
- If an error occuredpublic Set<String> getTags() throws AmetysRepositoryException
TagAwareAmetysObject
getTags
in interface TagAwareAmetysObject
AmetysRepositoryException
- if an error occurs.public boolean isVisible() throws AmetysRepositoryException
Page
isVisible
in interface Page
AmetysRepositoryException
- if an error occurs.public String getPath() throws AmetysRepositoryException
AmetysObject
getPath
in interface AmetysObject
AmetysRepositoryException
- if an error occurs.public AmetysObjectIterable<? extends AmetysObject> getChildren() throws AmetysRepositoryException
TraversableAmetysObject
getChildren
in interface TraversableAmetysObject
AmetysObjectIterable
.AmetysRepositoryException
- if an error occurs.public AmetysObjectIterable<? extends Page> getChildrenPages(boolean includeInvisiblePages) throws AmetysRepositoryException
PagesContainer
getChildrenPages
in interface PagesContainer
includeInvisiblePages
- true to include invisible pagesAmetysRepositoryException
- if an error occurs.public Page getChildPageAt(int index) throws UnknownAmetysObjectException, AmetysRepositoryException
PagesContainer
Page
at the given positiongetChildPageAt
in interface PagesContainer
index
- the position of the Page
within the ordered set of its sibling objects.Page
if foundUnknownAmetysObjectException
- if no child page was found at this positionAmetysRepositoryException
- if an error occurs