Package org.ametys.web.repository.page
Interface ModifiableSitemapElement
- All Superinterfaces:
AmetysObject,ModifiableAmetysObject,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, hashCodeMethods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChangesMethods 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, getTitle, hasZoneMethods inherited from interface org.ametys.plugins.repository.TraversableAmetysObject
getChild, getChildAt, getChildPosition, getChildren, hasChild
-
Method Details
-
getZones
Retrieves the zones.- Specified by:
getZonesin interfaceSitemapElement- Returns:
- the zones.
- Throws:
AmetysRepositoryException- if an error occurs.
-
getZone
Retrieves a given zone.- Specified by:
getZonein 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:
getTemplateParametersHolderin interfaceSitemapElement- Returns:
- the view parameters
- Throws:
AmetysRepositoryException- if an error occurs.
-