Interface IPrivacyTermManagerSPI

    • Field Detail

      • DEPENDENCY_TYPE_PRIVACYTERM_REPOSITORY

        static final java.lang.String DEPENDENCY_TYPE_PRIVACYTERM_REPOSITORY
        Dependency type that corresponds to the privacy term repository. This dependency defines what service instance is the privacy term repository of another service instance.
        See Also:
        Constant Field Values
    • Method Detail

      • changeProcessPurpose

        void changeProcessPurpose​(java.lang.String serviceInstanceId)
                           throws PortalException
        Changes the term process purpose to a new one.
        Parameters:
        serviceInstanceId - the service instance id.
        Throws:
        PortalException
        Since:
        12.3.0
      • getPrivacyProcessPurposes

        java.util.List<java.lang.String> getPrivacyProcessPurposes​(ServiceInstanceConfig analyticsServiceInstance)
                                                            throws PortalException
        Returns all privacy term process purposes identifier of analytics service instance.
        Parameters:
        analyticsServiceInstance - the analytics service instance
        Returns:
        all privacy term process purposes identifier of analytics service instance.
        Throws:
        PortalException
        Since:
        12.3.0
      • hasUserConsentedForDependentServiceInstance

        boolean hasUserConsentedForDependentServiceInstance​(java.lang.String dependentServiceInstanceId,
                                                            java.lang.String monitorUserId)
                                                     throws PortalException
        Check if monitor user accepted a privacy term the given dependent service instance of privacy term service instances.
        Parameters:
        dependentServiceInstanceId - the service instance that is dependent of privacy term service instances.
        monitorUserId - the monitor user identifier.
        Returns:
        true if monitor user accepted a privacy term of service instance.
        Throws:
        PortalException
        Since:
        12.3.0