com.atlassian.jira.issue.fields.rest.json.beans
Class UserJsonBean

java.lang.Object
  extended by com.atlassian.jira.issue.fields.rest.json.beans.UserJsonBean

public class UserJsonBean
extends Object

Since:
v5.0

Field Summary
static UserJsonBean USER_DOC_EXAMPLE
           
static UserJsonBean USER_SHORT_DOC_EXAMPLE
           
 
Constructor Summary
UserJsonBean()
           
 
Method Summary
 Map<String,String> getAvatarUrls()
           
 String getDisplayName()
           
 String getEmailAddress()
           
 String getName()
           
 String getSelf()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setAvatarUrls(Map<String,String> avatarUrls)
           
 void setDisplayName(String displayName)
           
 void setEmailAddress(String emailAddress)
           
 void setName(String name)
           
 void setSelf(String self)
           
static UserJsonBean shortBean(com.atlassian.crowd.embedded.api.User user, JiraBaseUrls urls)
           
static Collection<UserJsonBean> shortBeans(Collection<com.atlassian.crowd.embedded.api.User> users, JiraBaseUrls urls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_DOC_EXAMPLE

public static final UserJsonBean USER_DOC_EXAMPLE

USER_SHORT_DOC_EXAMPLE

public static final UserJsonBean USER_SHORT_DOC_EXAMPLE
Constructor Detail

UserJsonBean

public UserJsonBean()
Method Detail

getSelf

public String getSelf()

setSelf

public void setSelf(String self)

getName

public String getName()

setName

public void setName(String name)

getEmailAddress

public String getEmailAddress()

setEmailAddress

public void setEmailAddress(String emailAddress)

getAvatarUrls

public Map<String,String> getAvatarUrls()

setAvatarUrls

public void setAvatarUrls(Map<String,String> avatarUrls)

getDisplayName

public String getDisplayName()

setDisplayName

public void setDisplayName(String displayName)

isActive

public boolean isActive()

setActive

public void setActive(boolean active)

shortBeans

public static Collection<UserJsonBean> shortBeans(Collection<com.atlassian.crowd.embedded.api.User> users,
                                                  JiraBaseUrls urls)

shortBean

public static UserJsonBean shortBean(com.atlassian.crowd.embedded.api.User user,
                                     JiraBaseUrls urls)
Returns:
null if the input is null


Copyright © 2002-2012 Atlassian. All Rights Reserved.