Package org.ametys.web.repository.page
Interface Page
- All Superinterfaces:
AmetysObject
,DataAwareAmetysObject
,DataHolder
,MetadataAwareSitemapElement
,ModelLessDataAwareAmetysObject
,ModelLessDataHolder
,SiteAwareAmetysObject
,SitemapElement
,TagAwareAmetysObject
,TraversableAmetysObject
- All Known Subinterfaces:
ModifiablePage
- All Known Implementing Classes:
AbstractLevelPage
,AbstractOdfPage
,CoursePage
,DefaultPage
,FirstLevelPage
,OrgUnitPage
,ProgramPage
,RedirectPage
,SecondLevelPage
,TransitionalPage
,UGCPage
,UGCTransitionalPage
,UserPage
AmetysObject
for reading page informations.<p>-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Type of a link page.static enum
Type of a page. -
Field Summary
Fields inherited from interface org.ametys.web.repository.SiteAwareAmetysObject
METADATA_SITE
-
Method Summary
Modifier and TypeMethodDescriptionint
getDepth()
Get the page depthRetrieves the long title.Retrieves allAmetysObject
ids referencing this page.Retrieves the attachments root nodegetType()
Retrieves the type.getURL()
Retrieves the linked URL.Retrieves the linked URL type.boolean
Determine if the page is visible into navigation elementsMethods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, dataToJSON, dataToJSON, dataToSAX, dataToSAX, getDataNames, getRepositoryData
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelLessDataAwareAmetysObject
dataToJSON, dataToSAX, getComposite, getDataHolder, getModelItemTypeExtensionPoint, getParentDataHolder, getRootDataHolder, getType, getValue, getValue, getValueOfType, getValueOfType, hasValue, hasValue, hasValueOrEmpty, isMultiple, isMultiple
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModelLessDataHolder
dataToJSON, dataToSAX
Methods inherited from interface org.ametys.web.repository.SiteAwareAmetysObject
getSite, getSiteName
Methods inherited from interface org.ametys.web.repository.page.SitemapElement
getChildPageAt, getChildrenPages, getChildrenPages, getPathInSitemap, getSitemap, getSitemapName, getTemplate, getTemplateParametersHolder, getTitle, getZone, getZones, hasZone
Methods inherited from interface org.ametys.plugins.repository.tag.TagAwareAmetysObject
getTags
Methods inherited from interface org.ametys.plugins.repository.TraversableAmetysObject
getChild, getChildAt, getChildPosition, getChildren, hasChild
-
Method Details
-
getLongTitle
Retrieves the long title.- Returns:
- the title.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getType
Retrieves the type.- Returns:
- the type.
- Throws:
AmetysRepositoryException
- if an error occurs.- See Also:
-
getURL
Retrieves the linked URL.- Returns:
- the linked URL.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getURLType
Retrieves the linked URL type.- Returns:
- the linked URL type.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getDepth
Get the page depth- Returns:
- the page depth
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getRootAttachments
Retrieves the attachments root node- Returns:
- The the attachments root node
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getReferers
Retrieves allAmetysObject
ids referencing this page.- Returns:
- the
AmetysObject
ids referencing this page. - Throws:
AmetysRepositoryException
- if an error occurs.
-
isVisible
Determine if the page is visible into navigation elements- Returns:
- true if the page is visible.
- Throws:
AmetysRepositoryException
- if an error occurs.
-