Fish & Chips Club 4.10.0.0

hirondelle.fish.access.role
Class RoleAction

Object
  extended by ActionImpl
      extended by ActionTemplateListAndEdit
          extended by hirondelle.fish.access.role.RoleAction
All Implemented Interfaces:
Action

public final class RoleAction
extends ActionTemplateListAndEdit

Edit the security Role(s) attached to users.

View : SQL Statements :

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 ActionImpl
addError, addError, addError, addMessage, addMessage, addToRequest, addToSession, copyFromSessionToRequest, createSessionAndCsrfToken, endSession, getErrors, getExistingSession, getFromSession, getIdParam, getIdParams, getLocale, getLoggedInUserName, getMessages, getOperation, getOrderBy, getParam, getParamUnsafe, getRequestParser, getResponsePage, getTimeZone, getUserId, hasErrors, removeFromSession, setResponsePage
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLES_FETCH

public static final SqlId ROLES_FETCH

ROLES_LIST

public static final SqlId ROLES_LIST

ROLES_DELETE

public static final SqlId ROLES_DELETE

ROLES_ADD

public static final SqlId ROLES_ADD

NAME

public static final RequestParameter NAME

ROLES

public static final RequestParameter ROLES
Constructor Detail

RoleAction

public RoleAction(RequestParser aRequestParser)
Constructor.

Method Detail

doList

protected void doList()
               throws DAOException
List all roles for all users.

Specified by:
doList in class ActionTemplateListAndEdit
Throws:
DAOException

validateUserInput

protected void validateUserInput()
Build a UserRole from user input.

Specified by:
validateUserInput in class ActionTemplateListAndEdit

attemptAdd

protected void attemptAdd()
                   throws DAOException
Not supported.

Specified by:
attemptAdd in class ActionTemplateListAndEdit
Throws:
DAOException

attemptFetchForChange

protected void attemptFetchForChange()
                              throws DAOException
Fetch a UserRole, in preparation for editing it.

Specified by:
attemptFetchForChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptChange

protected void attemptChange()
                      throws DAOException
Change the roles attached to a user.

Specified by:
attemptChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptDelete

protected void attemptDelete()
                      throws DAOException
Not supported.

Specified by:
attemptDelete in class ActionTemplateListAndEdit
Throws:
DAOException

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26