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

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

public class PeliculasExhibicionEjbHandler
extends StateHandlerSupport

peliculasExhibicion 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
PeliculasExhibicionEjbHandler()
           
 
Method Summary
 java.lang.Object perform(InterfasesEvent event)
          principal method that process a user request invoking Model EJBs methods
private  java.util.List performACTUALIZAR_PELICULAS_EXHIB(PeliculasExhibicionEvent ev)
          Auxiliary method that processes an PeliculasExhibicionEvent with ACTUALIZAR_PELICULAS_EXHIB action.
private  java.util.List performBUSCAR_PELICULA_EXHIB(PeliculasExhibicionEvent ev)
          Auxiliary method that processes an PeliculasExhibicionEvent with BUSCAR_PELICULA_EXHIB action.
private  java.util.List performLIST(PeliculasExhibicionEvent ev)
          Auxiliary method that processes an PeliculasExhibicionEvent with LIST 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

PeliculasExhibicionEjbHandler

public PeliculasExhibicionEjbHandler()
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(PeliculasExhibicionEvent ev)
                            throws InterfasesEventException
Auxiliary method that processes an PeliculasExhibicionEvent with LIST action.

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

performBUSCAR_PELICULA_EXHIB

private java.util.List performBUSCAR_PELICULA_EXHIB(PeliculasExhibicionEvent ev)
                                             throws InterfasesEventException
Auxiliary method that processes an PeliculasExhibicionEvent with BUSCAR_PELICULA_EXHIB action.

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

performACTUALIZAR_PELICULAS_EXHIB

private java.util.List performACTUALIZAR_PELICULAS_EXHIB(PeliculasExhibicionEvent ev)
                                                  throws InterfasesEventException
Auxiliary method that processes an PeliculasExhibicionEvent with ACTUALIZAR_PELICULAS_EXHIB action.

Parameters:
ev - event of peliculasExhibicion 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