Package org.ametys.web.sitemap
Class StaticSitemapDecorators
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.web.sitemap.StaticSitemapDecorators
-
- All Implemented Interfaces:
LogEnabled
,PluginAware
,SitemapDecorators
,Configurable
public class StaticSitemapDecorators extends AbstractLogEnabled implements SitemapDecorators, Configurable, PluginAware
Static implementation of aSitemapDecorators
-
-
Constructor Summary
Constructors Constructor Description StaticSitemapDecorators()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Configuration configuration)
Set<SitemapDecorator>
getDecorators(String skinId)
Get the list of available decoratorsvoid
setPluginInfo(String pluginName, String featureName, String id)
Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
StaticSitemapDecorators
public StaticSitemapDecorators()
-
-
Method Detail
-
setPluginInfo
public void setPluginInfo(String pluginName, String featureName, String id)
Description copied from interface:PluginAware
Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.- Specified by:
setPluginInfo
in interfacePluginAware
- Parameters:
pluginName
- Unique identifier for the plugin hosting the extensionfeatureName
- Unique feature identifier (unique for a given pluginName)id
- Unique identifier of this component
-
configure
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
getDecorators
public Set<SitemapDecorator> getDecorators(String skinId)
Description copied from interface:SitemapDecorators
Get the list of available decorators- Specified by:
getDecorators
in interfaceSitemapDecorators
- Parameters:
skinId
- name of the skin- Returns:
- the list of available decorators
-
-