|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserDao
DAO for User objects.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface magoffin.matt.dao.BatchableDao |
---|
magoffin.matt.dao.BatchableDao.BatchCallback<T>, magoffin.matt.dao.BatchableDao.BatchCallbackResult, magoffin.matt.dao.BatchableDao.BatchMode, magoffin.matt.dao.BatchableDao.BatchOptions, magoffin.matt.dao.BatchableDao.BatchResult |
Field Summary | |
---|---|
static java.lang.String |
BATCH_NAME_INDEX
The batch processing name to index MediaItem objects. |
Method Summary | |
---|---|
java.util.List<User> |
deleteUnconfirmedRegistrations(int minDaysOld)
Delete registered users that are unconfirmed and created longer than the specified number of days ago. |
java.util.List<User> |
findUsersForAccess(java.lang.Integer accessLevel)
Find all users for a given access level. |
User |
getUserByEmail(java.lang.String email)
Get a user by an email. |
User |
getUserByKey(java.lang.String key)
Get a user by anonymous key. |
User |
getUserByLogin(java.lang.String login)
Get a user by a login name. |
Methods inherited from interface magoffin.matt.dao.GenericDao |
---|
delete, get, store |
Methods inherited from interface magoffin.matt.dao.BatchableDao |
---|
batchProcess |
Field Detail |
---|
static final java.lang.String BATCH_NAME_INDEX
Method Detail |
---|
User getUserByLogin(java.lang.String login)
login
- the login name
User getUserByEmail(java.lang.String email)
email
- the email
User getUserByKey(java.lang.String key)
key
- the user key
java.util.List<User> findUsersForAccess(java.lang.Integer accessLevel)
accessLevel
- the access level
java.util.List<User> deleteUnconfirmedRegistrations(int minDaysOld)
minDaysOld
- the minimum number of days old from the current time
the registration must be in order to delete
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |