com.nurelm.nucontent.controller
Class ImageAction
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.DispatchAction
org.apache.struts.actions.MappingDispatchAction
com.nurelm.nucontent.controller.ImageAction
- public final class ImageAction
- extends org.apache.struts.actions.MappingDispatchAction
| Fields inherited from class org.apache.struts.actions.DispatchAction |
clazz, messages, methods, types |
| Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
|
Method Summary |
org.apache.struts.action.ActionForward |
removeImage(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it). |
org.apache.struts.action.ActionForward |
saveImage(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it). |
org.apache.struts.action.ActionForward |
showAddImage(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it). |
org.apache.struts.action.ActionForward |
showEditImage(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it). |
org.apache.struts.action.ActionForward |
showRemoveImage(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it). |
org.apache.struts.action.ActionForward |
updateImage(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it). |
| Methods inherited from class org.apache.struts.actions.MappingDispatchAction |
execute, getMethodName, unspecified |
| Methods inherited from class org.apache.struts.actions.DispatchAction |
cancelled, dispatchMethod, getMethod |
| Methods inherited from class org.apache.struts.action.Action |
execute, generateToken, getDataSource, getDataSource, getLocale, 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 |
ImageAction
public ImageAction()
showAddImage
public org.apache.struts.action.ActionForward showAddImage(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it).
Return an
ActionForward instance describing where and how
control should be forwarded, or null if the response has
already been completed.
- Parameters:
mapping - The ActionMapping used to select this instanceform - The optional ActionForm bean for this request (if any)request - The HTTP request we are processingresponse - The HTTP response we are creating
- Returns:
-
- Throws:
java.lang.Exception - if the application business logic throws an exception
saveImage
public org.apache.struts.action.ActionForward saveImage(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it).
Return an
ActionForward instance describing where and how
control should be forwarded, or null if the response has
already been completed.
- Parameters:
mapping - The ActionMapping used to select this instanceform - The optional ActionForm bean for this request (if any)request - The HTTP request we are processingresponse - The HTTP response we are creating
- Returns:
-
- Throws:
java.lang.Exception - if the application business logic throws an exception
showEditImage
public org.apache.struts.action.ActionForward showEditImage(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it).
Return an
ActionForward instance describing where and how
control should be forwarded, or null if the response has
already been completed.
- Parameters:
mapping - The ActionMapping used to select this instanceform - The optional ActionForm bean for this request (if any)request - The HTTP request we are processingresponse - The HTTP response we are creating
- Returns:
-
- Throws:
java.lang.Exception - if the application business logic throws an exception
updateImage
public org.apache.struts.action.ActionForward updateImage(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it).
Return an
ActionForward instance describing where and how
control should be forwarded, or null if the response has
already been completed.
- Parameters:
mapping - The ActionMapping used to select this instanceform - The optional ActionForm bean for this request (if any)request - The HTTP request we are processingresponse - The HTTP response we are creating
- Returns:
-
- Throws:
java.lang.Exception - if the application business logic throws an exception
showRemoveImage
public org.apache.struts.action.ActionForward showRemoveImage(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it).
Return an
ActionForward instance describing where and how
control should be forwarded, or null if the response has
already been completed.
- Parameters:
mapping - The ActionMapping used to select this instanceform - The optional ActionForm bean for this request (if any)request - The HTTP request we are processingresponse - The HTTP response we are creating
- Returns:
-
- Throws:
java.lang.Exception - if the application business logic throws an exception
removeImage
public org.apache.struts.action.ActionForward removeImage(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it).
Return an
ActionForward instance describing where and how
control should be forwarded, or null if the response has
already been completed.
- Parameters:
mapping - The ActionMapping used to select this instanceform - The optional ActionForm bean for this request (if any)request - The HTTP request we are processingresponse - The HTTP response we are creating
- Returns:
-
- Throws:
java.lang.Exception - if the application business logic throws an exception