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
-
-
Field Summary
Fields Modifier and Type Field Description private Set<SitemapDecorator>_decoratorsprivate String_pluginName
-
Constructor Summary
Constructors Constructor Description StaticSitemapDecorators()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(Configuration configuration)Set<SitemapDecorator>getDecorators(String skinId)Get the list of available decoratorsvoidsetPluginInfo(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
-
-
-
-
Field Detail
-
_decorators
private Set<SitemapDecorator> _decorators
-
_pluginName
private String _pluginName
-
-
Constructor Detail
-
StaticSitemapDecorators
public StaticSitemapDecorators()
-
-
Method Detail
-
setPluginInfo
public void setPluginInfo(String pluginName, String featureName, String id)
Description copied from interface:PluginAwareSets 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:
setPluginInfoin 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:
configurein interfaceConfigurable- Throws:
ConfigurationException
-
getDecorators
public Set<SitemapDecorator> getDecorators(String skinId)
Description copied from interface:SitemapDecoratorsGet the list of available decorators- Specified by:
getDecoratorsin interfaceSitemapDecorators- Parameters:
skinId- name of the skin- Returns:
- the list of available decorators
-
-