Fish & Chips Club 4.10.0.0

hirondelle.fish.access.user
Class UserAction

Object
  extended by ActionImpl
      extended by ActionTemplateListAndEdit
          extended by hirondelle.fish.access.user.UserAction
All Implemented Interfaces:
Action

public final class UserAction
extends ActionTemplateListAndEdit

Edit User objects.

View : SQL Statements :

Field Summary
static SqlId USER_ADD
           
static SqlId USER_DELETE
           
static SqlId USER_LIST
           
static RequestParameter USER_NAME
           
 
Fields inherited from class ActionTemplateListAndEdit
SupportedOperation
 
Fields inherited from class ActionImpl
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID
 
Constructor Summary
UserAction(RequestParser aRequestParser)
          Constructor.
 
Method Summary
protected  void attemptAdd()
          Add a new User.
protected  void attemptChange()
          Not supported.
protected  void attemptDelete()
          Delete a User.
protected  void attemptFetchForChange()
          Not supported.
protected  void doList()
          List all users.
protected  void validateUserInput()
          Create a User 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

USER_LIST

public static final SqlId USER_LIST

USER_ADD

public static final SqlId USER_ADD

USER_DELETE

public static final SqlId USER_DELETE

USER_NAME

public static final RequestParameter USER_NAME
Constructor Detail

UserAction

public UserAction(RequestParser aRequestParser)
Constructor.

Method Detail

doList

protected void doList()
               throws DAOException
List all users.

Specified by:
doList in class ActionTemplateListAndEdit
Throws:
DAOException

validateUserInput

protected void validateUserInput()
Create a User from user input.

Specified by:
validateUserInput in class ActionTemplateListAndEdit

attemptAdd

protected void attemptAdd()
                   throws DAOException
Add a new User.

Specified by:
attemptAdd in class ActionTemplateListAndEdit
Throws:
DAOException

attemptFetchForChange

protected void attemptFetchForChange()
                              throws DAOException
Not supported.

Specified by:
attemptFetchForChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptChange

protected void attemptChange()
                      throws DAOException
Not supported.

Specified by:
attemptChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptDelete

protected void attemptDelete()
                      throws DAOException
Delete a User.

Specified by:
attemptDelete in class ActionTemplateListAndEdit
Throws:
DAOException

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26