Package org.ametys.web.sitemap
Interface SitemapDecoratorsHandler
-
- All Known Implementing Classes:
DefaultSitemapDecoratorsHandler
public interface SitemapDecoratorsHandler
Interface representing a sitemap decorator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<SitemapDecorator>getDecorators(Page page)Get the list of decorators for a given pageList<SitemapDecorator>getDecorators(Site site)Get the list of available decoratorsList<SitemapDecorator>getDecorators(Sitemap sitemap)Get the list of available decoratorsSitemapIcongetIcon(Page page)Get the icon of the pageList<SitemapIcon>getIcons(Site site)Get the list of available icons
-
-
-
Method Detail
-
getDecorators
List<SitemapDecorator> getDecorators(Site site)
Get the list of available decorators- Parameters:
site- the site name- Returns:
- the list of available decorators
-
getDecorators
List<SitemapDecorator> getDecorators(Sitemap sitemap)
Get the list of available decorators- Parameters:
sitemap- the sitemap- Returns:
- the list of available decorators
-
getDecorators
List<SitemapDecorator> getDecorators(Page page)
Get the list of decorators for a given page- Parameters:
page- the page- Returns:
- decorators of page
-
getIcon
SitemapIcon getIcon(Page page)
Get the icon of the page- Parameters:
page- the page- Returns:
- the file icon path
-
getIcons
List<SitemapIcon> getIcons(Site site)
Get the list of available icons- Parameters:
site- the site name- Returns:
- the list of available icons
-
-