Interface UserSearchService
- All Known Implementing Classes:
UserSearchServiceImpl
public interface UserSearchService
This Service is used to centralize the search of users
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User> searchUsers(String term) Search users by a term and having status = ENABLEDorg.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User> searchUsers(String term, org.exoplatform.services.organization.UserStatus userStatus) Search users by a term and its status: ENABLED, DISABLED or ALL
-
Method Details
-
searchUsers
default org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User> searchUsers(String term) throws Exception Search users by a term and having status = ENABLED- Parameters:
term- query string that will be used to search in user name- Returns:
ListAccessofUser- Throws:
Exception
-
searchUsers
org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.User> searchUsers(String term, org.exoplatform.services.organization.UserStatus userStatus) throws Exception Search users by a term and its status: ENABLED, DISABLED or ALL- Parameters:
term- query string that will be used to search in user nameuserStatus- user status of typeUserStatus- Returns:
ListAccessofUser- Throws:
Exception
-