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) com.atlassian.fugue.Pair<List<String>,
PageResponse<ConfluenceUser>> doMemberOfGroupsSearch
(PageRequest pageRequest, GroupSearchRequest searchRequest) doUserSearch
(PageRequest pageRequest, UserSearchRequest searchRequest) boolean
protected String
removeWildcards
(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:
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
- Throws:
ServiceException
-
isSupportsSimpleSearch
public boolean isSupportsSimpleSearch()- Specified by:
isSupportsSimpleSearch
in interfaceUserSearchServiceInternal
-