Package lumis.portal.privacyterm
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 Summary
Fields Modifier and Type Field Description static String
DEPENDENCY_TYPE_PRIVACYTERM_REPOSITORY
Dependency type that corresponds to the privacy term repository.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
changeProcessPurpose(String serviceInstanceId)
Changes the term process purpose to a new one.List<String>
getPrivacyProcessPurposes(ServiceInstanceConfig analyticsServiceInstance)
Returns all privacy term process purposes identifier of analytics service instance.boolean
hasUserConsentedForDependentServiceInstance(String dependentServiceInstanceId, String monitorUserId)
Check if monitor user accepted a privacy term the given dependent service instance of privacy term service instances.-
Methods inherited from interface lumis.portal.privacyterm.IPrivacyTermManager
acceptAllPurposesOfPrivacyTerm, isAllPurposesOfPrivacyTermAccepted, revokeConsentOfAllPurposesOfPrivacyTerm
-
-
-
-
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
-
-