hirondelle.web4jtools.codegenerator.feature
Class FeatureAction
Object
ActionImpl
ActionTemplateShowAndApply
hirondelle.web4jtools.codegenerator.feature.FeatureAction
- All Implemented Interfaces:
- Action
public final class FeatureAction
- extends ActionTemplateShowAndApply
Edit your feature's basic info.
Method Summary |
protected void |
apply()
Save the Feature Model Object input by the user. |
protected void |
show()
If no feature name has been input, then shows a blank form. |
protected void |
validateUserInput()
Check user input can build a Feature 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 |
FEATURE_NAME
public static final RequestParameter FEATURE_NAME
UI_STYLE
public static final RequestParameter UI_STYLE
PACKAGE_NAME
public static final RequestParameter PACKAGE_NAME
SHOW_OPERATION
public static final RequestParameter SHOW_OPERATION
APPLY_OPERATION
public static final RequestParameter APPLY_OPERATION
FEATURE_KEY
public static final String FEATURE_KEY
- Key for storing Feature object in session scope.
- See Also:
- Constant Field Values
FeatureAction
public FeatureAction(RequestParser aRequestParser)
- Constructor.
show
protected void show()
throws AppException
- If no feature name has been input, then shows a blank form.
- Specified by:
show
in class ActionTemplateShowAndApply
- Throws:
AppException
validateUserInput
protected void validateUserInput()
throws AppException
- Check user input can build a
Feature
object.
- Specified by:
validateUserInput
in class ActionTemplateShowAndApply
- Throws:
AppException
apply
protected void apply()
throws AppException
- Save the
Feature
Model Object input by the user.
- Specified by:
apply
in class ActionTemplateShowAndApply
- Throws:
AppException
Copyright Hirondelle Systems - Generated 2013Oct19.12.26