|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.Action
org.strutsme.wishlist.presentation.struts.base.BaseAction
public class BaseAction
Base action for the wishlist.
| Field Summary | |
|---|---|
protected static java.lang.String |
HAS_FAILED
Forward, if the action has failed. |
protected static java.lang.String |
HAS_SUCCEEDED
Forward, if the action has done the work successfull. |
protected static java.lang.String |
IS_CANCELLED
Forward, if the action is cancelled. |
protected static java.lang.String |
USER_IN_SESSION
Session-attribute for user. |
protected static java.lang.String |
USER_IS_NOT_AUTHORIZED
Forward, if the user is not logged in. |
| Fields inherited from class org.apache.struts.action.Action |
|---|
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY |
| Constructor Summary | |
|---|---|
BaseAction()
|
|
| Method Summary | |
|---|---|
protected boolean |
checkUser(javax.servlet.http.HttpServletRequest request)
Checks, if a user is logged in. |
protected UserDto |
getUser(javax.servlet.http.HttpServletRequest request)
Returns the user from session. |
| Methods inherited from class org.apache.struts.action.Action |
|---|
execute, execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String USER_IN_SESSION
protected static final java.lang.String USER_IS_NOT_AUTHORIZED
protected static final java.lang.String HAS_SUCCEEDED
protected static final java.lang.String IS_CANCELLED
protected static final java.lang.String HAS_FAILED
| Constructor Detail |
|---|
public BaseAction()
| Method Detail |
|---|
protected final boolean checkUser(javax.servlet.http.HttpServletRequest request)
request - the HttpRequest
protected final UserDto getUser(javax.servlet.http.HttpServletRequest request)
request - the httprequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||