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:
nextPage
, with the name of the next URL after processing
this event.
description
, with a text describing the plan.
Set objects into user session are:
plan
with the plan recently created plan object
- Author:
- www.lfcanals.es.org
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewPlanEvent
public NewPlanEvent()
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