@StableMinor(version="12.4", sinceVersion="12.3") public interface IPrivacyTermManager
lumis.service.privacyterm
and become bound to the service instance used to be publish them.IMonitorManager.getCurrentMonitorUserId()
returns null
), an error will be generated.Modifier and Type | Method and Description |
---|---|
void |
acceptAllPurposesOfPrivacyTerm(String serviceInstanceId,
String sourceIp)
This method is used to make the current monitored user to accept all purposes of the privacy term with the given service instance.
|
boolean |
isAllPurposesOfPrivacyTermAccepted(String serviceInstanceId)
Returns whether current monitor user has accepted all processing purposes of the privacy term with the given service instance with the given identifier.
|
void |
revokeConsentOfAllPurposesOfPrivacyTerm(String serviceInstanceId)
Revokes the consent of the current monitored user on all purposes of the privacy term of the given service instance.
|
boolean isAllPurposesOfPrivacyTermAccepted(String serviceInstanceId) throws PortalException
serviceInstanceId
- the service instance identifier.IllegalArgumentException
- if the serviceInstanceId
parameter is null
.IllegalArgumentException
- if the given service instance identifier does not refer to a service instance of a service with id lumis.service.privacyterm
.PortalObjectNotFoundException
- if there is no service instance with the given identifier.IllegalStateException
- if there is no current monitored user.PortalException
- if another error occur.void acceptAllPurposesOfPrivacyTerm(String serviceInstanceId, String sourceIp) throws PortalException
serviceInstanceId
- the service instance identifier.sourceIp
- the source IP from where the accept request was performed.IllegalArgumentException
- if the serviceInstanceId
parameter is null
.IllegalArgumentException
- if the sourceIp
parameter is null
.IllegalArgumentException
- if the given service instance identifier does not refer to a service instance of a service with id lumis.service.privacyterm
.PortalObjectNotFoundException
- if there is no service instance with the given identifier.PortalObjectNotFoundException
- if there is no published privacy term on the given service instance.IllegalStateException
- if there is no current monitored user.PortalException
- if another error occur.void revokeConsentOfAllPurposesOfPrivacyTerm(String serviceInstanceId) throws PortalException
serviceInstanceId
- the service instance identifier.IllegalArgumentException
- if the serviceInstanceId
parameter is null
.IllegalArgumentException
- if the given service instance identifier does not refer to a service instance of a service with id lumis.service.privacyterm
.PortalObjectNotFoundException
- if there is no service instance with the given identifier.PortalObjectNotFoundException
- if there is no published privacy term on the given service instance.IllegalStateException
- if there is no current monitored user.PortalException
- if another error occur.LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.