lcanals.tc.web.event.plan
Class NewPlanEvent

java.lang.Object
  |
  +--lcanals.tc.web.event.AbstractEventHandler
        |
        +--lcanals.tc.web.event.plan.NewPlanEvent
All Implemented Interfaces:
EventHandler

public class NewPlanEvent
extends AbstractEventHandler

Creates a new plan without tasks and stores it into the user's session. Accepted parameters in the request are:

Set objects into user session are:

Author:
www.lfcanals.es.org

Fields inherited from interface lcanals.tc.web.event.EventHandler
DEFAULT_EVENT, ERROR_EVENT
 
Constructor Summary
NewPlanEvent()
           
 
Method Summary
 void forward(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Forward to nextPage parameter into the request
 void process(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request)
          Stores a new plan into the session.
 
Methods inherited from class lcanals.tc.web.event.AbstractEventHandler
dispatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewPlanEvent

public NewPlanEvent()
Method Detail

process

public void process(javax.servlet.ServletContext context,
                    javax.servlet.http.HttpServletRequest request)
             throws EventHandlerException
Stores a new plan into the session. Takes from the request the parameter description If no session is present for this request, a EventHandlerException is thrown.
Following copied from interface: lcanals.tc.web.event.EventHandler
Throws:
EventHandlerException - when is no possible to process the request (usually due to crack intends)

forward

public void forward(javax.servlet.ServletContext context,
                    javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws java.io.IOException,
                    javax.servlet.ServletException
Forward to nextPage parameter into the request


Luis F. Canals. Supported by www.sourceforge.net