com.atlassian.jira.rest.v2.issue
Class GroupBean

java.lang.Object
  extended by com.atlassian.jira.issue.fields.rest.json.beans.GroupJsonBean
      extended by com.atlassian.jira.rest.v2.issue.GroupBean

public class GroupBean
extends GroupJsonBean

A representation of Group for the GroupResource (contains additional expand users parameter)

Since:
v4.2

Field Summary
static GroupBean DOC_EXAMPLE_WITH_USERS
           
 
Fields inherited from class com.atlassian.jira.issue.fields.rest.json.beans.GroupJsonBean
DOC_EXAMPLE
 
Constructor Summary
GroupBean(String name, URI self, PagedListWrapper<UserJsonBean,com.atlassian.crowd.embedded.api.User> users)
          Creates a new GroupBean for the group with the given name, self URI and users list.
 
Method Summary
 PagedListWrapper<UserJsonBean,com.atlassian.crowd.embedded.api.User> getUsers()
           
 
Methods inherited from class com.atlassian.jira.issue.fields.rest.json.beans.GroupJsonBean
BuildDocExampleUsers, getName, getSelf, setName, setSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOC_EXAMPLE_WITH_USERS

public static final GroupBean DOC_EXAMPLE_WITH_USERS
Constructor Detail

GroupBean

public GroupBean(String name,
                 URI self,
                 PagedListWrapper<UserJsonBean,com.atlassian.crowd.embedded.api.User> users)
Creates a new GroupBean for the group with the given name, self URI and users list.

Parameters:
name - a String containing the group name
self - an REST Resource URI for that group
users - a list of active users that're in this group. This is optional parameter and there can be null passed (to avoid recursion when getting an user with associated groups).
Method Detail

getUsers

public PagedListWrapper<UserJsonBean,com.atlassian.crowd.embedded.api.User> getUsers()


Copyright © 2002-2014 Atlassian. All Rights Reserved.