Package org.ametys.web.gdpr
Class StaticGDPRService
- java.lang.Object
-
- org.ametys.web.gdpr.StaticGDPRService
-
- All Implemented Interfaces:
PluginAware
,GDPRService
,Configurable
public class StaticGDPRService extends Object implements GDPRService, Configurable, PluginAware
This class represents a static GDPR service.
-
-
Constructor Summary
Constructors Constructor Description StaticGDPRService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Configuration configuration)
Optional<String>
getGDPRId()
Get the id of the GDPR component linked to the serviceString
getId()
Get the service idString
getXSLTPath()
Get the XSLT pathvoid
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.
-
-
-
Constructor Detail
-
StaticGDPRService
public StaticGDPRService()
-
-
Method Detail
-
configure
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
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
-
getGDPRId
public Optional<String> getGDPRId()
Description copied from interface:GDPRService
Get the id of the GDPR component linked to the service- Specified by:
getGDPRId
in interfaceGDPRService
- Returns:
- the id of the GDPR component
-
getId
public String getId()
Description copied from interface:GDPRService
Get the service id- Specified by:
getId
in interfaceGDPRService
- Returns:
- the service id
-
getXSLTPath
public String getXSLTPath()
Description copied from interface:GDPRService
Get the XSLT path- Specified by:
getXSLTPath
in interfaceGDPRService
- Returns:
- the XSLT path
-
-