|
Fish & Chips Club 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object ActionImpl ActionTemplateListAndEdit hirondelle.fish.access.role.RoleAction
public final class RoleAction
Edit the security Role(s) attached to users.
Field Summary | |
---|---|
static RequestParameter |
NAME
|
static RequestParameter |
ROLES
|
static SqlId |
ROLES_ADD
|
static SqlId |
ROLES_DELETE
|
static SqlId |
ROLES_FETCH
|
static SqlId |
ROLES_LIST
|
Fields inherited from class ActionTemplateListAndEdit |
---|
SupportedOperation |
Fields inherited from class ActionImpl |
---|
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID |
Constructor Summary | |
---|---|
RoleAction(RequestParser aRequestParser)
Constructor. |
Method Summary | |
---|---|
protected void |
attemptAdd()
Not supported. |
protected void |
attemptChange()
Change the roles attached to a user. |
protected void |
attemptDelete()
Not supported. |
protected void |
attemptFetchForChange()
Fetch a UserRole , in preparation for editing it. |
protected void |
doList()
List all roles for all users. |
protected void |
validateUserInput()
Build a UserRole from user input. |
Methods inherited from class ActionTemplateListAndEdit |
---|
addDynamicParameterToRedirectPage, execute |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SqlId ROLES_FETCH
public static final SqlId ROLES_LIST
public static final SqlId ROLES_DELETE
public static final SqlId ROLES_ADD
public static final RequestParameter NAME
public static final RequestParameter ROLES
Constructor Detail |
---|
public RoleAction(RequestParser aRequestParser)
Method Detail |
---|
protected void doList() throws DAOException
doList
in class ActionTemplateListAndEdit
DAOException
protected void validateUserInput()
UserRole
from user input.
validateUserInput
in class ActionTemplateListAndEdit
protected void attemptAdd() throws DAOException
attemptAdd
in class ActionTemplateListAndEdit
DAOException
protected void attemptFetchForChange() throws DAOException
UserRole
, in preparation for editing it.
attemptFetchForChange
in class ActionTemplateListAndEdit
DAOException
protected void attemptChange() throws DAOException
attemptChange
in class ActionTemplateListAndEdit
DAOException
protected void attemptDelete() throws DAOException
attemptDelete
in class ActionTemplateListAndEdit
DAOException
|
Fish & Chips Club 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |