public class UserJsonBean extends Object
Modifier and Type | Field and Description |
---|---|
static UserJsonBean |
USER_DOC_EXAMPLE |
static UserJsonBean |
USER_SHORT_DOC_EXAMPLE |
Constructor and Description |
---|
UserJsonBean() |
UserJsonBean(String self,
String name,
String key,
String emailAddress,
Map<String,String> avatarUrls,
String displayName,
boolean active,
String timeZone) |
public static final UserJsonBean USER_DOC_EXAMPLE
public static final UserJsonBean USER_SHORT_DOC_EXAMPLE
public String getSelf()
public void setSelf(String self)
public String getName()
public void setName(String name)
public String getKey()
public void setKey(String key)
public String getEmailAddress()
@Deprecated public void setEmailAddress(String emailAddress)
public void setEmailAddress(String emailAddress, ApplicationUser loggedInUser, EmailFormatter emailFormatter)
public String getDisplayName()
public void setDisplayName(String displayName)
public boolean isActive()
public void setActive(boolean active)
public String getTimeZone()
public void setTimeZone(String timeZone)
@Deprecated public static Collection<UserJsonBean> shortBeans(Collection<ApplicationUser> users, JiraBaseUrls urls)
DefaultUserBeanFactory.createBeanCollection(java.util.Collection,
com.atlassian.jira.user.ApplicationUser)
or DefaultUserBeanFactory.createBeanCollection(java.util.Collection,
com.atlassian.jira.user.ApplicationUser, JiraBaseUrls, com.atlassian.jira.util.EmailFormatter,
com.atlassian.jira.timezone.TimeZoneManager)
@Deprecated public static Collection<UserJsonBean> shortBeans(Collection<ApplicationUser> users, JiraBaseUrls urls, ApplicationUser loggedInUser, EmailFormatter emailFormatter)
DefaultUserBeanFactory.createBeanCollection(java.util.Collection,
com.atlassian.jira.user.ApplicationUser)
or DefaultUserBeanFactory.createBeanCollection(java.util.Collection,
com.atlassian.jira.user.ApplicationUser, JiraBaseUrls, com.atlassian.jira.util.EmailFormatter,
com.atlassian.jira.timezone.TimeZoneManager)
@Deprecated public static Collection<UserJsonBean> shortBeans(Collection<ApplicationUser> applicationUsers, JiraBaseUrls urls, ApplicationUser loggedInUser, EmailFormatter emailFormatter, TimeZoneManager timeZoneManager)
DefaultUserBeanFactory.createBeanCollection(java.util.Collection,
com.atlassian.jira.user.ApplicationUser)
or DefaultUserBeanFactory.createBeanCollection(java.util.Collection,
com.atlassian.jira.user.ApplicationUser, JiraBaseUrls, com.atlassian.jira.util.EmailFormatter,
com.atlassian.jira.timezone.TimeZoneManager)
@Deprecated public static Collection<UserJsonBean> shortBeanCollection(Collection<ApplicationUser> users, JiraBaseUrls urls)
DefaultUserBeanFactory.createBeanCollection(java.util.Collection,
com.atlassian.jira.user.ApplicationUser)
or DefaultUserBeanFactory.createBeanCollection(java.util.Collection,
com.atlassian.jira.user.ApplicationUser, JiraBaseUrls, com.atlassian.jira.util.EmailFormatter,
com.atlassian.jira.timezone.TimeZoneManager)
@Deprecated public static Collection<UserJsonBean> shortBeanCollection(Collection<ApplicationUser> users, JiraBaseUrls urls, ApplicationUser loggedInUser, EmailFormatter emailFormatter)
DefaultUserBeanFactory.createBeanCollection(java.util.Collection,
com.atlassian.jira.user.ApplicationUser)
or DefaultUserBeanFactory.createBeanCollection(java.util.Collection,
com.atlassian.jira.user.ApplicationUser, JiraBaseUrls, com.atlassian.jira.util.EmailFormatter,
com.atlassian.jira.timezone.TimeZoneManager)
@Deprecated public static Collection<UserJsonBean> shortBeanCollection(Collection<ApplicationUser> users, JiraBaseUrls urls, ApplicationUser loggedInUser, EmailFormatter emailFormatter, TimeZoneManager timeZoneManager)
DefaultUserBeanFactory.createBeanCollection(java.util.Collection,
com.atlassian.jira.user.ApplicationUser)
or DefaultUserBeanFactory.createBeanCollection(java.util.Collection,
com.atlassian.jira.user.ApplicationUser, JiraBaseUrls, com.atlassian.jira.util.EmailFormatter,
com.atlassian.jira.timezone.TimeZoneManager)
@Deprecated public static UserJsonBean shortBean(ApplicationUser applicationUser, JiraBaseUrls urls)
DefaultUserBeanFactory.createBean(com.atlassian.jira.user.ApplicationUser,
com.atlassian.jira.user.ApplicationUser)
or DefaultUserBeanFactory.createBean(com.atlassian.jira.user.ApplicationUser,
com.atlassian.jira.user.ApplicationUser, JiraBaseUrls, com.atlassian.jira.util.EmailFormatter,
com.atlassian.jira.timezone.TimeZoneManager)
@Deprecated public static UserJsonBean shortBean(ApplicationUser applicationUser, JiraBaseUrls urls, ApplicationUser loggedInUser, EmailFormatter emailFormatter)
DefaultUserBeanFactory.createBean(com.atlassian.jira.user.ApplicationUser,
com.atlassian.jira.user.ApplicationUser)
or DefaultUserBeanFactory.createBean(com.atlassian.jira.user.ApplicationUser,
com.atlassian.jira.user.ApplicationUser, JiraBaseUrls, com.atlassian.jira.util.EmailFormatter,
com.atlassian.jira.timezone.TimeZoneManager)
@Deprecated public static UserJsonBean shortBean(ApplicationUser applicationUser, JiraBaseUrls urls, ApplicationUser loggedInUser, EmailFormatter emailFormatter, TimeZoneManager timeZoneManager)
DefaultUserBeanFactory.createBean(com.atlassian.jira.user.ApplicationUser,
com.atlassian.jira.user.ApplicationUser)
or DefaultUserBeanFactory.createBean(com.atlassian.jira.user.ApplicationUser,
com.atlassian.jira.user.ApplicationUser, JiraBaseUrls, com.atlassian.jira.util.EmailFormatter,
com.atlassian.jira.timezone.TimeZoneManager)
Copyright © 2002-2018 Atlassian. All Rights Reserved.