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

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

public class PeliculasExhibicionRequestHandler
extends RequestHandlerSupport

PeliculasExhibicion 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  Model model
           
private  java.text.SimpleDateFormat sdf
           
(package private)  java.lang.Long userId
           
 
Constructor Summary
PeliculasExhibicionRequestHandler()
           
 
Method Summary
private  InterfasesEvent createEventForACTUALIZAR_PELICULAS_EXHIB(javax.servlet.http.HttpServletRequest request)
          Method for instantiating a PeliculasExhibicionEvent demanding a service for action ACTUALIZAR_PELICULAS_EXHIB
private  InterfasesEvent createEventForBUSCAR_PELICULA_EXHIB(javax.servlet.http.HttpServletRequest request)
          Method for instantiating a PeliculasExhibicionEvent demanding a service for action BUSCAR_PELICULA_EXHIB
private  InterfasesEvent createEventForLIST(javax.servlet.http.HttpServletRequest request)
          Method for instantiating a PeliculasExhibicionEvent 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 PeliculasExhibicionEvent 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

model

private Model model
Constructor Detail

PeliculasExhibicionRequestHandler

public PeliculasExhibicionRequestHandler()
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 PeliculasExhibicionEvent with the user request data

Parameters:
request - of MainServlet
context - of MainServlet
Returns:
PeliculasExhibicionEvent 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 PeliculasExhibicionEvent demanding a service for action LIST

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

createEventForBUSCAR_PELICULA_EXHIB

private InterfasesEvent createEventForBUSCAR_PELICULA_EXHIB(javax.servlet.http.HttpServletRequest request)
                                                     throws InterfasesEventException
Method for instantiating a PeliculasExhibicionEvent demanding a service for action BUSCAR_PELICULA_EXHIB

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

createEventForACTUALIZAR_PELICULAS_EXHIB

private InterfasesEvent createEventForACTUALIZAR_PELICULAS_EXHIB(javax.servlet.http.HttpServletRequest request)
                                                          throws InterfasesEventException
Method for instantiating a PeliculasExhibicionEvent demanding a service for action ACTUALIZAR_PELICULAS_EXHIB

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