com.atlassian.jira.web.dwr
Class AjaxUserPicker
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 contextservice
- the business component that does issue searchingapplicationProperties
- JIRA app properties
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 forquery
- 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.