Class ExperimentalGroupResource


  • @ExperimentalApi
    public class ExperimentalGroupResource
    extends Object
    Non-admin operations for user groups Experimental Group Resource, delete this once GroupResource is published
    • Constructor Detail

    • Method Detail

      • getGroups

        public PageResponse<Group> getGroups​(String expand,
                                             int start,
                                             int limit,
                                             @Context
                                             javax.ws.rs.core.UriInfo uriInfo)
        Get a paginated collection of user groups
        Parameters:
        start - the start point of the collection to return
        limit - the limit of the number of items to return, this may be restricted by fixed system limits
        Returns:
        a paginated collection of user groups
      • getGroup

        public Group getGroup​(String groupName,
                              String expand)
        Get the user group with the group name
        Parameters:
        groupName -
        Returns:
        the user group with the group name
      • getMembers

        public PageResponse<Person> getMembers​(Group group,
                                               String expand,
                                               int start,
                                               int limit,
                                               @Context
                                               javax.ws.rs.core.UriInfo uriInfo)
        Get a paginated collection of users in the given group
        Parameters:
        group - the group to look up the members for
        start - the start point of the collection to return
        limit - the limit of the number of items to return, this may be restricted by fixed system limits
        Returns:
        a collection of users in the given group