Package org.ametys.web.gdpr
Class StaticGDPRComponent
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.ametys.web.gdpr.StaticGDPRComponent
-
- All Implemented Interfaces:
PluginAware,GDPRComponent,Component,Configurable,LogEnabled
public class StaticGDPRComponent extends AbstractLogEnabled implements GDPRComponent, Configurable, PluginAware
Static component to handle GDPR
-
-
Field Summary
-
Fields inherited from interface org.ametys.web.gdpr.GDPRComponent
ROLE
-
-
Constructor Summary
Constructors Constructor Description StaticGDPRComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(Configuration configuration)StringgetId()Get the id of the componentStringgetInitXSLTPath()The XSLT path to init GRPDvoidsetPluginInfo(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.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
StaticGDPRComponent
public StaticGDPRComponent()
-
-
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
-
getId
public String getId()
Description copied from interface:GDPRComponentGet the id of the component- Specified by:
getIdin interfaceGDPRComponent- Returns:
- the id of the component
-
getInitXSLTPath
public String getInitXSLTPath()
Description copied from interface:GDPRComponentThe XSLT path to init GRPD- Specified by:
getInitXSLTPathin interfaceGDPRComponent- Returns:
- the XSLT path
-
-