|
Fish & Chips Club 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object ActionImpl ActionTemplateShowAndApply hirondelle.fish.all.preferences.PreferencesAction
public final class PreferencesAction
Update user preferences.
This class only changes user language preference.
Field Summary | |
---|---|
static SqlId |
CHANGE_PREFERENCES
|
static SqlId |
FETCH_PREFERENCES
|
static RequestParameter |
LOCALE
|
Fields inherited from class ActionTemplateShowAndApply |
---|
SUPPORTED_OPERATION |
Fields inherited from class ActionImpl |
---|
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID |
Constructor Summary | |
---|---|
PreferencesAction(RequestParser aRequestParser)
Constructor. |
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 ActionTemplateShowAndApply |
---|
execute |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SqlId FETCH_PREFERENCES
public static final SqlId CHANGE_PREFERENCES
public static final RequestParameter LOCALE
Constructor Detail |
---|
public PreferencesAction(RequestParser aRequestParser)
Method Detail |
---|
protected void show() throws DAOException
show
in class ActionTemplateShowAndApply
DAOException
protected void validateUserInput() throws AppException
Preferences
object.
validateUserInput
in class ActionTemplateShowAndApply
AppException
protected void apply() throws AppException
apply
in class ActionTemplateShowAndApply
AppException
|
Fish & Chips Club 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |