net.sf.oness.inventory.webapp.controller.action
Class ModelAction
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.DispatchAction
org.apache.struts.actions.LookupDispatchAction
net.sf.oness.common.webapp.controller.action.AutoDispatchAction
net.sf.oness.inventory.webapp.controller.action.ModelAction
- public class ModelAction
- extends net.sf.oness.common.webapp.controller.action.AutoDispatchAction
Model actions
- Version:
- $Revision: 1.8 $
- Author:
- Carlos Sanchez
Fields inherited from class org.apache.struts.actions.LookupDispatchAction |
localeMap |
Fields inherited from class org.apache.struts.actions.DispatchAction |
clazz, log, messages, methods, types |
Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
Method Summary |
org.apache.struts.action.ActionForward |
create(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Create a model. |
org.apache.struts.action.ActionForward |
delete(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Delete a model. |
org.apache.struts.action.ActionForward |
edit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Edit a model. |
org.apache.struts.action.ActionForward |
find(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Find a model. |
org.apache.struts.action.ActionForward |
show(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Show a model. |
org.apache.struts.action.ActionForward |
update(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Update a model. |
Methods inherited from class net.sf.oness.common.webapp.controller.action.AutoDispatchAction |
execute, getBean, getDynaProperty, getKeyMethodMap |
Methods inherited from class org.apache.struts.actions.LookupDispatchAction |
getLookupMapName, getMethodName |
Methods inherited from class org.apache.struts.actions.DispatchAction |
cancelled, dispatchMethod, getMethod, unspecified |
Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelAction
public ModelAction()
create
public org.apache.struts.action.ActionForward create(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Create a model.
- Parameters:
mapping
- actionForm
- request
- response
-
- Returns:
- ActionForward success
- Throws:
java.lang.Exception
update
public org.apache.struts.action.ActionForward update(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Update a model.
- Parameters:
mapping
- actionForm
- request
- response
-
- Returns:
- ActionForward success
- Throws:
java.lang.Exception
find
public org.apache.struts.action.ActionForward find(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Find a model.
- Parameters:
mapping
- actionForm
- request
- response
-
- Returns:
- ActionForward success
- Throws:
java.lang.Exception
show
public org.apache.struts.action.ActionForward show(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Show a model.
- Parameters:
mapping
- actionForm
- request
- response
-
- Returns:
- ActionForward success
- Throws:
java.lang.Exception
edit
public org.apache.struts.action.ActionForward edit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Edit a model.
- Parameters:
mapping
- actionForm
- request
- response
-
- Returns:
- ActionForward success
- Throws:
java.lang.Exception
delete
public org.apache.struts.action.ActionForward delete(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm actionForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Delete a model.
- Parameters:
mapping
- actionForm
- request
- response
-
- Returns:
- ActionForward success
- Throws:
java.lang.Exception
Copyright © 2003-2005 ONess Project. All Rights Reserved.