|
Fish & Chips Club 4.7.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectActionImpl
ActionTemplateListAndEdit
hirondelle.fish.translate.basetext.BaseTextAction
public final class BaseTextAction
Edit BaseText items.
This action called when URI matches the value EXPLICIT_URI_MAPPING.
(This is an exception to the usual, implicit mapping style. It exists merely to demonstrate
the technique.)
| Field Summary | |
|---|---|
static RequestParameter |
BASE_TEXT
|
static SqlId |
BASE_TEXT_ADD
|
static SqlId |
BASE_TEXT_CHANGE
|
static SqlId |
BASE_TEXT_DELETE
|
static SqlId |
BASE_TEXT_FETCH
|
static RequestParameter |
BASE_TEXT_ID
|
static SqlId |
BASE_TEXT_LIST
|
static String |
EXPLICIT_URI_MAPPING
URI element used to map requests to this action - "/translate/basetext/BaseTextEdit". |
static RequestParameter |
IS_CODER_KEY
|
| Fields inherited from class ActionTemplateListAndEdit |
|---|
SupportedOperation |
| Fields inherited from class ActionImpl |
|---|
ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID |
| Constructor Summary | |
|---|---|
BaseTextAction(RequestParser aRequestParser)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
attemptAdd()
Add a new BaseText. |
protected void |
attemptChange()
Update an existing BaseText. |
protected void |
attemptDelete()
Delete an existing BaseText. |
protected void |
attemptFetchForChange()
Fetch a BaseText in preparation for editing it. |
protected void |
doList()
Show all BaseText items. |
protected void |
validateUserInput()
Ensure user input can build a BaseText. |
| Methods inherited from class ActionTemplateListAndEdit |
|---|
addDynamicParameterToRedirectPage, execute |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final SqlId BASE_TEXT_LIST
public static final SqlId BASE_TEXT_FETCH
public static final SqlId BASE_TEXT_ADD
public static final SqlId BASE_TEXT_CHANGE
public static final SqlId BASE_TEXT_DELETE
public static final String EXPLICIT_URI_MAPPING
This is an example of an explicit URI mapping. If this field
was absent, then the implicit URI mapping for this
Action would be used.
See RequestParserImpl for more information
on implicit and explicit URI mapping.
public static final RequestParameter BASE_TEXT_ID
public static final RequestParameter BASE_TEXT
public static final RequestParameter IS_CODER_KEY
| Constructor Detail |
|---|
public BaseTextAction(RequestParser aRequestParser)
| Method Detail |
|---|
protected void doList()
throws DAOException
BaseText items.
doList in class ActionTemplateListAndEditDAOExceptionprotected void validateUserInput()
BaseText.
validateUserInput in class ActionTemplateListAndEdit
protected void attemptAdd()
throws DAOException
BaseText.
attemptAdd in class ActionTemplateListAndEditDAOException
protected void attemptFetchForChange()
throws DAOException
BaseText in preparation for editing it.
attemptFetchForChange in class ActionTemplateListAndEditDAOException
protected void attemptChange()
throws DAOException
BaseText.
attemptChange in class ActionTemplateListAndEditDAOException
protected void attemptDelete()
throws DAOException
BaseText.
attemptDelete in class ActionTemplateListAndEditDAOException
|
Fish & Chips Club 4.7.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||