Class PrivacyOfficerRESTServices
java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.viewservices.privacyofficer.server.PrivacyOfficerRESTServices
The PrivacyOfficerRESTServices provides the server-side implementation of the Privacy Officer Open Metadata
View Service (OMVS). This interface provides access to a person's profile, roles and network.
-
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.Methods inherited from class org.odpi.openmetadata.tokencontroller.TokenController
getUser
-
Constructor Details
-
PrivacyOfficerRESTServices
public PrivacyOfficerRESTServices()Default constructor
-
-
Method Details
-
linkPermittedProcessing
public VoidResponse linkPermittedProcessing(String serverName, String dataProcessingPurposeGUID, String dataProcessingDescriptionGUID, 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
public VoidResponse detachPermittedProcessing(String serverName, String dataProcessingPurposeGUID, String dataProcessingDescriptionGUID, 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
public VoidResponse linkDataProcessingTarget(String serverName, String dataProcessingActionGUID, String targetGUID, 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
public VoidResponse detachDataProcessingTarget(String serverName, String dataProcessingActionGUID, String targetGUID, 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.
-