com.atlassian.jira.issue.search.searchers.util
Class UserSearcherHelperImpl

java.lang.Object
  extended by com.atlassian.jira.issue.search.searchers.util.UserSearcherHelperImpl
All Implemented Interfaces:
UserSearcherHelper

public class UserSearcherHelperImpl
extends Object
implements UserSearcherHelper


Constructor Summary
UserSearcherHelperImpl(GroupManager groupManager, PermissionManager permissionManager, UserUtil userUtil, UserHistoryManager userHistoryManager)
           
 
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 addUserSuggestionParams(com.atlassian.crowd.embedded.api.User user, List<String> selectedUsers, Map<String,Object> params)
           
 List<com.atlassian.crowd.embedded.api.Group> getSuggestedGroups(com.atlassian.crowd.embedded.api.User user)
           
 List<com.atlassian.crowd.embedded.api.User> getSuggestedUsers(com.atlassian.crowd.embedded.api.User user, List<String> selectedUserNames)
           
 boolean hasUserPickingPermission(com.atlassian.crowd.embedded.api.User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserSearcherHelperImpl

public UserSearcherHelperImpl(GroupManager groupManager,
                              PermissionManager permissionManager,
                              UserUtil userUtil,
                              UserHistoryManager userHistoryManager)
Method Detail

addUserSuggestionParams

public void addUserSuggestionParams(com.atlassian.crowd.embedded.api.User user,
                                    List<String> selectedUsers,
                                    Map<String,Object> params)
Specified by:
addUserSuggestionParams in interface UserSearcherHelper

addUserGroupSuggestionParams

public void addUserGroupSuggestionParams(com.atlassian.crowd.embedded.api.User user,
                                         List<String> selectedUsers,
                                         Map<String,Object> params)
Specified by:
addUserGroupSuggestionParams in interface UserSearcherHelper

addGroupSuggestionParams

public void addGroupSuggestionParams(com.atlassian.crowd.embedded.api.User user,
                                     Map<String,Object> params)
Specified by:
addGroupSuggestionParams in interface UserSearcherHelper

getSuggestedGroups

public List<com.atlassian.crowd.embedded.api.Group> getSuggestedGroups(com.atlassian.crowd.embedded.api.User user)
Parameters:
user - The user performing the search.
Returns:
Groups that should be suggested.

getSuggestedUsers

public List<com.atlassian.crowd.embedded.api.User> getSuggestedUsers(com.atlassian.crowd.embedded.api.User user,
                                                                     List<String> selectedUserNames)
Parameters:
user - The user performing the search.
selectedUserNames - the values that are already selected in this search

hasUserPickingPermission

public boolean hasUserPickingPermission(com.atlassian.crowd.embedded.api.User user)
Specified by:
hasUserPickingPermission in interface UserSearcherHelper


Copyright © 2002-2014 Atlassian. All Rights Reserved.