com.atlassian.jira.web.bean
Class UserPickerFilter

java.lang.Object
  extended by com.atlassian.jira.web.bean.PagerFilter
      extended by com.atlassian.jira.web.bean.UserPickerFilter
All Implemented Interfaces:
Serializable

public class UserPickerFilter
extends PagerFilter

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.jira.web.bean.PagerFilter
pages
 
Constructor Summary
UserPickerFilter(FieldConfigManager fieldConfigManager, JiraServiceContext jiraServiceContext, PermissionManager permissionManager, UserFilterManager userFilterManager, UserPickerSearchService userPickerSearchService)
           
 
Method Summary
 String getElement()
           
 String getEmailFilter()
           
 Long getFieldConfigId()
           
 List<com.atlassian.crowd.embedded.api.User> getFilteredUsers()
          Get a list of users based on the parameters of the filter
 String getGroup()
           
 String getNameFilter()
           
 Collection<Long> getProjectIds()
           
 void setElement(String element)
           
 void setEmailFilter(String emailFilter)
           
 void setFieldConfigId(Long fieldConfigId)
           
 void setGroup(String group)
           
 void setNameFilter(String nameFilter)
           
 void setProjectId(String[] projectIds)
          Setter method for BeanUtils to inject projectIds.
 
Methods inherited from class com.atlassian.jira.web.bean.PagerFilter
generatePages, getCurrentPage, getEnd, getMax, getNextStart, getPages, getPages, getPageSize, getPreviousStart, getStart, getUnlimitedFilter, newPageAlignedFilter, restrictPages, setMax, setStart, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserPickerFilter

public UserPickerFilter(FieldConfigManager fieldConfigManager,
                        JiraServiceContext jiraServiceContext,
                        PermissionManager permissionManager,
                        UserFilterManager userFilterManager,
                        UserPickerSearchService userPickerSearchService)
Method Detail

getNameFilter

public String getNameFilter()

setNameFilter

public void setNameFilter(String nameFilter)

getEmailFilter

public String getEmailFilter()

setEmailFilter

public void setEmailFilter(String emailFilter)

getGroup

public String getGroup()

setGroup

public void setGroup(String group)

getElement

public String getElement()

setElement

public void setElement(String element)

getFieldConfigId

public Long getFieldConfigId()

setFieldConfigId

public void setFieldConfigId(Long fieldConfigId)

getProjectIds

public Collection<Long> getProjectIds()

setProjectId

public void setProjectId(String[] projectIds)
Setter method for BeanUtils to inject projectIds. The name of the multi-valued url query parameter is projectId, so it has to be named as setProjectId().

Parameters:
projectIds - the list of project id's

getFilteredUsers

public List<com.atlassian.crowd.embedded.api.User> getFilteredUsers()
                                                             throws Exception
Get a list of users based on the parameters of the filter

Throws:
Exception


Copyright © 2002-2015 Atlassian. All Rights Reserved.