Class PrivacyTermRestAPI
- java.lang.Object
-
- lumis.service.privacyterm.api.rest.PrivacyTermRestAPI
-
@Path("/lumis/service/privacyterm/api/rest/{serviceInstanceId:[0-9A-Fa-f]{32}}") @StableMinor(version="14.0", sinceVersion="12.3") public class PrivacyTermRestAPI extends Object
Privacy term REST API.- Since:
- 12.3.0
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
- See Also:
IPrivacyTermManager
-
-
Constructor Summary
Constructors Constructor Description PrivacyTermRestAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptAllPurposesOfPrivacyTerm()
Make the current monitored user accept all purposes of the privacy term that belongs to the service instance.Response
isAllPurposesOfPrivacyTermAccepted()
Returns whether current monitor user has accepted all processing purposes that belongs to the service instance with the given identifier.void
revokeConsentOfAllPurposesOfPrivacyTerm()
Revokes the consent of the current monitored user on all purposes of the privacy term that belongs to the service instance.
-
-
-
Method Detail
-
isAllPurposesOfPrivacyTermAccepted
@GET @Path("/isAllPurposesOfPrivacyTermAccepted") @Produces("application/json") public Response isAllPurposesOfPrivacyTermAccepted() throws Exception
Returns whether current monitor user has accepted all processing purposes that belongs to the service instance with the given identifier.- Returns:
- whether current monitor user has accepted the privacy term.
- Throws:
Exception
- Since:
- 12.3.0
-
acceptAllPurposesOfPrivacyTerm
@POST @Path("/acceptAllPurposesOfPrivacyTerm") public void acceptAllPurposesOfPrivacyTerm() throws Exception
Make the current monitored user accept all purposes of the privacy term that belongs to the service instance. If the user provided the consent, nothing is performed.- Throws:
Exception
- Since:
- 12.3.0
-
revokeConsentOfAllPurposesOfPrivacyTerm
@POST @Path("/revokeConsentOfAllPurposesOfPrivacyTerm") public void revokeConsentOfAllPurposesOfPrivacyTerm() throws Exception
Revokes the consent of the current monitored user on all purposes of the privacy term that belongs to the service instance. If the user did not provided the consent, nothing is performed.- Throws:
Exception
- Since:
- 12.3.0
-
-