Package org.ametys.web.repository.page
Interface Page
- All Superinterfaces:
AmetysObject
,DataAwareAmetysObject
,DataHolder
,MetadataAwarePagesContainer
,ModelLessDataAwareAmetysObject
,ModelLessDataHolder
,PagesContainer
,SiteAwareAmetysObject
,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. -
Method Summary
Modifier and TypeMethodDescriptionint
getDepth()
Get the page depthRetrieves the long title.Retrieves allAmetysObject
ids referencing this page.Retrieves the attachments root nodeRetrieves the template name.Get the view parametersgetTitle()
Retrieves the title.getType()
Retrieves the type.getURL()
Retrieves the linked URL.Retrieves the linked URL type.Retrieves a given zone.AmetysObjectIterable<? extends Zone>
getZones()
Retrieves the zones.boolean
Determine if a zone existsboolean
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, dataToSAX, dataToSAX, getDataNames, getRepositoryData
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelLessDataAwareAmetysObject
dataToSAX, getComposite, getDataHolder, getParentDataHolder, getRootDataHolder, getType, getValue, getValue, getValueOfType, getValueOfType, hasValue, hasValueOrEmpty, isMultiple
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModelLessDataHolder
dataToSAX
Methods inherited from interface org.ametys.web.repository.page.PagesContainer
getChildPageAt, getChildrenPages, getChildrenPages, getPathInSitemap, getSitemap, getSitemapName
Methods inherited from interface org.ametys.web.repository.SiteAwareAmetysObject
getSite, getSiteName
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
-
getTitle
Retrieves the title.- Returns:
- the title.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
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.
-
getTemplate
Retrieves the template name.- Returns:
- the template name or
null
if none has been set. - Throws:
AmetysRepositoryException
- if an error occurs.
-
getZones
Retrieves the zones.- Returns:
- the zones.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
hasZone
Determine if a zone exists- Parameters:
name
- The name of the zone- Returns:
- true if the zone exists
- Throws:
AmetysRepositoryException
- If an error occured
-
getZone
Retrieves a given zone.- Parameters:
name
- the name of the zone.- Returns:
- the given zone.
- Throws:
UnknownZoneException
- if there is no zone for the given name.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.
-
getTemplateParametersHolder
Get the view parameters- Returns:
- the view parameters
- Throws:
AmetysRepositoryException
- if an error occurs.
-