com.trackstudio.action
Class AttachmentEditAction

java.lang.Object
  extended by DispatchAction
      extended by com.trackstudio.action.TSDispatchAction
          extended by com.trackstudio.action.AttachmentEditAction

public class AttachmentEditAction
extends TSDispatchAction


Constructor Summary
AttachmentEditAction()
           
 
Method Summary
 ActionForward attachToTask(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 ActionForward attachToUser(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 ActionForward createTaskAttachment(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 ActionForward createUserAttachment(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
static void destroyForm(UploadForm tf)
           
 ActionForward page(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 ActionForward save(ActionMapping mapping, ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
static java.util.ArrayList<AttachmentArray> uploadForm(ActionForm form)
           
static java.util.ArrayList<java.lang.String> uploadTaskForm(TaskForm form, SessionContext sc, java.lang.String id)
           
static void uploadUserForm(UserForm form, SessionContext sc, java.lang.String id)
           
 
Methods inherited from class com.trackstudio.action.TSDispatchAction
createCookie, execute, getMethodName, removeCookie, selectTaskTab, selectUserTab
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentEditAction

public AttachmentEditAction()
Method Detail

page

public ActionForward page(ActionMapping mapping,
                          ActionForm form,
                          javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws java.lang.Exception
Throws:
java.lang.Exception

attachToTask

public ActionForward attachToTask(ActionMapping mapping,
                                  ActionForm form,
                                  javax.servlet.http.HttpServletRequest request,
                                  javax.servlet.http.HttpServletResponse response)
                           throws java.lang.Exception
Throws:
java.lang.Exception

attachToUser

public ActionForward attachToUser(ActionMapping mapping,
                                  ActionForm form,
                                  javax.servlet.http.HttpServletRequest request,
                                  javax.servlet.http.HttpServletResponse response)
                           throws java.lang.Exception
Throws:
java.lang.Exception

createTaskAttachment

public ActionForward createTaskAttachment(ActionMapping mapping,
                                          ActionForm form,
                                          javax.servlet.http.HttpServletRequest request,
                                          javax.servlet.http.HttpServletResponse response)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

createUserAttachment

public ActionForward createUserAttachment(ActionMapping mapping,
                                          ActionForm form,
                                          javax.servlet.http.HttpServletRequest request,
                                          javax.servlet.http.HttpServletResponse response)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

uploadTaskForm

public static java.util.ArrayList<java.lang.String> uploadTaskForm(TaskForm form,
                                                                   SessionContext sc,
                                                                   java.lang.String id)
                                                            throws GranException
Throws:
GranException

uploadUserForm

public static void uploadUserForm(UserForm form,
                                  SessionContext sc,
                                  java.lang.String id)
                           throws java.io.IOException,
                                  GranException
Throws:
java.io.IOException
GranException

uploadForm

public static java.util.ArrayList<AttachmentArray> uploadForm(ActionForm form)
                                                       throws GranException
Throws:
GranException

destroyForm

public static void destroyForm(UploadForm tf)

save

public ActionForward save(ActionMapping mapping,
                          ActionForm form,
                          javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2002-2009 TrackStudio, Ltd. All Rights Reserved.