Fish & Chips Club 4.10.0.0

hirondelle.fish.translate.translation
Class TranslationEdit

Object
  extended by ActionImpl
      extended by ActionTemplateListAndEdit
          extended by hirondelle.fish.translate.translation.TranslationEdit
All Implemented Interfaces:
Action

public final class TranslationEdit
extends ActionTemplateListAndEdit

Edit all Translations.

View : SQL Statements :

Field Summary
static SqlId ADD
           
static RequestParameter BASE_TEXT_ID
           
static SqlId CHANGE
           
static SqlId DELETE
           
static SqlId FETCH
           
static SqlId LIST
           
static RequestParameter LOCALE_ID
           
static RequestParameter TRANSLATION
           
 
Fields inherited from class ActionTemplateListAndEdit
SupportedOperation
 
Fields inherited from class ActionImpl
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID
 
Constructor Summary
TranslationEdit(RequestParser aRequestParser)
          Constructor.
 
Method Summary
protected  void attemptAdd()
          Add a new Translation.
protected  void attemptChange()
          Update an existing Translation.
protected  void attemptDelete()
          Delete an existing Translation.
protected  void attemptFetchForChange()
          Fetch a Translation in preparation for editing it.
protected  void doList()
          Display a listing of all Translations.
protected  void validateUserInput()
          Ensure user input can create a Translation.
 
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

LIST

public static final SqlId LIST

FETCH

public static final SqlId FETCH

ADD

public static final SqlId ADD

CHANGE

public static final SqlId CHANGE

DELETE

public static final SqlId DELETE

LOCALE_ID

public static final RequestParameter LOCALE_ID

TRANSLATION

public static final RequestParameter TRANSLATION

BASE_TEXT_ID

public static final RequestParameter BASE_TEXT_ID
Constructor Detail

TranslationEdit

public TranslationEdit(RequestParser aRequestParser)
Constructor.

Method Detail

doList

protected void doList()
               throws DAOException
Display a listing of all Translations.

Specified by:
doList in class ActionTemplateListAndEdit
Throws:
DAOException

validateUserInput

protected void validateUserInput()
Ensure user input can create a Translation.

Specified by:
validateUserInput in class ActionTemplateListAndEdit

attemptAdd

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

Specified by:
attemptAdd in class ActionTemplateListAndEdit
Throws:
DAOException

attemptFetchForChange

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

Specified by:
attemptFetchForChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptChange

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

Specified by:
attemptChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptDelete

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

Specified by:
attemptDelete in class ActionTemplateListAndEdit
Throws:
DAOException

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26