|
Fish & Chips Club 4.7.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectActionImpl
ActionTemplateShowAndApply
hirondelle.fish.translate.refresh.RefreshTranslations
public final class RefreshTranslations
Refresh the translations held in memory.
Translations are held in memory as a performance optimization. Translations are both commonly needed, and rarely change, so holding them in memory is a reasonable design.
Operation performed : TranslatorImpl.read().
| Field Summary |
|---|
| Fields inherited from class ActionTemplateShowAndApply |
|---|
SUPPORTED_OPERATION |
| Fields inherited from class ActionImpl |
|---|
ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID |
| Constructor Summary | |
|---|---|
RefreshTranslations(RequestParser aRequestParser)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
apply()
Refresh the in-memory cache of translations. |
protected void |
show()
Show the total number of translations, and a form with a single button |
protected void |
validateUserInput()
Form has no input, just single button - no validation needed. |
| Methods inherited from class ActionTemplateShowAndApply |
|---|
execute |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RefreshTranslations(RequestParser aRequestParser)
| Method Detail |
|---|
protected void show()
throws AppException
show in class ActionTemplateShowAndApplyAppException
protected void validateUserInput()
throws AppException
validateUserInput in class ActionTemplateShowAndApplyAppException
protected void apply()
throws AppException
apply in class ActionTemplateShowAndApplyAppException
|
Fish & Chips Club 4.7.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||