|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
|---|
static final JFWLogger logger
JFWLogger.
static final PropertiesManager properties
static final java.lang.String ERROR_KEY
static final java.lang.String OUTPUT_DATA_KEY
static final java.lang.String SERVICE_NAME_KEY
static final java.lang.String REQUEST_KEY
static final java.lang.String RESPONSE_KEY
static final java.lang.String AUTH_MSG_KEY
static final java.lang.String AUTH_USER_NOT_IN_DB
AUTH_MSG_KEY. This value is used when the username/password
parameters exist in request but not belong at a registered user.
static final java.lang.String USER_DATA_IN_REQUEST_KEY
UserData when is set as
an attribute in request.
static final java.lang.String USER_PROFILE_IN_REQUEST_KEY
UserProfile when is set
as an attribute in request.
static final java.lang.String OPERATION_RESULT_KEY
static final java.lang.String OPERATION_RESULT_OK_KEY
OPERATION_RESULT_KEY.
static final java.lang.String OPERATION_RESULT_KO_KEY
OPERATION_RESULT_KEY.
static final java.lang.String OPERATION_TYPE_KEY
static final java.lang.String OPERATION_TYPE_ADD_KEY
OPERATION_TYPE_KEY.
static final java.lang.String OPERATION_TYPE_UPDATE_KEY
OPERATION_TYPE_KEY.
static final java.lang.String OPERATION_TYPE_DELETE_KEY
OPERATION_TYPE_KEY.
static final java.lang.String LOCALE_LANGUAGE_KEY
static final java.lang.String[] excludeParams
RequestUtils.setParametersList(javax.servlet.http.HttpServletRequest, java.util.HashMap, java.lang.String[])).
In this attribute are saved the names of parameters to exclude.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||