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
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumType of a link page.static enumType of a page. -
Field Summary
Fields inherited from interface org.ametys.web.repository.SiteAwareAmetysObject
METADATA_SITE -
Method Summary
Modifier and TypeMethodDescriptionintgetDepth()Get the page depthRetrieves the long title.Retrieves allAmetysObjectids referencing this page.Retrieves the attachments root nodegetType()Retrieves the type.getURL()Retrieves the linked URL.Retrieves the linked URL type.booleanDetermine if the page is visible into navigation elementsMethods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCodeMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, dataToJSON, dataToJSON, dataToSAX, dataToSAX, getDataNames, getRepositoryDataMethods 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, isMultipleMethods inherited from interface org.ametys.plugins.repository.data.holder.ModelLessDataHolder
dataToJSON, dataToSAXMethods inherited from interface org.ametys.web.repository.SiteAwareAmetysObject
getSite, getSiteNameMethods inherited from interface org.ametys.web.repository.page.SitemapElement
getChildPageAt, getChildrenPages, getChildrenPages, getPathInSitemap, getSitemap, getSitemapName, getTemplate, getTemplateParametersHolder, getTitle, getZone, getZones, hasZoneMethods inherited from interface org.ametys.plugins.repository.tag.TagAwareAmetysObject
getTagsMethods 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 allAmetysObjectids referencing this page.- Returns:
- the
AmetysObjectids 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.
-