DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.ndr.action
Class FileUploadAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.dlese.dpc.schemedit.ndr.action.FileUploadAction

public class FileUploadAction
extends org.apache.struts.action.Action

Struts Action to control the uploading of primary content into an NDR instance. Accepts request parameter "forwardPath", which (if present) will cause successful uploads to forward to that path (context-sensitive). This enables this action to be used in a variety of situations, such as "inputHelpers" that can specify a "forwardPath" and thus control the overall behaviour of the upload process.

Author:
Jonathan Ostwald

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
FileUploadAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, HttpServletRequest request, HttpServletResponse response)
          NOT YET DOCUMENTED
static void setDebug(boolean isDebugOutput)
          Sets the debug attribute of the NDRAction class
 
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, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUploadAction

public FileUploadAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      HttpServletRequest request,
                                                      HttpServletResponse response)
                                               throws Exception
NOT YET DOCUMENTED

Overrides:
execute in class org.apache.struts.action.Action
Parameters:
mapping - the ActionMapping
form - the ActionForm
request - the Request
response - the Response
Returns:
NOT YET DOCUMENTED
Throws:
Exception - NOT YET DOCUMENTED

setDebug

public static void setDebug(boolean isDebugOutput)
Sets the debug attribute of the NDRAction class

Parameters:
isDebugOutput - The new debug value

DLESE Tools
v1.6.0