Interface MyPersonalNetworkInterface
-
public interface MyPersonalNetworkInterfaceMyPersonalNetworkInterface provides interfaces to query the personal network of the individual. This includes the teams and communities they belong to.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<CommunityMembershipElement>getMyCommunities(String userId, int startFrom, int pageSize)Return a list of communities that the specified user is a member of.List<TeamMembershipElement>getMyTeams(String userId, int startFrom, int pageSize)Return a list of teams that the specified user is a member of.
-
-
-
Method Detail
-
getMyCommunities
List<CommunityMembershipElement> getMyCommunities(String userId, int startFrom, int pageSize) throws InvalidParameterException, PropertyServerException, 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:
InvalidParameterException- one of the parameters is invalid.PropertyServerException- there is a problem retrieving information from the property server(s).UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getMyTeams
List<TeamMembershipElement> getMyTeams(String userId, int startFrom, int pageSize) throws InvalidParameterException, PropertyServerException, 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:
InvalidParameterException- one of the parameters is invalid.PropertyServerException- there is a problem retrieving information from the property server(s).UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
-