com.atlassian.jira.issue.search.searchers.util
Interface UserSearcherHelper

All Known Implementing Classes:
UserSearcherHelperImpl

public interface UserSearcherHelper

Since:
v5.0

Method Summary
 void addGroupSuggestionParams(com.atlassian.crowd.embedded.api.User user, Map<String,Object> params)
           
 void addUserGroupSuggestionParams(com.atlassian.crowd.embedded.api.User user, List<String> selectedUsers, Map<String,Object> params)
           
 void addUserGroupSuggestionParams(com.atlassian.crowd.embedded.api.User user, List<String> selectedUsers, UserSearchParams searchParams, Map<String,Object> params)
          add user and group suggestions based on search parameters.
 void addUserSuggestionParams(com.atlassian.crowd.embedded.api.User user, List<String> selectedUsers, Map<String,Object> params)
           
 boolean hasUserPickingPermission(ApplicationUser user)
          Determine whether a user has permission to pick users.
 boolean hasUserPickingPermission(com.atlassian.crowd.embedded.api.User user)
          Deprecated. since v6.2. Use hasUserPickingPermission(com.atlassian.jira.user.ApplicationUser) instead.
 

Method Detail

addUserSuggestionParams

void addUserSuggestionParams(com.atlassian.crowd.embedded.api.User user,
                             List<String> selectedUsers,
                             Map<String,Object> params)

addGroupSuggestionParams

void addGroupSuggestionParams(com.atlassian.crowd.embedded.api.User user,
                              Map<String,Object> params)

addUserGroupSuggestionParams

void addUserGroupSuggestionParams(com.atlassian.crowd.embedded.api.User user,
                                  List<String> selectedUsers,
                                  Map<String,Object> params)

addUserGroupSuggestionParams

void addUserGroupSuggestionParams(com.atlassian.crowd.embedded.api.User user,
                                  List<String> selectedUsers,
                                  UserSearchParams searchParams,
                                  Map<String,Object> params)
add user and group suggestions based on search parameters. the parameters will be added into the params parameter in-place.

Parameters:
user - the user requesting for the suggestions
selectedUsers - a list of recently selected users, which could be included into the suggested users with higher priority
searchParams - additional search parameters for groups and roles based restrictions.
params - the map to hold the parameters

hasUserPickingPermission

boolean hasUserPickingPermission(com.atlassian.crowd.embedded.api.User user)
Deprecated. since v6.2. Use hasUserPickingPermission(com.atlassian.jira.user.ApplicationUser) instead.


hasUserPickingPermission

boolean hasUserPickingPermission(ApplicationUser user)
Determine whether a user has permission to pick users.

Since:
v6.2


Copyright © 2002-2014 Atlassian. All Rights Reserved.