com.cinecolombia.interfases.control.web.handlers
Class ProgramacionRequestHandler

java.lang.Object
  |
  +--com.cinecolombia.interfases.control.web.handlers.RequestHandlerSupport
        |
        +--com.cinecolombia.interfases.control.web.handlers.ProgramacionRequestHandler
All Implemented Interfaces:
RequestHandler

public class ProgramacionRequestHandler
extends RequestHandlerSupport

programacion usecase: handler of user requests in the Application layer

Author:
CincoSOFT
Created:
Julio 2003

Field Summary
(package private)  java.lang.String companyId
           
(package private)  javax.servlet.ServletContext context
           
private  Debug debug
           
private  boolean gotoDB
           
private  java.text.SimpleDateFormat sdf
           
(package private)  java.lang.Long userId
           
 
Constructor Summary
ProgramacionRequestHandler()
           
 
Method Summary
private  InterfasesEvent createEventForCARGAR_PROGRAMACION(javax.servlet.http.HttpServletRequest request)
          method for instantiating a ProgramacionEvent demanding a service for action CARGAR_PROGRAMACION
private  InterfasesEvent createEventForGUARDAR_PROGRAMACION(javax.servlet.http.HttpServletRequest request)
          method for instantiating a ProgramacionEvent demanding a service for action GUARDAR_PROGRAMACION
private  InterfasesEvent createEventForLIST(javax.servlet.http.HttpServletRequest request)
          method for instantiating a ProgramacionEvent demanding a service for action LIST
 InterfasesEvent processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.ServletContext context)
          principal method that process a user request instantiating a ProgramacionEvent with the user request data
 
Methods inherited from class com.cinecolombia.interfases.control.web.handlers.RequestHandlerSupport
doEnd, doStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

private Debug debug

context

javax.servlet.ServletContext context

gotoDB

private boolean gotoDB

companyId

java.lang.String companyId

userId

java.lang.Long userId

sdf

private java.text.SimpleDateFormat sdf
Constructor Detail

ProgramacionRequestHandler

public ProgramacionRequestHandler()
Method Detail

processRequest

public InterfasesEvent processRequest(javax.servlet.http.HttpServletRequest request,
                                      javax.servlet.ServletContext context)
                               throws InterfasesEventException
principal method that process a user request instantiating a ProgramacionEvent with the user request data

Parameters:
request - of MainServlet
context - of MainServlet
Returns:
ProgramacionEvent with the user request data (subclass of InterfasesEvent)
Throws:
InterfasesEventException

createEventForLIST

private InterfasesEvent createEventForLIST(javax.servlet.http.HttpServletRequest request)
                                    throws InterfasesEventException
method for instantiating a ProgramacionEvent demanding a service for action LIST

Parameters:
request - of MainServlet
Returns:
ProgramacionEvent with the user request data (subclass of InterfasesEvent)
Throws:
InterfasesEventException

createEventForCARGAR_PROGRAMACION

private InterfasesEvent createEventForCARGAR_PROGRAMACION(javax.servlet.http.HttpServletRequest request)
                                                   throws InterfasesEventException
method for instantiating a ProgramacionEvent demanding a service for action CARGAR_PROGRAMACION

Parameters:
request - of MainServlet
Returns:
ProgramacionEvent with the user request data (subclass of InterfasesEvent)
Throws:
InterfasesEventException

createEventForGUARDAR_PROGRAMACION

private InterfasesEvent createEventForGUARDAR_PROGRAMACION(javax.servlet.http.HttpServletRequest request)
                                                    throws InterfasesEventException
method for instantiating a ProgramacionEvent demanding a service for action GUARDAR_PROGRAMACION

Parameters:
request - of MainServlet
Returns:
ProgramacionEvent with the user request data (subclass of InterfasesEvent)
Throws:
InterfasesEventException