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 voidconfigure(Configuration configuration)Optional<String>getGDPRId()Get the id of the GDPR component linked to the serviceStringgetId()Get the service idStringgetXSLTPath()Get the XSLT pathvoidsetPluginInfo(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:
configurein interfaceConfigurable- Throws:
ConfigurationException
-
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
-
getGDPRId
public Optional<String> getGDPRId()
Description copied from interface:GDPRServiceGet the id of the GDPR component linked to the service- Specified by:
getGDPRIdin interfaceGDPRService- Returns:
- the id of the GDPR component
-
getId
public String getId()
Description copied from interface:GDPRServiceGet the service id- Specified by:
getIdin interfaceGDPRService- Returns:
- the service id
-
getXSLTPath
public String getXSLTPath()
Description copied from interface:GDPRServiceGet the XSLT path- Specified by:
getXSLTPathin interfaceGDPRService- Returns:
- the XSLT path
-
-