Interface CxConsentService
-
- All Known Implementing Classes:
DefaultCxConsentService
public interface CxConsentService
Service for checking user consent related to CxConfig
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
userHasActiveConsent(UserModel user)
Checks if the user has active consent for ConsentTemplates configured in CxConfig related to current BaseSite
-
-
-
Method Detail
-
userHasActiveConsent
boolean userHasActiveConsent(UserModel user)
Checks if the user has active consent for ConsentTemplates configured in CxConfig related to current BaseSite- Parameters:
user
- The user for whom we want to check the consents- Returns:
- true, if the user has active consent for all ConsentTemplates
-
-