Class TreeAction


  • public class TreeAction
    extends org.apache.struts.actions.DispatchAction
    Implementation of Action that modifies a tree.
    Author:
    Kim Rutherford, Mark Woodbridge
    • Field Summary

      • Fields inherited from class org.apache.struts.actions.DispatchAction

        clazz, log, methods, types
      • Fields inherited from class org.apache.struts.actions.BaseAction

        messages
      • Fields inherited from class org.apache.struts.action.Action

        servlet
    • Constructor Summary

      Constructors 
      Constructor Description
      TreeAction()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.struts.action.ActionForward collapse​(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 expand​(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 select​(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.DispatchAction

        cancelled, dispatchMethod, execute, getMethod, getMethodName, getParameter, unspecified
      • Methods inherited from class org.apache.struts.action.Action

        addErrors, addMessages, execute, generateToken, 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
    • Constructor Detail

      • TreeAction

        public TreeAction()
    • Method Detail

      • expand

        public org.apache.struts.action.ActionForward expand​(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 instance
        form - The optional ActionForm bean for this request (if any)
        request - The HTTP request we are processing
        response - The HTTP response we are creating
        Returns:
        an ActionForward object defining where control goes next
        Throws:
        java.lang.Exception - if the application business logic throws an exception
      • collapse

        public org.apache.struts.action.ActionForward collapse​(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 instance
        form - The optional ActionForm bean for this request (if any)
        request - The HTTP request we are processing
        response - The HTTP response we are creating
        Returns:
        an ActionForward object defining where control goes next
        Throws:
        java.lang.Exception - if the application business logic throws an exception
      • select

        public org.apache.struts.action.ActionForward select​(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 instance
        form - The optional ActionForm bean for this request (if any)
        request - The HTTP request we are processing
        response - The HTTP response we are creating
        Returns:
        an ActionForward object defining where control goes next
        Throws:
        java.lang.Exception - if the application business logic throws an exception