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 void
configure(Configuration configuration)
String
getId()
Get the id of the componentString
getInitXSLTPath()
The XSLT path to init GRPDvoid
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.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: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
-
getId
public String getId()
Description copied from interface:GDPRComponent
Get the id of the component- Specified by:
getId
in interfaceGDPRComponent
- Returns:
- the id of the component
-
getInitXSLTPath
public String getInitXSLTPath()
Description copied from interface:GDPRComponent
The XSLT path to init GRPD- Specified by:
getInitXSLTPath
in interfaceGDPRComponent
- Returns:
- the XSLT path
-
-