com.atlassian.jira.web.component.multiuserpicker
Class UserPickerWebComponent

java.lang.Object
  extended by com.atlassian.jira.web.component.AbstractWebComponent
      extended by com.atlassian.jira.web.component.multiuserpicker.UserPickerWebComponent

public class UserPickerWebComponent
extends AbstractWebComponent


Field Summary
 
Fields inherited from class com.atlassian.jira.web.component.AbstractWebComponent
applicationProperties
 
Constructor Summary
UserPickerWebComponent(VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, UserPickerSearchService searchService)
           
 
Method Summary
 String getHtml(UserPickerLayoutBean layoutBean, Collection<com.atlassian.crowd.embedded.api.User> currentUsers, boolean canEdit, Long id)
           
 String getHtmlForUsernames(UserPickerLayoutBean layoutBean, List<String> usernames, boolean canEdit, Long id)
           
static Collection<String> getUserNamesToAdd(String rawUserNames)
           
static Collection<String> getUserNamesToRemove(Map<String,?> params, String paramPrefix)
           
 
Methods inherited from class com.atlassian.jira.web.component.AbstractWebComponent
getHtml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserPickerWebComponent

public UserPickerWebComponent(VelocityTemplatingEngine templatingEngine,
                              ApplicationProperties applicationProperties,
                              UserPickerSearchService searchService)
Method Detail

getHtml

public String getHtml(UserPickerLayoutBean layoutBean,
                      Collection<com.atlassian.crowd.embedded.api.User> currentUsers,
                      boolean canEdit,
                      Long id)

getHtmlForUsernames

public String getHtmlForUsernames(UserPickerLayoutBean layoutBean,
                                  List<String> usernames,
                                  boolean canEdit,
                                  Long id)

getUserNamesToRemove

public static Collection<String> getUserNamesToRemove(Map<String,?> params,
                                                      String paramPrefix)

getUserNamesToAdd

public static Collection<String> getUserNamesToAdd(String rawUserNames)


Copyright © 2002-2014 Atlassian. All Rights Reserved.