public interface MyPersonalNetworkInterface
| Modifier and Type | Method and 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.
|
List<CommunityMembershipElement> getMyCommunities(String userId, int startFrom, int pageSize) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.startFrom - index of the list to start from (0 for start)pageSize - maximum number of elements to return.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.List<TeamMembershipElement> getMyTeams(String userId, int startFrom, int pageSize) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.startFrom - index of the list to start from (0 for start)pageSize - maximum number of elements to return.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.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.