hirondelle.predict.main.preferences
Class PreferencesAction
Object
ActionImpl
ActionTemplateShowAndApply
hirondelle.predict.main.preferences.PreferencesAction
- All Implemented Interfaces:
- Action
public final class PreferencesAction
- extends ActionTemplateShowAndApply
Update user preferences.
View :
SQL Statements :
Method Summary |
protected void |
apply()
Apply updates to the database. |
protected void |
show()
Show the form. |
protected void |
validateUserInput()
Check user input can build a Preferences object. |
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 |
FETCH_PREFERENCES
public static final SqlId FETCH_PREFERENCES
CHANGE_PREFERENCES
public static final SqlId CHANGE_PREFERENCES
LOCALE
public static final RequestParameter LOCALE
SCREEN_NAME
public static final RequestParameter SCREEN_NAME
PreferencesAction
public PreferencesAction(RequestParser aRequestParser)
- Constructor.
show
protected void show()
throws DAOException
- Show the form.
- Specified by:
show
in class ActionTemplateShowAndApply
- Throws:
DAOException
validateUserInput
protected void validateUserInput()
throws AppException
- Check user input can build a
Preferences
object.
- Specified by:
validateUserInput
in class ActionTemplateShowAndApply
- Throws:
AppException
apply
protected void apply()
throws AppException
- Apply updates to the database.
- Specified by:
apply
in class ActionTemplateShowAndApply
- Throws:
AppException
Copyright Hirondelle Systems - Generated 2013Oct19.12.27