com.atlassian.jira.web.dwr
Class AjaxUserGroupsPicker

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

public class AjaxUserGroupsPicker
extends com.atlassian.jira.web.dwr.AjaxUserPicker

FQCN : com.atlassian.jira.web.dwr.AjaxUserGroupsPicker

Since:
3.x.1.28 Description : User Picker based on List of Groups I tried to extend AjaxUserPicker, but most required method are "private"
Author:
Kaamelot

Constructor Summary
AjaxUserGroupsPicker(com.atlassian.jira.security.JiraAuthenticationContext authContext, UserGroupsPickerSearchService service, com.atlassian.jira.config.properties.ApplicationProperties applicationProperties)
           
 
Method Summary
protected  java.lang.String formatUser(java.lang.String fieldName, com.opensymphony.user.User user, java.lang.String query, boolean canShoweEmailAddresses)
          NOT CHANGES against Parent excepted "protected" instead of "private"
protected  java.lang.String getElementId(java.lang.String fieldName, java.lang.String type, java.lang.String field)
          NOT CHANGES against Parent excepted "protected" instead of "private"
protected  int getLimit()
          NOT CHANGES against Parent excepted "protected" instead of "private"
 com.atlassian.jira.web.dwr.AutoCompleteResults getUsersFromGroups(java.lang.String fieldName, java.lang.String query, java.lang.String groupNames)
          This is the AJAX entry point to find users given a query string.
 
Methods inherited from class com.atlassian.jira.web.dwr.AjaxUserPicker
getUsers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjaxUserGroupsPicker

public AjaxUserGroupsPicker(com.atlassian.jira.security.JiraAuthenticationContext authContext,
                            UserGroupsPickerSearchService service,
                            com.atlassian.jira.config.properties.ApplicationProperties applicationProperties)
Method Detail

getUsersFromGroups

public com.atlassian.jira.web.dwr.AutoCompleteResults getUsersFromGroups(java.lang.String fieldName,
                                                                         java.lang.String query,
                                                                         java.lang.String groupNames)
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 required by the YUI client side code

getLimit

protected int getLimit()
NOT CHANGES against Parent excepted "protected" instead of "private"


getElementId

protected java.lang.String getElementId(java.lang.String fieldName,
                                        java.lang.String type,
                                        java.lang.String field)
NOT CHANGES against Parent excepted "protected" instead of "private"


formatUser

protected java.lang.String formatUser(java.lang.String fieldName,
                                      com.opensymphony.user.User user,
                                      java.lang.String query,
                                      boolean canShoweEmailAddresses)
NOT CHANGES against Parent excepted "protected" instead of "private"



Copyright © 2007-2008 Kaamelot Plugins. All Rights Reserved.