Package org.apache.unomi.privacy.rest
Class PrivacyServiceEndPoint
- java.lang.Object
-
- org.apache.unomi.privacy.rest.PrivacyServiceEndPoint
-
@Produces("application/json") @Path("/privacy") public class PrivacyServiceEndPoint extends ObjectREST API end point for privacy service
-
-
Constructor Summary
Constructors Constructor Description PrivacyServiceEndPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponseactivateAnonymousBrowsing(String profileId, boolean past, String scope)voidanonymizeProfile(String profileId, String scope)javax.ws.rs.core.ResponsedeactivateAnonymousBrowsing(String profileId, String scope)javax.ws.rs.core.ResponsedeleteProfileData(String profileId, boolean withData, boolean purgeAll)List<String>getEventFilters(String profileId)ServerInfogetServerInfo()List<ServerInfo>getServerInfos()BooleanisAnonymousBrowsing(String profileId)javax.ws.rs.core.ResponseremoveProperty(String profileId, String propertyName)javax.ws.rs.core.ResponsesetEventFilters(String profileId, List<String> eventFilters)voidsetPrivacyService(PrivacyService privacyService)
-
-
-
Method Detail
-
setPrivacyService
public void setPrivacyService(PrivacyService privacyService)
-
getServerInfo
@GET @Path("/info") public ServerInfo getServerInfo()
-
getServerInfos
@GET @Path("/infos") public List<ServerInfo> getServerInfos()
-
deleteProfileData
@DELETE @Path("/profiles/{profileId}") public javax.ws.rs.core.Response deleteProfileData(@PathParam("profileId") String profileId, @QueryParam("withData") @DefaultValue("false") boolean withData, @QueryParam("purgeAll") @DefaultValue("false") boolean purgeAll)
-
anonymizeProfile
@POST @Path("/profiles/{profileId}/anonymize") public void anonymizeProfile(@PathParam("profileId") String profileId, @QueryParam("scope") String scope)
-
isAnonymousBrowsing
@GET @Path("/profiles/{profileId}/anonymousBrowsing") public Boolean isAnonymousBrowsing(@PathParam("profileId") String profileId)
-
activateAnonymousBrowsing
@POST @Path("/profiles/{profileId}/anonymousBrowsing") public javax.ws.rs.core.Response activateAnonymousBrowsing(@PathParam("profileId") String profileId, @QueryParam("anonymizePastBrowsing") @DefaultValue("false") boolean past, @QueryParam("scope") String scope)
-
deactivateAnonymousBrowsing
@DELETE @Path("/profiles/{profileId}/anonymousBrowsing") public javax.ws.rs.core.Response deactivateAnonymousBrowsing(@PathParam("profileId") String profileId, @QueryParam("scope") String scope)
-
getEventFilters
@GET @Path("/profiles/{profileId}/eventFilters") public List<String> getEventFilters(@PathParam("profileId") String profileId)
-
setEventFilters
@POST @Consumes("application/json") @Path("/profiles/{profileId}/eventFilters") public javax.ws.rs.core.Response setEventFilters(@PathParam("profileId") String profileId, List<String> eventFilters)
-
-