Fish & Chips Club 4.10.0.0

hirondelle.fish.translate.basetext
Class BaseTextAction

Object
  extended by ActionImpl
      extended by ActionTemplateListAndEdit
          extended by hirondelle.fish.translate.basetext.BaseTextAction
All Implemented Interfaces:
Action

public final class BaseTextAction
extends ActionTemplateListAndEdit

Edit BaseText items.

This action called when URI matches the value EXPLICIT_URI_MAPPING. (This is an exception to the usual, implicit mapping style. It exists merely to demonstrate the technique.)

View : SQL Statements :

Field Summary
static RequestParameter BASE_TEXT
           
static SqlId BASE_TEXT_ADD
           
static SqlId BASE_TEXT_CHANGE
           
static SqlId BASE_TEXT_DELETE
           
static SqlId BASE_TEXT_FETCH
           
static RequestParameter BASE_TEXT_ID
           
static SqlId BASE_TEXT_LIST
           
static String EXPLICIT_URI_MAPPING
          URI element used to map requests to this action - "/translate/basetext/BaseTextEdit".
static RequestParameter IS_CODER_KEY
           
 
Fields inherited from class ActionTemplateListAndEdit
SupportedOperation
 
Fields inherited from class ActionImpl
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID
 
Constructor Summary
BaseTextAction(RequestParser aRequestParser)
          Constructor.
 
Method Summary
protected  void attemptAdd()
          Add a new BaseText.
protected  void attemptChange()
          Update an existing BaseText.
protected  void attemptDelete()
          Delete an existing BaseText.
protected  void attemptFetchForChange()
          Fetch a BaseText in preparation for editing it.
protected  void doList()
          Show all BaseText items.
protected  void validateUserInput()
          Ensure user input can build a BaseText.
 
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

BASE_TEXT_LIST

public static final SqlId BASE_TEXT_LIST

BASE_TEXT_FETCH

public static final SqlId BASE_TEXT_FETCH

BASE_TEXT_ADD

public static final SqlId BASE_TEXT_ADD

BASE_TEXT_CHANGE

public static final SqlId BASE_TEXT_CHANGE

BASE_TEXT_DELETE

public static final SqlId BASE_TEXT_DELETE

EXPLICIT_URI_MAPPING

public static final String EXPLICIT_URI_MAPPING
URI element used to map requests to this action - "/translate/basetext/BaseTextEdit".

This is an example of an explicit URI mapping. If this field was absent, then the implicit URI mapping for this Action would be used.

See RequestParserImpl for more information on implicit and explicit URI mapping.

See Also:
Constant Field Values

BASE_TEXT_ID

public static final RequestParameter BASE_TEXT_ID

BASE_TEXT

public static final RequestParameter BASE_TEXT

IS_CODER_KEY

public static final RequestParameter IS_CODER_KEY
Constructor Detail

BaseTextAction

public BaseTextAction(RequestParser aRequestParser)
Constructor.

Method Detail

doList

protected void doList()
               throws DAOException
Show all BaseText items.

Specified by:
doList in class ActionTemplateListAndEdit
Throws:
DAOException

validateUserInput

protected void validateUserInput()
Ensure user input can build a BaseText.

Specified by:
validateUserInput in class ActionTemplateListAndEdit

attemptAdd

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

Specified by:
attemptAdd in class ActionTemplateListAndEdit
Throws:
DAOException

attemptFetchForChange

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

Specified by:
attemptFetchForChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptChange

protected void attemptChange()
                      throws DAOException
Update an existing BaseText.

Specified by:
attemptChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptDelete

protected void attemptDelete()
                      throws DAOException
Delete an existing BaseText.

Specified by:
attemptDelete in class ActionTemplateListAndEdit
Throws:
DAOException

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26