com.cinecolombia.interfases.control.ejb.handlers
Class ComplejosEjbHandler

java.lang.Object
  |
  +--com.cinecolombia.interfases.control.ejb.handlers.StateHandlerSupport
        |
        +--com.cinecolombia.interfases.control.ejb.handlers.ComplejosEjbHandler
All Implemented Interfaces:
java.io.Serializable, StateHandler

public class ComplejosEjbHandler
extends StateHandlerSupport

complejos usecase: handler of user requests in the Services layer

Author:
CincoSOFT
See Also:
Serialized Form
Created:
Julio 2003

Field Summary
private  Debug debug
           
 
Fields inherited from class com.cinecolombia.interfases.control.ejb.handlers.StateHandlerSupport
machine
 
Constructor Summary
ComplejosEjbHandler()
           
 
Method Summary
 java.lang.Object perform(InterfasesEvent event)
          principal method that process a user request invoking Model EJBs methods
private  java.util.List performACTUALIZAR_SALA(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with ACTUALIZAR_SALA action.
private  java.util.List performACTUALIZAR_UBICACION(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with ACTUALIZAR_UBICACION action.
private  java.util.List performBUSCAR_UBICACIONES(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with BUSCAR_UBICACIONES action.
private  java.util.List performDETALLE_SALAS(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with DETALLE_SALAS action.
private  java.util.List performDETALLE_UBICACIONES(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with DETALLE_UBICACIONES action.
private  java.util.List performDETALLES_COMPLEJO(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with DETALLES_COMPLEJO action.
private  java.util.List performELIMINAR_COMPLEJO(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with ELIMINAR_COMPLEJO action.
private  java.util.List performELIMINAR_SALA(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with ELIMINAR_SALA action.
private  java.util.List performELIMINAR_UBICACION(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with ELIMINAR_UBICACION action.
private  java.util.List performGUARDAR_COMPLEJO(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with GUARDAR_COMPLEJO action.
private  java.util.List performLIST(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with LIST action.
private  java.util.List performNUEVA_SALA(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with NUEVA_SALA action.
private  java.util.List performNUEVA_UBICACION(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with NUEVA_UBICACION action.
private  java.util.List performNUEVO_COMPLEJO(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with NUEVO_COMPLEJO action.
private  java.util.List performREGRESAR_DE_AYUDA_TIPOS_PRECIO_COMPLEJO(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with REGRESAR_DE_AYUDA_TIPOS_PRECIO_COMPLEJO action.
private  java.util.List performREGRESAR_DE_AYUDA_UBICACIONES_COMPLEJO(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with REGRESAR_DE_AYUDA_UBICACIONES_COMPLEJO action.
private  java.util.List performREGRESAR_DE_INCONSISTENCIAS_COMPLEJO(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with REGRESAR_DE_INCONSISTENCIAS_COMPLEJO action.
private  java.util.List performVER_TIPOS_PRECIO(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with VER_TIPOS_PRECIO action.
private  java.util.List performVER_UBICACIONES(ComplejosEvent ev)
          Auxiliary method that processes an ComplejosEvent with VER_UBICACIONES action.
private  java.lang.String processProblem(java.lang.Exception e, java.lang.String messageEx)
          auxiliary method that processes a problem
 
Methods inherited from class com.cinecolombia.interfases.control.ejb.handlers.StateHandlerSupport
doEnd, doStart, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

private Debug debug
Constructor Detail

ComplejosEjbHandler

public ComplejosEjbHandler()
Method Detail

perform

public java.lang.Object perform(InterfasesEvent event)
                         throws InterfasesEventException
principal method that process a user request invoking Model EJBs methods

Specified by:
perform in interface StateHandler
Overrides:
perform in class StateHandlerSupport
Parameters:
event - request data
Returns:
answer to request
Throws:
InterfasesEventException

performLIST

private java.util.List performLIST(ComplejosEvent ev)
                            throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with LIST action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performNUEVO_COMPLEJO

private java.util.List performNUEVO_COMPLEJO(ComplejosEvent ev)
                                      throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with NUEVO_COMPLEJO action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performDETALLES_COMPLEJO

private java.util.List performDETALLES_COMPLEJO(ComplejosEvent ev)
                                         throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with DETALLES_COMPLEJO action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performELIMINAR_COMPLEJO

private java.util.List performELIMINAR_COMPLEJO(ComplejosEvent ev)
                                         throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with ELIMINAR_COMPLEJO action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performGUARDAR_COMPLEJO

private java.util.List performGUARDAR_COMPLEJO(ComplejosEvent ev)
                                        throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with GUARDAR_COMPLEJO action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performDETALLE_SALAS

private java.util.List performDETALLE_SALAS(ComplejosEvent ev)
                                     throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with DETALLE_SALAS action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performDETALLE_UBICACIONES

private java.util.List performDETALLE_UBICACIONES(ComplejosEvent ev)
                                           throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with DETALLE_UBICACIONES action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performNUEVA_SALA

private java.util.List performNUEVA_SALA(ComplejosEvent ev)
                                  throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with NUEVA_SALA action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performACTUALIZAR_SALA

private java.util.List performACTUALIZAR_SALA(ComplejosEvent ev)
                                       throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with ACTUALIZAR_SALA action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performELIMINAR_SALA

private java.util.List performELIMINAR_SALA(ComplejosEvent ev)
                                     throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with ELIMINAR_SALA action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performBUSCAR_UBICACIONES

private java.util.List performBUSCAR_UBICACIONES(ComplejosEvent ev)
                                          throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with BUSCAR_UBICACIONES action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performNUEVA_UBICACION

private java.util.List performNUEVA_UBICACION(ComplejosEvent ev)
                                       throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with NUEVA_UBICACION action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performACTUALIZAR_UBICACION

private java.util.List performACTUALIZAR_UBICACION(ComplejosEvent ev)
                                            throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with ACTUALIZAR_UBICACION action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performELIMINAR_UBICACION

private java.util.List performELIMINAR_UBICACION(ComplejosEvent ev)
                                          throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with ELIMINAR_UBICACION action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performVER_UBICACIONES

private java.util.List performVER_UBICACIONES(ComplejosEvent ev)
                                       throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with VER_UBICACIONES action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performVER_TIPOS_PRECIO

private java.util.List performVER_TIPOS_PRECIO(ComplejosEvent ev)
                                        throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with VER_TIPOS_PRECIO action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performREGRESAR_DE_AYUDA_UBICACIONES_COMPLEJO

private java.util.List performREGRESAR_DE_AYUDA_UBICACIONES_COMPLEJO(ComplejosEvent ev)
                                                              throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with REGRESAR_DE_AYUDA_UBICACIONES_COMPLEJO action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performREGRESAR_DE_AYUDA_TIPOS_PRECIO_COMPLEJO

private java.util.List performREGRESAR_DE_AYUDA_TIPOS_PRECIO_COMPLEJO(ComplejosEvent ev)
                                                               throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with REGRESAR_DE_AYUDA_TIPOS_PRECIO_COMPLEJO action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

performREGRESAR_DE_INCONSISTENCIAS_COMPLEJO

private java.util.List performREGRESAR_DE_INCONSISTENCIAS_COMPLEJO(ComplejosEvent ev)
                                                            throws InterfasesEventException
Auxiliary method that processes an ComplejosEvent with REGRESAR_DE_INCONSISTENCIAS_COMPLEJO action.

Parameters:
ev - event of complejos usecase
Returns:
answer to request
Throws:
InterfasesEventException

processProblem

private java.lang.String processProblem(java.lang.Exception e,
                                        java.lang.String messageEx)
auxiliary method that processes a problem

Parameters:
e - Exception
messageEx - application message associated to e
Returns:
String with the complet problem and stacktrace