Interface MyPersonalNetworkInterface


public interface MyPersonalNetworkInterface
MyPersonalNetworkInterface provides interfaces to query the personal network of the individual. This includes the teams and communities they belong to.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.CommunityMembershipElement>
    getMyCommunities(String userId, int startFrom, int pageSize)
    Return a list of communities that the specified user is a member of.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.TeamMembershipElement>
    getMyTeams(String userId, int startFrom, int pageSize)
    Return a list of teams that the specified user is a member of.
  • Method Details

    • getMyCommunities

      List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.CommunityMembershipElement> getMyCommunities(String userId, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
      Return a list of communities that the specified user is a member of.
      Parameters:
      userId - userId of user making request.
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of community details
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is invalid.
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem retrieving information from the property server(s).
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getMyTeams

      List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.TeamMembershipElement> getMyTeams(String userId, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
      Return a list of teams that the specified user is a member of.
      Parameters:
      userId - userId of user making request.
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of team details
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is invalid.
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem retrieving information from the property server(s).
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - the requesting user is not authorized to issue this request.