gov.nih.nci.caarray.ui.arraydesign
Class ArrayDesignFileProcessAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.DispatchAction
          extended by gov.nih.nci.caarray.ui.core.BaseDispatchAction
              extended by gov.nih.nci.caarray.ui.arraydesign.ArrayDesignFileProcessAction

public class ArrayDesignFileProcessAction
extends BaseDispatchAction

This action class is responsible for starting file parsing service, forwarding to a designated page upon user's request and cleaning up uploaded files when user requests a stop action. This class exposes only one method to the outside world through Struts configuration file for reason: only one URL is passed to the upload applet.


Field Summary
 
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, log, messages, methods, types
 
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
ArrayDesignFileProcessAction()
           
 
Method Summary
 boolean loginRequired()
           
 org.apache.struts.action.ActionForward processFile(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This method deals with the requests from the upload applet as a notify operation.
 
Methods inherited from class gov.nih.nci.caarray.ui.core.BaseDispatchAction
execute
 
Methods inherited from class org.apache.struts.actions.DispatchAction
dispatchMethod, getMethod, unspecified
 
Methods inherited from class org.apache.struts.action.Action
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
 

Constructor Detail

ArrayDesignFileProcessAction

public ArrayDesignFileProcessAction()
Method Detail

loginRequired

public boolean loginRequired()
Specified by:
loginRequired in class BaseDispatchAction

processFile

public org.apache.struts.action.ActionForward processFile(org.apache.struts.action.ActionMapping mapping,
                                                          org.apache.struts.action.ActionForm form,
                                                          javax.servlet.http.HttpServletRequest request,
                                                          javax.servlet.http.HttpServletResponse response)
                                                   throws AccessDeniedException,
                                                          GeneralException,
                                                          java.lang.Exception
This method deals with the requests from the upload applet as a notify operation. Different notify operations pass in a unique mode token to direct what part of the method will be used.

Throws:
AccessDeniedException
GeneralException
java.lang.Exception