|
Fish & Chips Club 4.7.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objecthirondelle.fish.access.user.UserDAO
public final class UserDAO
Data Access Object for Users.
| Field Summary | |
|---|---|
static SqlId |
FETCH_FORM_SOURCE_ID
Used by WEB4J to protect against CSRF attacks. |
static SqlId |
SAVE_FORM_SOURCE_ID
Used by WEB4J to protect against CSRF attacks. |
| Constructor Summary | |
|---|---|
UserDAO()
|
|
| Method Summary | |
|---|---|
(package private) void |
add(User aUser)
Add a new User, with no initial roles. |
(package private) void |
delete(SafeText aUserName)
Delete a User, along with all related roles. |
List<User> |
list()
Return a List of all User objects. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final SqlId FETCH_FORM_SOURCE_ID
public static final SqlId SAVE_FORM_SOURCE_ID
| Constructor Detail |
|---|
public UserDAO()
| Method Detail |
|---|
public List<User> list()
throws DAOException
List of all User objects.
DAOException
void add(User aUser)
throws DAOException,
DuplicateException
User, with no initial roles.
The user name must be unique. If the name is duplicated, then a DuplicateException
will be thrown.
DAOException
DuplicateException
void delete(SafeText aUserName)
throws DAOException
User, along with all related roles.
(This method uses a transaction.)
DAOException
|
Fish & Chips Club 4.7.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||