Class SecurityOfficerRESTServices
java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.viewservices.securityofficer.server.SecurityOfficerRESTServices
The SecurityOfficerRESTServices provides the server-side implementation of the Security 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 TypeMethodDescriptiondetachGovernanceZones
(String serverName, String governanceZoneGUID, String dataFieldGUID, DeleteRequestBody requestBody) Detach governance zone from a hierarchical relationship.linkGovernanceZones
(String serverName, String governanceZoneGUID, String nestedGovernanceZoneGUID, NewRelationshipRequestBody requestBody) Attach governance zones in a hierarchy.Methods inherited from class org.odpi.openmetadata.tokencontroller.TokenController
getUser
-
Constructor Details
-
SecurityOfficerRESTServices
public SecurityOfficerRESTServices()Default constructor
-
-
Method Details
-
linkGovernanceZones
public VoidResponse linkGovernanceZones(String serverName, String governanceZoneGUID, String nestedGovernanceZoneGUID, NewRelationshipRequestBody requestBody) Attach governance zones in a hierarchy.- Parameters:
serverName
- name of called servergovernanceZoneGUID
- unique identifier of the parent subject area.nestedGovernanceZoneGUID
- unique identifier of the nested subject area.requestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
detachGovernanceZones
public VoidResponse detachGovernanceZones(String serverName, String governanceZoneGUID, String dataFieldGUID, DeleteRequestBody requestBody) Detach governance zone from a hierarchical relationship.- Parameters:
serverName
- name of called servergovernanceZoneGUID
- unique identifier of the parent data structure.dataFieldGUID
- unique identifier of the nested data field.requestBody
- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-