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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration configuration) getId()
Get the id of the componentThe XSLT path to init GRPDgetLabel()
Get the label of the componentvoid
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 Details
-
StaticGDPRComponent
public StaticGDPRComponent()
-
-
Method Details
-
setPluginInfo
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
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
getLabel
Description copied from interface:GDPRComponent
Get the label of the component- Specified by:
getLabel
in interfaceGDPRComponent
- Returns:
- the label of the component
-
getId
Description copied from interface:GDPRComponent
Get the id of the component- Specified by:
getId
in interfaceGDPRComponent
- Returns:
- the id of the component
-
getInitXSLTPath
Description copied from interface:GDPRComponent
The XSLT path to init GRPD- Specified by:
getInitXSLTPath
in interfaceGDPRComponent
- Returns:
- the XSLT path
-