public class UserPickerWebComponent extends AbstractWebComponent
applicationProperties
Constructor and Description |
---|
UserPickerWebComponent(VelocityTemplatingEngine templatingEngine,
ApplicationProperties applicationProperties,
UserSearchService searchService) |
Modifier and Type | Method and Description |
---|---|
String |
getHtml(UserPickerLayoutBean layoutBean,
Collection<ApplicationUser> 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) |
asHtml, getHtml
public UserPickerWebComponent(VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, UserSearchService searchService)
public String getHtml(UserPickerLayoutBean layoutBean, Collection<ApplicationUser> currentUsers, boolean canEdit, Long id)
public String getHtmlForUsernames(UserPickerLayoutBean layoutBean, List<String> usernames, boolean canEdit, Long id)
public static Collection<String> getUserNamesToRemove(Map<String,?> params, String paramPrefix)
public static Collection<String> getUserNamesToAdd(String rawUserNames)
Copyright © 2002-2018 Atlassian. All Rights Reserved.