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
DaoException
void clearExpiredUsers() throws DaoException
DaoException
List<TemporaryUser> listAllUsers(String userGridId) throws DaoException
DaoException
TemporaryUserSearchResult searchUsers(int startIndex, int maxCount, String userGridId, String parentUserId, MatchingCondition[] conditions, Order[] orders) throws DaoException
DaoException
TemporaryUserSearchResult searchUsers(int startIndex, int maxCount, String userGridId, MatchingCondition[] conditions, Order[] orders) throws DaoException
DaoException
boolean isUserExists(String userGridId, String userId) throws DaoException
DaoException
String getParentUserIdIfUserAvailable(String userGridId, String userId, String password) throws DaoException
DaoException
boolean isParent(String userGridId, String ownerUserId, String userId) throws DaoException, UserNotFoundException
DaoException
UserNotFoundException
void addUser(TemporaryUser user) throws DaoException, UserAlreadyExistsException
void setAvailableDateTime(TemporaryUser user, Calendar beginAvailableDateTime, Calendar endAvailableDateTime) throws DaoException
DaoException
void deleteUser(String userGridId, String userId) throws DaoException, UserNotFoundException
DaoException
UserNotFoundException
void deleteUsersOfGrid(String userGridId) throws DaoException
DaoException
TemporaryUser getUser(String userGridId, String userId) throws DaoException, UserNotFoundException
DaoException
UserNotFoundException