com.cinecolombia.cinecolombia.control.web.handlers
Class ManejoPerfilesRequestHandler

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

public class ManejoPerfilesRequestHandler
extends RequestHandlerSupport

manejoPerfiles usecase: handler of user requests in the Application layer

Author:
CincoSOFT
Created:
Abril 2003

Field Summary
(package private)  java.lang.String companyId
           
(package private)  javax.servlet.ServletContext context
           
private  Debug debug
           
private  boolean gotoDB
           
(package private)  java.lang.Long userId
           
 
Constructor Summary
ManejoPerfilesRequestHandler()
           
 
Method Summary
private  CinecolombiaEvent createEventForDELETE_PERFIL(javax.servlet.http.HttpServletRequest request)
          method for instantiating a ManejoPerfilesEvent demanding a service for action DELETE_PERFIL
private  CinecolombiaEvent createEventForGET_PERFIL(javax.servlet.http.HttpServletRequest request)
          method for instantiating a ManejoPerfilesEvent demanding a service for action GET_PERFIL
private  CinecolombiaEvent createEventForLIST(javax.servlet.http.HttpServletRequest request)
          method for instantiating a ManejoPerfilesEvent demanding a service for action LIST
private  CinecolombiaEvent createEventForSAVE_PERFIL(javax.servlet.http.HttpServletRequest request)
          method for instantiating a ManejoPerfilesEvent demanding a service for action ADD_PERFIL
 CinecolombiaEvent processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.ServletContext context)
          principal method that process a user request instantiating a ManejoPerfilesEvent with the user request data
 
Methods inherited from class com.cinecolombia.cinecolombia.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
Constructor Detail

ManejoPerfilesRequestHandler

public ManejoPerfilesRequestHandler()
Method Detail

processRequest

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

Parameters:
request - of MainServlet
context - of MainServlet
Returns:
ManejoPerfilesEvent with the user request data (subclass of CinecolombiaEvent)
Throws:
CinecolombiaEventException

createEventForLIST

private CinecolombiaEvent createEventForLIST(javax.servlet.http.HttpServletRequest request)
                                      throws CinecolombiaEventException
method for instantiating a ManejoPerfilesEvent demanding a service for action LIST

Parameters:
request - of MainServlet
Returns:
ManejoPerfilesEvent with the user request data (subclass of CinecolombiaEvent)
Throws:
CinecolombiaEventException

createEventForGET_PERFIL

private CinecolombiaEvent createEventForGET_PERFIL(javax.servlet.http.HttpServletRequest request)
                                            throws CinecolombiaEventException
method for instantiating a ManejoPerfilesEvent demanding a service for action GET_PERFIL

Parameters:
request - of MainServlet
Returns:
ManejoPerfilesEvent with the user request data (subclass of CinecolombiaEvent)
Throws:
CinecolombiaEventException

createEventForDELETE_PERFIL

private CinecolombiaEvent createEventForDELETE_PERFIL(javax.servlet.http.HttpServletRequest request)
                                               throws CinecolombiaEventException
method for instantiating a ManejoPerfilesEvent demanding a service for action DELETE_PERFIL

Parameters:
request - of MainServlet
Returns:
ManejoPerfilesEvent with the user request data (subclass of CinecolombiaEvent)
Throws:
CinecolombiaEventException

createEventForSAVE_PERFIL

private CinecolombiaEvent createEventForSAVE_PERFIL(javax.servlet.http.HttpServletRequest request)
                                             throws CinecolombiaEventException
method for instantiating a ManejoPerfilesEvent demanding a service for action ADD_PERFIL

Parameters:
request - of MainServlet
Returns:
ManejoPerfilesEvent with the user request data (subclass of CinecolombiaEvent)
Throws:
CinecolombiaEventException