public class CrudAction extends ExtendedMethodAction
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ALTERNATE_FORWARDFIELD |
protected static String |
CANCEL |
protected static String |
CONFIRM |
protected static String |
CREATE |
protected static String |
DEFAULT_FORWARDFIELD |
protected static String |
DELETE |
protected static String |
DELETE_CONFIRM |
protected static String |
EDIT |
protected static String |
FAILURE |
protected static String |
GENERAL_ERROR_KEY |
protected static String |
LIST |
protected static String |
LISTFW |
protected static String |
NOTFOUND_ERROR_KEY |
protected static String |
SAVE |
protected static String |
SAVE_CONFIRM |
protected static String |
SUCCESS |
protected static String |
TOKEN_ERROR_KEY |
protected static String |
VALIDATION_ERROR_KEY |
parameterMethodMaptypes| Constructor and Description |
|---|
CrudAction() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.struts.action.ActionForward |
cancel(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
cancelled(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
confirm(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
create(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
createLists(org.apache.struts.validator.DynaValidatorForm form,
javax.servlet.http.HttpServletRequest request) |
org.apache.struts.action.ActionForward |
delete(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
deleteConfirm(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
edit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected String |
getAction(org.apache.struts.validator.DynaValidatorForm dynaForm) |
protected Map |
getActionMethodPropertiesMap() |
protected String |
getAltAction(org.apache.struts.validator.DynaValidatorForm dynaForm) |
protected org.apache.struts.action.ActionForward |
getUnspecifiedDefaultForward(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request) |
org.apache.struts.action.ActionForward |
list(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
prepareMethod(org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
String def,
String alt) |
org.apache.struts.action.ActionForward |
save(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
saveConfirm(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
unspecified(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
addAlternateMessage, addAlternateMessage, addDefaultMessage, addDefaultMessage, getActionMethodPropertiesClass, getAlternateForward, getDefaultForward, getUnspecifiedAlternateForward, redispatch, redispatchFormFieldaddAttributeMessage, addAttributeMessage, addMessage, addMessage, addMessage, addMessage, addMessage, getMethodProperties, getParameterMethodMapgetMethodParametergetDispatchedMethodName, getDispatchedParameter, getMethodPathIndex, parseParameter, setDispatchMethodcancelled, getMethod, unspecifieddispatchMethod, getMethodName, getParameteraddErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletprotected static final String GENERAL_ERROR_KEY
protected static final String TOKEN_ERROR_KEY
protected static final String NOTFOUND_ERROR_KEY
protected static final String VALIDATION_ERROR_KEY
protected static final String SUCCESS
protected static final String FAILURE
protected static final String LISTFW
protected static final String DEFAULT_FORWARDFIELD
protected static final String ALTERNATE_FORWARDFIELD
protected static final String CONFIRM
protected static final String DELETE_CONFIRM
protected static final String SAVE_CONFIRM
protected static final String DELETE
protected static final String CREATE
protected static final String SAVE
protected static final String EDIT
protected static final String CANCEL
protected static final String LIST
protected Map getActionMethodPropertiesMap()
getActionMethodPropertiesMap in class MethodPropertiesActionprotected void createLists(org.apache.struts.validator.DynaValidatorForm form,
javax.servlet.http.HttpServletRequest request)
throws Exception
Exceptionprotected org.apache.struts.action.ActionForward getUnspecifiedDefaultForward(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
getUnspecifiedDefaultForward in class ExtendedMethodActionprotected void prepareMethod(org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
String def,
String alt)
throws Exception
Exceptionpublic org.apache.struts.action.ActionForward unspecified(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic org.apache.struts.action.ActionForward cancel(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic org.apache.struts.action.ActionForward deleteConfirm(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic org.apache.struts.action.ActionForward saveConfirm(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic org.apache.struts.action.ActionForward edit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic org.apache.struts.action.ActionForward list(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic org.apache.struts.action.ActionForward save(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic org.apache.struts.action.ActionForward delete(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic org.apache.struts.action.ActionForward create(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic org.apache.struts.action.ActionForward confirm(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic org.apache.struts.action.ActionForward cancelled(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionprotected String getAction(org.apache.struts.validator.DynaValidatorForm dynaForm) throws Exception
Exceptionprotected String getAltAction(org.apache.struts.validator.DynaValidatorForm dynaForm) throws Exception
Exceptionpublic org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
execute in class ParameterLookupDispatchActionExceptionCopyright © 2018 B3Partners B.V.. All rights reserved.