com.jfw.web
Interface JFWCommonAction

All Known Implementing Classes:
AdministrationAction, AdministrationAction, ExecuteSQLCommandAction, ExecuteSQLCommandAction, GetLogLevelAction, GetLogLevelAction, JFWAction, JFWAction, LogViewerDispatcherAction, LogViewerDispatcherAction, MenuAction, MenuAction, ProbeMonitorAction, ProbeMonitorAction, PrototypeProjectAction, SetLogLevelAction, SetLogLevelAction, ShowConnectionPoolsAction, ShowConnectionPoolsAction, ShowDBMetadataAction, ShowDBMetadataAction, ShowDirAction, ShowDirAction, ShowFileAction, ShowFileAction, ShowLogAction, ShowLogAction, ShowSchedulerAction, ShowSchedulerAction, UpdateAction, UpdateAction, UpdateListAction, UpdateListAction

public interface JFWCommonAction

Common interface of all JFWAction classes.
In this interface are defined the common attributes.


Field Summary
static java.lang.String AUTH_MSG_KEY
          The key to use in outputData for indicate the result of authentication fase.
static java.lang.String AUTH_USER_NOT_IN_DB
          Value for AUTH_MSG_KEY.
static java.lang.String ERROR_KEY
          If an exception occur in JFWAction.execute then the stack trace is added under this key.
static java.lang.String[] excludeParams
          When authentication or authorization fail all request parameters are added in outputData and RequestUtils.setParametersList(javax.servlet.http.HttpServletRequest, java.util.HashMap, java.lang.String[])).
static java.lang.String LOCALE_LANGUAGE_KEY
          The key to use for save the language in outputData.
static JFWLogger logger
          An instance of JFWLogger.
static java.lang.String OPERATION_RESULT_KEY
          The key to use in outputData for indicate the result of action execution.
static java.lang.String OPERATION_RESULT_KO_KEY
          A possible value for OPERATION_RESULT_KEY.
static java.lang.String OPERATION_RESULT_OK_KEY
          A possible value for OPERATION_RESULT_KEY.
static java.lang.String OPERATION_TYPE_ADD_KEY
          A possible value for OPERATION_TYPE_KEY.
static java.lang.String OPERATION_TYPE_DELETE_KEY
          A possible value for OPERATION_TYPE_KEY.
static java.lang.String OPERATION_TYPE_KEY
          The key to use in outputData for indicate the type of operation executed by an action.
static java.lang.String OPERATION_TYPE_UPDATE_KEY
          A possible value for OPERATION_TYPE_KEY.
static java.lang.String OUTPUT_DATA_KEY
          The key to use for outputData when added as attribute in request.
static PropertiesManager properties
          The properties manager of file jfw.properties.
static java.lang.String REQUEST_KEY
          The key to use for save the request object in outputData.
static java.lang.String RESPONSE_KEY
          The key to use for save the response object in outputData.
static java.lang.String SERVICE_NAME_KEY
          The key to use for set in outputData the name of the requested action.
static java.lang.String USER_DATA_IN_REQUEST_KEY
          The key to use for UserData when is set as an attribute in request.
static java.lang.String USER_PROFILE_IN_REQUEST_KEY
          The key to use for UserProfile when is set as an attribute in request.
 

Field Detail

logger

static final JFWLogger logger
An instance of JFWLogger.


properties

static final PropertiesManager properties
The properties manager of file jfw.properties.


ERROR_KEY

static final java.lang.String ERROR_KEY
If an exception occur in JFWAction.execute then the stack trace is added under this key. The error key is used in HashMap outputData.

See Also:
Constant Field Values

OUTPUT_DATA_KEY

static final java.lang.String OUTPUT_DATA_KEY
The key to use for outputData when added as attribute in request.

See Also:
Constant Field Values

SERVICE_NAME_KEY

static final java.lang.String SERVICE_NAME_KEY
The key to use for set in outputData the name of the requested action.

See Also:
Constant Field Values

REQUEST_KEY

static final java.lang.String REQUEST_KEY
The key to use for save the request object in outputData.

See Also:
Constant Field Values

RESPONSE_KEY

static final java.lang.String RESPONSE_KEY
The key to use for save the response object in outputData.

See Also:
Constant Field Values

AUTH_MSG_KEY

static final java.lang.String AUTH_MSG_KEY
The key to use in outputData for indicate the result of authentication fase.

See Also:
Constant Field Values

AUTH_USER_NOT_IN_DB

static final java.lang.String AUTH_USER_NOT_IN_DB
Value for AUTH_MSG_KEY. This value is used when the username/password parameters exist in request but not belong at a registered user.

See Also:
Constant Field Values

USER_DATA_IN_REQUEST_KEY

static final java.lang.String USER_DATA_IN_REQUEST_KEY
The key to use for UserData when is set as an attribute in request.

See Also:
Constant Field Values

USER_PROFILE_IN_REQUEST_KEY

static final java.lang.String USER_PROFILE_IN_REQUEST_KEY
The key to use for UserProfile when is set as an attribute in request.

See Also:
Constant Field Values

OPERATION_RESULT_KEY

static final java.lang.String OPERATION_RESULT_KEY
The key to use in outputData for indicate the result of action execution.

See Also:
Constant Field Values

OPERATION_RESULT_OK_KEY

static final java.lang.String OPERATION_RESULT_OK_KEY
A possible value for OPERATION_RESULT_KEY.

See Also:
Constant Field Values

OPERATION_RESULT_KO_KEY

static final java.lang.String OPERATION_RESULT_KO_KEY
A possible value for OPERATION_RESULT_KEY.

See Also:
Constant Field Values

OPERATION_TYPE_KEY

static final java.lang.String OPERATION_TYPE_KEY
The key to use in outputData for indicate the type of operation executed by an action.

See Also:
Constant Field Values

OPERATION_TYPE_ADD_KEY

static final java.lang.String OPERATION_TYPE_ADD_KEY
A possible value for OPERATION_TYPE_KEY.

See Also:
Constant Field Values

OPERATION_TYPE_UPDATE_KEY

static final java.lang.String OPERATION_TYPE_UPDATE_KEY
A possible value for OPERATION_TYPE_KEY.

See Also:
Constant Field Values

OPERATION_TYPE_DELETE_KEY

static final java.lang.String OPERATION_TYPE_DELETE_KEY
A possible value for OPERATION_TYPE_KEY.

See Also:
Constant Field Values

LOCALE_LANGUAGE_KEY

static final java.lang.String LOCALE_LANGUAGE_KEY
The key to use for save the language in outputData.

See Also:
Constant Field Values

excludeParams

static final java.lang.String[] excludeParams
When authentication or authorization fail all request parameters are added in outputData and RequestUtils.setParametersList(javax.servlet.http.HttpServletRequest, java.util.HashMap, java.lang.String[])). In this attribute are saved the names of parameters to exclude.
The default values are: username, password, username_status, password_status.