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
FieldsModifier and TypeFieldDescriptionprotected ContextThe contextprotected GDPRComponentExtensionPointThe GDPR component EPprotected SiteManagerThe site managerstatic final StringThe id of the ametys gdpr componentstatic final StringThe general configuration gdpr component idstatic final StringThe Avalon rolestatic final StringThe site configuration gdpr component idstatic final StringThe value for the site configuration to have the general configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontextualize(Context context) Get the selected GDPR componentvoidservice(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:
servicein interfaceServiceable- Throws:
ServiceException
-
contextualize
- Specified by:
contextualizein interfaceContextualizable- Throws:
ContextException
-
getSelectedGDPRComponent
Get the selected GDPR component- Returns:
- the selected GDPR component
-