Class PrivacyOfficerResource
java.lang.Object
org.odpi.openmetadata.viewservices.privacyofficer.server.spring.PrivacyOfficerResource
@RestController
@RequestMapping("/servers/{serverName}/api/open-metadata/privacy-officer")
public class PrivacyOfficerResource
extends Object
The PrivacyOfficerResource provides part of the server-side implementation of the Privacy Officer OMVS.
=
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetachDataProcessingTarget(String serverName, String dataProcessingActionGUID, String targetGUID, DeleteRelationshipRequestBody requestBody) Detach a data processing action from a target element.detachPermittedProcessing(String serverName, String dataProcessingPurposeGUID, String dataProcessingDescriptionGUID, DeleteRelationshipRequestBody requestBody) Detach a data processing purpose from a data processing description.linkDataProcessingTarget(String serverName, String dataProcessingActionGUID, String targetGUID, NewRelationshipRequestBody requestBody) Link a data processing action to a target element.linkPermittedProcessing(String serverName, String dataProcessingPurposeGUID, String dataProcessingDescriptionGUID, NewRelationshipRequestBody requestBody) Link a data processing purpose to a data processing description.
-
Constructor Details
-
PrivacyOfficerResource
public PrivacyOfficerResource()Default constructor
-
-
Method Details
-
linkPermittedProcessing
@PostMapping(path="/data-processing-purposes/{dataProcessingPurposeGUID}/permitted-processing/{dataProcessingDescriptionGUID}/attach") public VoidResponse linkPermittedProcessing(@PathVariable String serverName, @PathVariable String dataProcessingPurposeGUID, @PathVariable String dataProcessingDescriptionGUID, @RequestBody(required=false) NewRelationshipRequestBody requestBody) Link a data processing purpose to a data processing description.- Parameters:
serverName- name of called serverdataProcessingPurposeGUID- unique identifier of the data processing purposedataProcessingDescriptionGUID- unique identifier of the data processing descriptionrequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
detachPermittedProcessing
@PostMapping(path="/data-processing-purposes/{dataProcessingPurposeGUID}/permitted-processing/{dataProcessingDescriptionGUID}/detach") public VoidResponse detachPermittedProcessing(@PathVariable String serverName, @PathVariable String dataProcessingPurposeGUID, @PathVariable String dataProcessingDescriptionGUID, @RequestBody(required=false) DeleteRelationshipRequestBody requestBody) Detach a data processing purpose from a data processing description.- Parameters:
serverName- name of called serverdataProcessingPurposeGUID- unique identifier of the data processing purposedataProcessingDescriptionGUID- unique identifier of the data processing descriptionrequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
linkDataProcessingTarget
@PostMapping(path="/data-processing-actions/{dataProcessingActionGUID}/targets/{targetGUID}/attach") public VoidResponse linkDataProcessingTarget(@PathVariable String serverName, @PathVariable String dataProcessingActionGUID, @PathVariable String targetGUID, @RequestBody(required=false) NewRelationshipRequestBody requestBody) Link a data processing action to a target element.- Parameters:
serverName- name of called serverdataProcessingActionGUID- unique identifier of the data processing actiontargetGUID- unique identifier of the target elementrequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
detachDataProcessingTarget
@PostMapping(path="/data-processing-actions/{dataProcessingActionGUID}/targets/{targetGUID}/detach") public VoidResponse detachDataProcessingTarget(@PathVariable String serverName, @PathVariable String dataProcessingActionGUID, @PathVariable String targetGUID, @RequestBody(required=false) DeleteRelationshipRequestBody requestBody) Detach a data processing action from a target element.- Parameters:
serverName- name of called serverdataProcessingActionGUID- unique identifier of the data processing actiontargetGUID- unique identifier of the target elementrequestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-