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$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.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(java.lang.String serviceInstanceId)
Changes the term process purpose to a new one.java.util.List<java.lang.String>
getPrivacyProcessPurposes(ServiceInstanceConfig analyticsServiceInstance)
Returns all privacy term process purposes identifier of analytics service instance.boolean
hasUserConsentedForDependentServiceInstance(java.lang.String dependentServiceInstanceId, java.lang.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 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
-
-