Class PeopleOrganizerRESTServices

java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.viewservices.peopleorganizer.server.PeopleOrganizerRESTServices

public class PeopleOrganizerRESTServices extends TokenController
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 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 server
      personOneGUID - unique identifier of the first actor profile
      personTwoGUID - unique identifier of the second actor profile
      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.
    • 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 server
      personOneGUID - unique identifier of the first person profile
      personTwoGUID - unique identifier of the second person profile
      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.
    • linkTeamStructure

      public VoidResponse linkTeamStructure(String serverName, String superTeamGUID, String subteamGUID, NewRelationshipRequestBody requestBody)
      Attach a super team to a subteam.
      Parameters:
      serverName - name of called server
      superTeamGUID - unique identifier of the super team
      subteamGUID - unique identifier of the subteam
      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.
    • detachTeamStructure

      public VoidResponse detachTeamStructure(String serverName, String superTeamGUID, String subteamGUID, DeleteRequestBody requestBody)
      Detach a super team from a subteam.
      Parameters:
      serverName - name of called server
      superTeamGUID - unique identifier of the super team
      subteamGUID - unique identifier of the subteam
      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.