Interface CxConsentService
-
- All Known Implementing Classes:
DefaultCxConsentService
public interface CxConsentServiceService for checking user consent related to CxConfig
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanuserHasActiveConsent()Checks if the current user has active consent for ConsentTemplates configured in CxConfig related to current BaseSitebooleanuserHasActiveConsent(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
-
userHasActiveConsent
default boolean userHasActiveConsent()
Checks if the current user has active consent for ConsentTemplates configured in CxConfig related to current BaseSite- Returns:
- true, if the current user has active consent for all ConsentTemplates
- Since:
- 2011
-
-