public class DWRUserService
extends java.lang.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 |
|---|---|
java.util.Collection<UserListItem> |
findUsers(java.lang.String searchValue,
java.util.List<java.lang.String> rolesStrings,
boolean includeVoided)
Find users in the database that match the given search values.
|
java.util.Collection<UserListItem> |
getAllUsers(java.util.List<java.lang.String> roleStrings,
boolean includeVoided) |
UserListItem |
getUser(java.lang.Integer userId)
Get the user identified by
userId |
public java.util.Collection<UserListItem> findUsers(java.lang.String searchValue, java.util.List<java.lang.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 java.util.Collection<UserListItem> getAllUsers(java.util.List<java.lang.String> roleStrings, boolean includeVoided)
public UserListItem getUser(java.lang.Integer userId)
userIduserId - Copyright © 2018 OpenMRS Inc.. All Rights Reserved.