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
DaoException
void clearExceptAdmins() throws DaoException
DaoException
List<User> dumpAllUsers(String userGridId) throws DaoException
DaoException
List<User> listAllUsers(String userGridId) throws DaoException
DaoException
UserSearchResult searchUsers(int startIndex, int maxCount, String userGridId, MatchingCondition[] conditions, Order[] orders) throws DaoException
DaoException
boolean isUserExist(String userGridId, String userId) throws DaoException
DaoException
void addUser(User user, String... userRoles) throws DaoException, UserAlreadyExistsException
void deleteUser(String userGridId, String userId) throws DaoException, UserNotFoundException
DaoException
UserNotFoundException
void deleteUsersOfGrid(String gridId) throws DaoException
DaoException
User getUser(String userGridId, String userId) throws DaoException, UserNotFoundException
DaoException
UserNotFoundException
boolean hasUserRole(String userGridId, String userId, String role) throws DaoException
DaoException
UserSearchResult searchUsersShouldChangePassword(int startIndex, int maxCount, String userGridId, Calendar dateTime, Order[] orders) throws DaoException
DaoException