Interface IPrivacyTermManagerSPI

  • All Superinterfaces:
    IPrivacyTermManager
    All Known Implementing Classes:
    PrivacyTermManager

    public interface IPrivacyTermManagerSPI
    extends IPrivacyTermManager
    Privacy term manager SPI.
    Since:
    12.3.0
    Version:
    $Revision: 24423 $ $Date: 2021-03-19 12:28:03 -0300 (Fri, 19 Mar 2021) $
    • Field Detail

      • DEPENDENCY_TYPE_PRIVACYTERM_REPOSITORY

        static final 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​(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

        List<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​(String dependentServiceInstanceId,
                                                            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