Package org.ametys.web.repository.page
Interface ModifiableSitemapElement
- All Superinterfaces:
AmetysObject
,ModifiableAmetysObject
,ModifiableTraversableAmetysObject
,SiteAwareAmetysObject
,SitemapElement
,TraversableAmetysObject
- All Known Subinterfaces:
ModifiablePage
- All Known Implementing Classes:
AbstractSitemapElement
,DefaultPage
,Sitemap
Sitemap element that can be modified
-
Field Summary
Fields inherited from interface org.ametys.web.repository.SiteAwareAmetysObject
METADATA_SITE
-
Method Summary
Modifier and TypeMethodDescriptioncreateZone
(String name) Creates a given zone.Get the view parametersRetrieves a given zone.getZones()
Retrieves the zones.Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
Methods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChanges
Methods inherited from interface org.ametys.plugins.repository.ModifiableTraversableAmetysObject
createChild
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, getTitle, hasZone
Methods inherited from interface org.ametys.plugins.repository.TraversableAmetysObject
getChild, getChildAt, getChildPosition, getChildren, hasChild
-
Method Details
-
getZones
Retrieves the zones.- Specified by:
getZones
in interfaceSitemapElement
- Returns:
- the zones.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getZone
Retrieves a given zone.- Specified by:
getZone
in interfaceSitemapElement
- 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.
-
createZone
Creates a given zone.- Parameters:
name
- the name of the zone.- Returns:
- the given zone.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getTemplateParametersHolder
Get the view parameters- Specified by:
getTemplateParametersHolder
in interfaceSitemapElement
- Returns:
- the view parameters
- Throws:
AmetysRepositoryException
- if an error occurs.
-