public interface UserDAO
Context, 
UserServiceUser saveUser(User user, String password) throws DAOException
DAOExceptionUserService.saveUser(org.openmrs.User, java.lang.String)User getUser(Integer userId) throws DAOException
DAOExceptionUserService.getUser(Integer)User getUserByUsername(String username) throws DAOException
DAOExceptionUserService.getUserByUsername(java.lang.String)boolean hasDuplicateUsername(String username, String systemId, Integer userId) throws DAOException
DAOExceptionUserService.hasDuplicateUsername(org.openmrs.User)void deleteUser(User user) throws DAOException
DAOExceptionUserService.purgeUser(org.openmrs.User)List<User> getAllUsers() throws DAOException
DAOExceptionUserService.getAllUsers()Role saveRole(Role role) throws DAOException
DAOExceptionUserService.saveRole(org.openmrs.Role)void deleteRole(Role role) throws DAOException
DAOExceptionUserService.purgeRole(org.openmrs.Role)Role getRole(String r) throws DAOException
DAOExceptionUserService.getRole(java.lang.String)List<Role> getAllRoles() throws DAOException
DAOExceptionUserService.getAllRoles()Privilege savePrivilege(Privilege privilege) throws DAOException
DAOExceptionUserService.savePrivilege(org.openmrs.Privilege)Privilege getPrivilege(String p) throws DAOException
DAOExceptionUserService.getPrivilege(java.lang.String)List<Privilege> getAllPrivileges() throws DAOException
DAOExceptionUserService.getAllPrivileges()void deletePrivilege(Privilege privilege) throws DAOException
DAOExceptionUserService.purgePrivilege(org.openmrs.Privilege)List<User> getUsersByName(String givenName, String familyName, boolean includeVoided)
void changePassword(User u, String pw) throws DAOException
DAOExceptionUserService.changePassword(org.openmrs.User, java.lang.String)void changePassword(String pw, String pw2) throws DAOException
DAOExceptionUserService.changePassword(java.lang.String, java.lang.String)void changeHashedPassword(User user, String hashedPassword, String salt) throws DAOException
DAOExceptionUserService.changeHashedPassword(User, String, String)void changeQuestionAnswer(User u, String question, String answer) throws DAOException
DAOExceptionUserService.changeQuestionAnswer(User, String, String)void changeQuestionAnswer(String pw, String q, String a) throws DAOException
boolean isSecretAnswer(User u, String answer) throws DAOException
DAOExceptionUserService.isSecretAnswer(org.openmrs.User, java.lang.String)Privilege getPrivilegeByUuid(String uuid)
uuid - Role getRoleByUuid(String uuid)
uuid - User getUserByUuid(String uuid)
uuid - LoginCredential getLoginCredential(User user)
user - LoginCredential getLoginCredentialByUuid(String uuid)
uuid - void updateLoginCredential(LoginCredential credential)
credential - Integer generateSystemId() throws DAOException
DAOExceptionUserService.generateSystemId()List<User> getUsers(String name, List<Role> roles, boolean includeRetired, Integer start, Integer length) throws DAOException
DAOExceptionUserService.getUsers(String, List, boolean, Integer, Integer)Copyright © 2018 OpenMRS LLC.. All Rights Reserved.