WEB4J Development Tools 4.10.0.0

hirondelle.web4jtools.codegenerator.feature
Class FeatureAction

Object
  extended by ActionImpl
      extended by ActionTemplateShowAndApply
          extended by hirondelle.web4jtools.codegenerator.feature.FeatureAction
All Implemented Interfaces:
Action

public final class FeatureAction
extends ActionTemplateShowAndApply

Edit your feature's basic info.


Field Summary
static RequestParameter APPLY_OPERATION
           
static String FEATURE_KEY
          Key for storing Feature object in session scope.
static RequestParameter FEATURE_NAME
           
static RequestParameter PACKAGE_NAME
           
static RequestParameter SHOW_OPERATION
           
static RequestParameter UI_STYLE
           
 
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
FeatureAction(RequestParser aRequestParser)
          Constructor.
 
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 ActionTemplateShowAndApply
execute
 
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
 

Field Detail

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
Constructor Detail

FeatureAction

public FeatureAction(RequestParser aRequestParser)
Constructor.

Method Detail

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

WEB4J Development Tools 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26