Class UserSearchServiceInternalImpl
- java.lang.Object
-
- com.atlassian.confluence.internal.user.UserSearchServiceInternalImpl
-
- All Implemented Interfaces:
UserSearchServiceInternal
public class UserSearchServiceInternalImpl extends Object implements UserSearchServiceInternal
Searches for users using theCrowdService
.
-
-
Constructor Summary
Constructors Constructor Description UserSearchServiceInternalImpl(PaginationService paginationService, com.atlassian.crowd.embedded.api.CrowdService crowdService, PermissionManager permissionManager, SettingsManager settingsManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<com.atlassian.crowd.embedded.api.SearchRestriction>
convertToSearchRestrictions(String searchTerm, com.atlassian.crowd.search.query.entity.restriction.Property<String> property)
protected List<com.atlassian.crowd.embedded.api.SearchRestriction>
convertToSearchRestrictions(String searchString, List<com.atlassian.crowd.search.query.entity.restriction.Property<String>> properties)
com.atlassian.fugue.Pair<List<String>,PageResponse<ConfluenceUser>>
doMemberOfGroupsSearch(PageRequest pageRequest, GroupSearchRequest searchRequest)
PageResponse<ConfluenceUser>
doUserSearch(PageRequest pageRequest, UserSearchRequest searchRequest)
boolean
isSupportsSimpleSearch()
protected String
removeWildcards(String term)
-
-
-
Constructor Detail
-
UserSearchServiceInternalImpl
public UserSearchServiceInternalImpl(PaginationService paginationService, com.atlassian.crowd.embedded.api.CrowdService crowdService, PermissionManager permissionManager, SettingsManager settingsManager)
-
-
Method Detail
-
doUserSearch
public PageResponse<ConfluenceUser> doUserSearch(PageRequest pageRequest, UserSearchRequest searchRequest) throws ServiceException
- Specified by:
doUserSearch
in interfaceUserSearchServiceInternal
- Throws:
ServiceException
-
doMemberOfGroupsSearch
public com.atlassian.fugue.Pair<List<String>,PageResponse<ConfluenceUser>> doMemberOfGroupsSearch(PageRequest pageRequest, GroupSearchRequest searchRequest) throws ServiceException
- Specified by:
doMemberOfGroupsSearch
in interfaceUserSearchServiceInternal
- Throws:
ServiceException
-
convertToSearchRestrictions
protected List<com.atlassian.crowd.embedded.api.SearchRestriction> convertToSearchRestrictions(String searchTerm, com.atlassian.crowd.search.query.entity.restriction.Property<String> property) throws ServiceException
- Throws:
ServiceException
-
convertToSearchRestrictions
protected List<com.atlassian.crowd.embedded.api.SearchRestriction> convertToSearchRestrictions(String searchString, List<com.atlassian.crowd.search.query.entity.restriction.Property<String>> properties) throws ServiceException
- Throws:
ServiceException
-
removeWildcards
protected String removeWildcards(String term) throws ServiceException
- Throws:
ServiceException
-
isSupportsSimpleSearch
public boolean isSupportsSimpleSearch()
- Specified by:
isSupportsSimpleSearch
in interfaceUserSearchServiceInternal
-
-