public interface TemporaryUserDao
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(TemporaryUser user) |
void |
clear() |
void |
clearExpiredUsers() |
void |
deleteUser(String userGridId,
String userId) |
void |
deleteUsersOfGrid(String userGridId) |
String |
getParentUserIdIfUserAvailable(String userGridId,
String userId,
String password) |
TemporaryUser |
getUser(String userGridId,
String userId) |
boolean |
isParent(String userGridId,
String ownerUserId,
String userId) |
boolean |
isUserExists(String userGridId,
String userId) |
List<TemporaryUser> |
listAllUsers(String userGridId) |
TemporaryUserSearchResult |
searchUsers(int startIndex,
int maxCount,
String userGridId,
MatchingCondition[] conditions,
Order[] orders) |
TemporaryUserSearchResult |
searchUsers(int startIndex,
int maxCount,
String userGridId,
String parentUserId,
MatchingCondition[] conditions,
Order[] orders) |
void |
setAvailableDateTime(TemporaryUser user,
Calendar beginAvailableDateTime,
Calendar endAvailableDateTime) |
void clear()
throws DaoException
DaoExceptionvoid clearExpiredUsers()
throws DaoException
DaoExceptionList<TemporaryUser> listAllUsers(String userGridId) throws DaoException
DaoExceptionTemporaryUserSearchResult searchUsers(int startIndex, int maxCount, String userGridId, String parentUserId, MatchingCondition[] conditions, Order[] orders) throws DaoException
DaoExceptionTemporaryUserSearchResult searchUsers(int startIndex, int maxCount, String userGridId, MatchingCondition[] conditions, Order[] orders) throws DaoException
DaoExceptionboolean isUserExists(String userGridId, String userId) throws DaoException
DaoExceptionString getParentUserIdIfUserAvailable(String userGridId, String userId, String password) throws DaoException
DaoExceptionboolean isParent(String userGridId, String ownerUserId, String userId) throws DaoException, UserNotFoundException
DaoExceptionUserNotFoundExceptionvoid addUser(TemporaryUser user) throws DaoException, UserAlreadyExistsException
void setAvailableDateTime(TemporaryUser user, Calendar beginAvailableDateTime, Calendar endAvailableDateTime) throws DaoException
DaoExceptionvoid deleteUser(String userGridId, String userId) throws DaoException, UserNotFoundException
DaoExceptionUserNotFoundExceptionvoid deleteUsersOfGrid(String userGridId) throws DaoException
DaoExceptionTemporaryUser getUser(String userGridId, String userId) throws DaoException, UserNotFoundException
DaoExceptionUserNotFoundException