@ExperimentalApi
public interface UserBeanFactory
Modifier and Type | Method and Description |
---|---|
UserJsonBean |
createBean(ApplicationUser createdUser)
|
UserJsonBean |
createBean(ApplicationUser createdUser,
ApplicationUser loggedInUser)
Generate a bean suitable for serialisation by Jackon into JSON for given user in the context of loggedInUser.
|
UserJsonBean |
createBean(ApplicationUser createdUser,
ApplicationUser loggedInUser,
JiraBaseUrls jiraBaseUrls,
EmailFormatter emailFormatter,
TimeZoneManager timeZoneManager)
Generate a bean suitable for serialisation by Jackon into JSON for given user in the context of loggedInUser.
|
Collection<UserJsonBean> |
createBeanCollection(Collection<ApplicationUser> createdUsers,
ApplicationUser loggedInUser)
Generate a bean suitable for serialisation by Jackon into JSON for given user in the context of loggedInUser.
|
Collection<UserJsonBean> |
createBeanCollection(Collection<ApplicationUser> createdUsers,
ApplicationUser loggedInUser,
JiraBaseUrls jiraBaseUrls,
EmailFormatter emailFormatter,
TimeZoneManager timeZoneManager)
Generate a bean suitable for serialisation by Jackon into JSON for given user in the context of loggedInUser.
|
@Deprecated UserJsonBean createBean(ApplicationUser createdUser)
createBean(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.user.ApplicationUser)
createdUser
- Create UserJsonBean for this userUserJsonBean createBean(ApplicationUser createdUser, ApplicationUser loggedInUser)
createdUser
- Create UserJsonBean for createdUserloggedInUser
- UserJsonBean will be created in the context of loggedInUser (i.e. escape/hide email address if necessary)UserJsonBean createBean(ApplicationUser createdUser, ApplicationUser loggedInUser, JiraBaseUrls jiraBaseUrls, EmailFormatter emailFormatter, TimeZoneManager timeZoneManager)
createdUser
- Create UserJsonBean for createdUserloggedInUser
- UserJsonBean will be created in the context of loggedInUser (i.e. escape/hide email address if necessary)jiraBaseUrls
- JiraBaseUrlsemailFormatter
- EmailFormattertimeZoneManager
- TimeZoneManagerCollection<UserJsonBean> createBeanCollection(Collection<ApplicationUser> createdUsers, ApplicationUser loggedInUser)
createdUsers
- Create UserJsonBeans for createdUsersloggedInUser
- UserJsonBean will be created in the context of loggedInUser (i.e. escape/hide email address if necessary)Collection<UserJsonBean> createBeanCollection(Collection<ApplicationUser> createdUsers, ApplicationUser loggedInUser, JiraBaseUrls jiraBaseUrls, EmailFormatter emailFormatter, TimeZoneManager timeZoneManager)
createdUsers
- Create UserJsonBeans for createdUsersloggedInUser
- UserJsonBean will be created in the context of loggedInUser (i.e. escape/hide email address if necessary)jiraBaseUrls
- JiraBaseUrlsemailFormatter
- EmailFormattertimeZoneManager
- TimeZoneManagerCopyright © 2002-2019 Atlassian. All Rights Reserved.