Interface UserSearcherHelper
- All Known Implementing Classes:
UserSearcherHelperImpl
public interface UserSearcherHelper
- Since:
- v5.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddGroupSuggestionParams(ApplicationUser user, Map<String, Object> params) voidaddUserGroupSuggestionParams(ApplicationUser user, List<String> selectedUsers, UserSearchParams searchParams, Map<String, Object> params) add user and group suggestions based on search parameters.voidaddUserGroupSuggestionParams(ApplicationUser user, List<String> selectedUsers, Map<String, Object> params) voidaddUserSuggestionParams(ApplicationUser user, List<String> selectedUsers, Map<String, Object> params) booleanDetermine whether a user has permission to pick users.
-
Method Details
-
addUserSuggestionParams
-
addGroupSuggestionParams
-
addUserGroupSuggestionParams
-
addUserGroupSuggestionParams
void addUserGroupSuggestionParams(ApplicationUser 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 theparamsparameter in-place.- Parameters:
user- the user requesting for the suggestionsselectedUsers- a list of recently selected users, which could be included into the suggested users with higher prioritysearchParams- additional search parameters for groups and roles based restrictions.params- the map to hold the parameters
-
hasUserPickingPermission
Determine whether a user has permission to pick users.- Since:
- v6.2
-