Class UserSearchServiceInternalImpl
java.lang.Object
com.atlassian.confluence.internal.user.UserSearchServiceInternalImpl
- All Implemented Interfaces:
UserSearchServiceInternal
Searches for users using the
CrowdService.-
Constructor Summary
ConstructorsConstructorDescriptionUserSearchServiceInternalImpl(PaginationService paginationService, com.atlassian.crowd.embedded.api.CrowdService crowdService, PermissionManager permissionManager, SettingsManager settingsManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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) io.atlassian.fugue.Pair<List<String>, PageResponse<ConfluenceUser>> doMemberOfGroupsSearch(PageRequest pageRequest, GroupSearchRequest searchRequest) doUserSearch(PageRequest pageRequest, UserSearchRequest searchRequest) booleanprotected StringremoveWildcards(String term)
-
Constructor Details
-
UserSearchServiceInternalImpl
public UserSearchServiceInternalImpl(PaginationService paginationService, com.atlassian.crowd.embedded.api.CrowdService crowdService, PermissionManager permissionManager, SettingsManager settingsManager)
-
-
Method Details
-
doUserSearch
public PageResponse<ConfluenceUser> doUserSearch(PageRequest pageRequest, UserSearchRequest searchRequest) throws ServiceException - Specified by:
doUserSearchin interfaceUserSearchServiceInternal- Throws:
ServiceException
-
doMemberOfGroupsSearch
public io.atlassian.fugue.Pair<List<String>,PageResponse<ConfluenceUser>> doMemberOfGroupsSearch(PageRequest pageRequest, GroupSearchRequest searchRequest) throws ServiceException - Specified by:
doMemberOfGroupsSearchin 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
- Throws:
ServiceException
-
isSupportsSimpleSearch
public boolean isSupportsSimpleSearch()- Specified by:
isSupportsSimpleSearchin interfaceUserSearchServiceInternal
-