public interface UserDao
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(User user,
String... userRoles) |
void |
clear() |
void |
clearExceptAdmins() |
void |
deleteUser(String userGridId,
String userId) |
void |
deleteUsersOfGrid(String gridId) |
List<User> |
dumpAllUsers(String userGridId) |
User |
getUser(String userGridId,
String userId) |
boolean |
hasUserRole(String userGridId,
String userId,
String role) |
boolean |
isUserExist(String userGridId,
String userId) |
List<User> |
listAllUsers(String userGridId) |
UserSearchResult |
searchUsers(int startIndex,
int maxCount,
String userGridId,
MatchingCondition[] conditions,
Order[] orders) |
UserSearchResult |
searchUsersShouldChangePassword(int startIndex,
int maxCount,
String userGridId,
Calendar dateTime,
Order[] orders) |
void clear()
throws DaoException
DaoExceptionvoid clearExceptAdmins()
throws DaoException
DaoExceptionList<User> dumpAllUsers(String userGridId) throws DaoException
DaoExceptionList<User> listAllUsers(String userGridId) throws DaoException
DaoExceptionUserSearchResult searchUsers(int startIndex, int maxCount, String userGridId, MatchingCondition[] conditions, Order[] orders) throws DaoException
DaoExceptionboolean isUserExist(String userGridId, String userId) throws DaoException
DaoExceptionvoid addUser(User user, String... userRoles) throws DaoException, UserAlreadyExistsException
void deleteUser(String userGridId, String userId) throws DaoException, UserNotFoundException
DaoExceptionUserNotFoundExceptionvoid deleteUsersOfGrid(String gridId) throws DaoException
DaoExceptionUser getUser(String userGridId, String userId) throws DaoException, UserNotFoundException
DaoExceptionUserNotFoundExceptionboolean hasUserRole(String userGridId, String userId, String role) throws DaoException
DaoExceptionUserSearchResult searchUsersShouldChangePassword(int startIndex, int maxCount, String userGridId, Calendar dateTime, Order[] orders) throws DaoException
DaoException