Package org.ametys.web.gdpr
Class GDPRComponentHelper
java.lang.Object
org.ametys.web.gdpr.GDPRComponentHelper
- All Implemented Interfaces:
Component
,Contextualizable
,Serviceable
Helper for GDPR component
-
Field Summary
Modifier and TypeFieldDescriptionprotected Context
The contextprotected GDPRComponentExtensionPoint
The GDPR component EPprotected SiteManager
The site managerstatic final String
The id of the ametys gdpr componentstatic final String
The general configuration gdpr component idstatic final String
The Avalon rolestatic final String
The site configuration gdpr component idstatic final String
The value for the site configuration to have the general configuration -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextualize
(Context context) Get the selected GDPR componentvoid
service
(ServiceManager manager)
-
Field Details
-
ROLE
The Avalon role -
SITE_CONFIGURATION_RGPD_GENERAL_CONFIGURATION_VALUE
The value for the site configuration to have the general configuration- See Also:
-
AMETYS_GDPR_COMPONENT_ID
The id of the ametys gdpr component- See Also:
-
SITE_CONFIGURATION_GDPR_COMPONENT_ID
The site configuration gdpr component id- See Also:
-
GENERAL_CONFIGURATION_GDPR_COMPONENT_ID
The general configuration gdpr component id- See Also:
-
_gdprComponentEP
The GDPR component EP -
_siteManager
The site manager -
_context
The context
-
-
Constructor Details
-
GDPRComponentHelper
public GDPRComponentHelper()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
contextualize
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
getSelectedGDPRComponent
Get the selected GDPR component- Returns:
- the selected GDPR component
-