Class PeopleOrganizerRESTServices
java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.viewservices.peopleorganizer.server.PeopleOrganizerRESTServices
The PeopleOrganizerRESTServices provides the server-side implementation of the People Organizer Open Metadata
View Service (OMVS). This interface provides access to a person's profile, roles and network.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetachPeerPerson
(String serverName, String personOneGUID, String personTwoGUID, DeleteRequestBody requestBody) Detach a person profile from one of its peers.detachTeamStructure
(String serverName, String superTeamGUID, String subteamGUID, DeleteRequestBody requestBody) Detach a super team from a subteam.linkPeerPerson
(String serverName, String personOneGUID, String personTwoGUID, NewRelationshipRequestBody requestBody) Attach a person profile to one of its peers.linkTeamStructure
(String serverName, String superTeamGUID, String subteamGUID, NewRelationshipRequestBody requestBody) Attach a super team to a subteam.Methods inherited from class org.odpi.openmetadata.tokencontroller.TokenController
getUser
-
Constructor Details
-
PeopleOrganizerRESTServices
public PeopleOrganizerRESTServices()Default constructor
-
-
Method Details
-
linkPeerPerson
public VoidResponse linkPeerPerson(String serverName, String personOneGUID, String personTwoGUID, NewRelationshipRequestBody requestBody) Attach a person profile to one of its peers.- Parameters:
serverName
- name of called serverpersonOneGUID
- unique identifier of the first actor profilepersonTwoGUID
- unique identifier of the second actor profilerequestBody
- 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.
-
detachPeerPerson
public VoidResponse detachPeerPerson(String serverName, String personOneGUID, String personTwoGUID, DeleteRequestBody requestBody) Detach a person profile from one of its peers.- Parameters:
serverName
- name of called serverpersonOneGUID
- unique identifier of the first person profilepersonTwoGUID
- unique identifier of the second person profilerequestBody
- 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.
-
linkTeamStructure
public VoidResponse linkTeamStructure(String serverName, String superTeamGUID, String subteamGUID, NewRelationshipRequestBody requestBody) Attach a super team to a subteam.- Parameters:
serverName
- name of called serversuperTeamGUID
- unique identifier of the super teamsubteamGUID
- unique identifier of the subteamrequestBody
- 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.
-
detachTeamStructure
public VoidResponse detachTeamStructure(String serverName, String superTeamGUID, String subteamGUID, DeleteRequestBody requestBody) Detach a super team from a subteam.- Parameters:
serverName
- name of called serversuperTeamGUID
- unique identifier of the super teamsubteamGUID
- unique identifier of the subteamrequestBody
- 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.
-