Class ConfigurationRepositoryKt
-
- All Implemented Interfaces:
public final class ConfigurationRepositoryKt
-
-
Method Summary
Modifier and Type Method Description final static BooleanisSubjectToRegulation(ConfigurationRepository $self, CountryHelper countryHelper)Check if user is subject to any regulation based on multi or legacy regulation schema. final static BooleanuseCcpa(ConfigurationRepository $self)Determine if we should use CCPA regulation final static BooleanuseCpa(ConfigurationRepository $self)Determine if we should use CPA regulation final static BooleanuseCpra(ConfigurationRepository $self)Determine if we should use CPRA regulation final static BooleanuseCtdpa(ConfigurationRepository $self)Determine if we should use CTDPA regulation final static BooleanuseGdpr(ConfigurationRepository $self)Determine if we should use GDPR regulation final static BooleanuseLegacyGdpr(ConfigurationRepository $self)Determine if we are using GDPR regulation by default (no regulation name set) final static BooleanuseNone(ConfigurationRepository $self)Determine if we should use NONE regulation final static BooleanuseUcpa(ConfigurationRepository $self)Determine if we should use UCPA regulation final static BooleanuseVcdpa(ConfigurationRepository $self)Determine if we should use VCDPA regulation final static BooleanuseMixedRegulation(ConfigurationRepository $self)Determine if we should use MIXED regulation final static BooleanuseConsentNoticeBottomFragment(ConfigurationRepository $self)Check if require ConsentNoticeBottomFragment final static BooleanregulationAllowsVendorDetails(ConfigurationRepository $self)Regulation behaviour. final static BooleanregulationHasAllIABVendorsByDefault(ConfigurationRepository $self)Regulation behaviour. final static BooleanshouldHideBulkToggleInPurpose(ConfigurationRepository $self)Regulation behaviour. final static BooleanshouldDisplayBulkActionInPurposeCategory(ConfigurationRepository $self)Regulation behaviour. final static BooleanusePurposeTitleInPurposeCategory(ConfigurationRepository $self)Regulation behaviour. final static BooleanhasDisplaySensitivePersonalDataLabel(ConfigurationRepository $self)Regulation behaviour. final static BooleanshouldDisplayBulkActionInPurpose(ConfigurationRepository $self)Check if configuration allows bulk action for purpose list final static BooleanshouldPreventSensitivePersonalInformationFromBeingDisplayed(ConfigurationRepository $self)Check if configuration should prevent displaying Sensitive Personal Info screen (from io.didomi.sdk.navigation.NavigationManager) -
-
Method Detail
-
isSubjectToRegulation
final static Boolean isSubjectToRegulation(ConfigurationRepository $self, CountryHelper countryHelper)
Check if user is subject to any regulation based on multi or legacy regulation schema.
-
useCcpa
final static Boolean useCcpa(ConfigurationRepository $self)
Determine if we should use CCPA regulation
-
useCpa
final static Boolean useCpa(ConfigurationRepository $self)
Determine if we should use CPA regulation
-
useCpra
final static Boolean useCpra(ConfigurationRepository $self)
Determine if we should use CPRA regulation
-
useCtdpa
final static Boolean useCtdpa(ConfigurationRepository $self)
Determine if we should use CTDPA regulation
-
useGdpr
final static Boolean useGdpr(ConfigurationRepository $self)
Determine if we should use GDPR regulation
-
useLegacyGdpr
final static Boolean useLegacyGdpr(ConfigurationRepository $self)
Determine if we are using GDPR regulation by default (no regulation name set)
-
useNone
final static Boolean useNone(ConfigurationRepository $self)
Determine if we should use NONE regulation
-
useUcpa
final static Boolean useUcpa(ConfigurationRepository $self)
Determine if we should use UCPA regulation
-
useVcdpa
final static Boolean useVcdpa(ConfigurationRepository $self)
Determine if we should use VCDPA regulation
-
useMixedRegulation
final static Boolean useMixedRegulation(ConfigurationRepository $self)
Determine if we should use MIXED regulation
-
useConsentNoticeBottomFragment
final static Boolean useConsentNoticeBottomFragment(ConfigurationRepository $self)
Check if require ConsentNoticeBottomFragment
-
regulationAllowsVendorDetails
final static Boolean regulationAllowsVendorDetails(ConfigurationRepository $self)
Regulation behaviour. Check if regulation allows vendor details
-
regulationHasAllIABVendorsByDefault
final static Boolean regulationHasAllIABVendorsByDefault(ConfigurationRepository $self)
Regulation behaviour. Check if IAB vendors should all be included by default
-
shouldHideBulkToggleInPurpose
final static Boolean shouldHideBulkToggleInPurpose(ConfigurationRepository $self)
Regulation behaviour. Check if regulation allows bulk toggle for purpose list (if not, only the bulk title will be displayed)
-
shouldDisplayBulkActionInPurposeCategory
final static Boolean shouldDisplayBulkActionInPurposeCategory(ConfigurationRepository $self)
Regulation behaviour. Check if regulation allows bulk toggle for purpose category
-
usePurposeTitleInPurposeCategory
final static Boolean usePurposeTitleInPurposeCategory(ConfigurationRepository $self)
Regulation behaviour. Check if regulation requires category name as page title for purpose category
-
hasDisplaySensitivePersonalDataLabel
final static Boolean hasDisplaySensitivePersonalDataLabel(ConfigurationRepository $self)
Regulation behaviour. Check if regulation requires Sensitive Personal Information button for purpose footer
-
shouldDisplayBulkActionInPurpose
final static Boolean shouldDisplayBulkActionInPurpose(ConfigurationRepository $self)
Check if configuration allows bulk action for purpose list
-
shouldPreventSensitivePersonalInformationFromBeingDisplayed
final static Boolean shouldPreventSensitivePersonalInformationFromBeingDisplayed(ConfigurationRepository $self)
Check if configuration should prevent displaying Sensitive Personal Info screen (from io.didomi.sdk.navigation.NavigationManager)
-
-
-
-