com.atlassian.jira.web.dwr
Class AjaxUserPicker

java.lang.Object
  extended by com.atlassian.jira.web.dwr.AjaxUserPicker

public class AjaxUserPicker
extends Object

This is the DWR entry point for the AJAX user picker. It uses a UserPickerSearchService to find results.


Constructor Summary
AjaxUserPicker(JiraAuthenticationContext authContext, UserPickerSearchService service, ApplicationProperties applicationProperties)
          The bean AjaxIssuePicker is instatiated by the DWR pico create in response to a DWR request
 
Method Summary
 AutoCompleteResults getUsers(String fieldName, String query)
          This is the AJAX entry point to find users given a query string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjaxUserPicker

public AjaxUserPicker(JiraAuthenticationContext authContext,
                      UserPickerSearchService service,
                      ApplicationProperties applicationProperties)
The bean AjaxIssuePicker is instatiated by the DWR pico create in response to a DWR request

Parameters:
authContext - the Jira autnetication context
service - the business component that does issue searching
applicationProperties - JIRA app properties
Method Detail

getUsers

public AutoCompleteResults getUsers(String fieldName,
                                    String query)
This is the AJAX entry point to find users given a query string. T

Parameters:
fieldName - The field that we are giving results for
query - what the user type in to search on
Returns:
an AutoCompleteResults as requireded by the YUI client side code


Copyright © 2002-2009 Atlassian. All Rights Reserved.