Fish & Chips Club 4.10.0.0

hirondelle.fish.translate.locale
Class SupportedLocaleAction

Object
  extended by ActionImpl
      extended by ActionTemplateListAndEdit
          extended by hirondelle.fish.translate.locale.SupportedLocaleAction
All Implemented Interfaces:
Action

public final class SupportedLocaleAction
extends ActionTemplateListAndEdit

Edit the Locales supported by this application.

Editing these items is expected to be an uncommon operation. Such edits would usually occur only during development.

View : SQL Statements :

Field Summary
static RequestParameter DESCRIPTION
           
static SqlId LOCALE_ADD
           
static SqlId LOCALE_CHANGE
           
static SqlId LOCALE_DELETE
           
static SqlId LOCALE_FETCH
           
static SqlId LOCALE_LIST
           
static RequestParameter SHORT_FORM
           
static RequestParameter SUPPORTED_LOCALE_ID
           
 
Fields inherited from class ActionTemplateListAndEdit
SupportedOperation
 
Fields inherited from class ActionImpl
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID
 
Constructor Summary
SupportedLocaleAction(RequestParser aRequestParser)
          Constructor.
 
Method Summary
protected  void attemptAdd()
          Add a new SupportedLocale.
protected  void attemptChange()
          Update an exisiting SupportedLocale.
protected  void attemptDelete()
          Delete an existing SupportedLocale.
protected  void attemptFetchForChange()
          Fetch an existing SupportedLocale.
protected  void doList()
          List all SupportedLocales.
protected  void validateUserInput()
          Ensure user input can build a SupportedLocale.
 
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

LOCALE_LIST

public static final SqlId LOCALE_LIST

LOCALE_FETCH

public static final SqlId LOCALE_FETCH

LOCALE_ADD

public static final SqlId LOCALE_ADD

LOCALE_CHANGE

public static final SqlId LOCALE_CHANGE

LOCALE_DELETE

public static final SqlId LOCALE_DELETE

SUPPORTED_LOCALE_ID

public static final RequestParameter SUPPORTED_LOCALE_ID

SHORT_FORM

public static final RequestParameter SHORT_FORM

DESCRIPTION

public static final RequestParameter DESCRIPTION
Constructor Detail

SupportedLocaleAction

public SupportedLocaleAction(RequestParser aRequestParser)
Constructor.

Method Detail

doList

protected void doList()
               throws DAOException
List all SupportedLocales.

Specified by:
doList in class ActionTemplateListAndEdit
Throws:
DAOException

validateUserInput

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

Specified by:
validateUserInput in class ActionTemplateListAndEdit

attemptAdd

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

Specified by:
attemptAdd in class ActionTemplateListAndEdit
Throws:
DAOException

attemptFetchForChange

protected void attemptFetchForChange()
                              throws DAOException
Fetch an existing SupportedLocale.

Specified by:
attemptFetchForChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptChange

protected void attemptChange()
                      throws DAOException
Update an exisiting SupportedLocale.

Specified by:
attemptChange in class ActionTemplateListAndEdit
Throws:
DAOException

attemptDelete

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

Specified by:
attemptDelete in class ActionTemplateListAndEdit
Throws:
DAOException

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26