public class DWRUserService extends Object
UserService methods and have been chosen to be exposed via dwr to allow for access via
javascript.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
DWRUserService() |
| Modifier and Type | Method and Description |
|---|---|
Collection<UserListItem> |
findUsers(String searchValue,
List<String> rolesStrings,
boolean includeVoided)
Find users in the database that match the given search values.
|
Collection<UserListItem> |
getAllUsers(List<String> roleStrings,
boolean includeVoided) |
UserListItem |
getUser(Integer userId)
Get the user identified by
userId |
public Collection<UserListItem> findUsers(String searchValue, List<String> rolesStrings, boolean includeVoided)
searchValue - a query string like 'john doe'rolesStrings - list of role names to restrict to like '[Provider, Manager]'includeVoided - true/false to include voided users in the searchUserListItems (or String warning message if none found)UserService.getUsers(String, List, boolean)public Collection<UserListItem> getAllUsers(List<String> roleStrings, boolean includeVoided)
public UserListItem getUser(Integer userId)
userIduserId - Copyright © 2018 OpenMRS LLC.. All Rights Reserved.