public class

UserPickerBrowser

extends AbstractBrowser
java.lang.Object
   ↳ webwork.action.ActionSupport
     ↳ com.atlassian.jira.action.JiraActionSupport
       ↳ com.atlassian.jira.web.action.JiraWebActionSupport
         ↳ com.atlassian.jira.web.action.ProjectActionSupport
           ↳ com.atlassian.jira.web.action.IssueActionSupport
             ↳ com.atlassian.jira.web.action.AbstractBrowser
               ↳ com.atlassian.jira.web.action.admin.user.UserPickerBrowser

Summary

Constants
int ALL_USERS
int ASSIGNABLE
[Expand]
Inherited Constants
From class com.atlassian.jira.web.action.JiraWebActionSupport
From interface webwork.action.Action
[Expand]
Inherited Fields
From class com.atlassian.jira.web.action.AbstractBrowser
From class com.atlassian.jira.web.action.IssueActionSupport
From class com.atlassian.jira.web.action.ProjectActionSupport
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
Public Constructors
UserPickerBrowser(EmailFormatter emailFormatter, FieldConfigManager fieldConfigManager, GroupManager groupManager, PermissionManager permissionManager, UserFilterManager userFilterManager, UserSearchService userSearchService, JiraWebResourceManager jiraWebResourceManager)
Public Methods
List getBrowsableItems()
List getCurrentPage()
Return the current 'page' of issues (given max and start) for the current filter
String getDisplayEmail(String email)
String getElement()
Get the name of the element for the value to be returned to
boolean getEmailColumnVisible()
Long getFieldConfigId()
UserPickerFilter getFilter()
String getFormName()
Get the name of the calling form
Collection getGroups()
PagerFilter getPager()
boolean getPermission()
String getPreviouslySelected()
Collection<Long> getProjectIds()
Collection getUsers()
Convenience method to use from JSP's to access total number of users
boolean isMultiSelect()
void resetPager()
void setElement(String element)
Set the name of the element for the value to be returned to
void setFieldConfigId(Long fieldConfigId)
void setFormName(String formName)
Set the name of the calling form
void setMultiSelect(boolean isMultiSelect)
void setPreviouslySelected(String previouslySelected)
boolean wasPreviouslySelected(ApplicationUser user)
Protected Methods
String doExecute()
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.AbstractBrowser
From class com.atlassian.jira.web.action.IssueActionSupport
From class com.atlassian.jira.web.action.ProjectActionSupport
From class com.atlassian.jira.web.action.JiraWebActionSupport
From class com.atlassian.jira.action.JiraActionSupport
From class webwork.action.ActionSupport
From class java.lang.Object
From interface com.atlassian.jira.util.ErrorCollection
From interface com.atlassian.jira.util.I18nHelper
From interface com.atlassian.jira.web.HttpServletVariables
From interface com.atlassian.jira.web.util.AuthorizationSupport
From interface webwork.action.Action
From interface webwork.action.CommandDriven
From interface webwork.action.IllegalArgumentAware
From interface webwork.action.ParameterAware

Constants

public static final int ALL_USERS

Constant Value: 1 (0x00000001)

public static final int ASSIGNABLE

Constant Value: 2 (0x00000002)

Public Constructors

public UserPickerBrowser (EmailFormatter emailFormatter, FieldConfigManager fieldConfigManager, GroupManager groupManager, PermissionManager permissionManager, UserFilterManager userFilterManager, UserSearchService userSearchService, JiraWebResourceManager jiraWebResourceManager)

Public Methods

public List getBrowsableItems ()

public List getCurrentPage ()

Return the current 'page' of issues (given max and start) for the current filter

public String getDisplayEmail (String email)

public String getElement ()

Get the name of the element for the value to be returned to

Returns
  • the name of the element for the value to be returned to

public boolean getEmailColumnVisible ()

public Long getFieldConfigId ()

public UserPickerFilter getFilter ()

public String getFormName ()

Get the name of the calling form

Returns
  • form name

public Collection getGroups ()

public PagerFilter getPager ()

public boolean getPermission ()

public String getPreviouslySelected ()

public Collection<Long> getProjectIds ()

public Collection getUsers ()

Convenience method to use from JSP's to access total number of users

Returns
  • a collection of browsable users

public boolean isMultiSelect ()

public void resetPager ()

public void setElement (String element)

Set the name of the element for the value to be returned to

Parameters
element the name of the element for the value to be returned to

public void setFieldConfigId (Long fieldConfigId)

public void setFormName (String formName)

Set the name of the calling form

Parameters
formName form name

public void setMultiSelect (boolean isMultiSelect)

public void setPreviouslySelected (String previouslySelected)

public boolean wasPreviouslySelected (ApplicationUser user)

Protected Methods

protected String doExecute ()

Throws
Exception