com.cinecolombia.cinecolombia.control.ejb.handlers
Class PermisosEspecialesEjbHandler

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

public class PermisosEspecialesEjbHandler
extends StateHandlerSupport

permisosEspeciales usecase: handler of user requests in the Services layer

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

Field Summary
private  Debug debug
           
 
Fields inherited from class com.cinecolombia.cinecolombia.control.ejb.handlers.StateHandlerSupport
machine
 
Constructor Summary
PermisosEspecialesEjbHandler()
           
 
Method Summary
 java.lang.Object perform(CinecolombiaEvent event)
          principal method that process a user request invoking Model EJBs methods
private  java.util.ArrayList performGET_PERMISOS_ESPECIALES(PermisosEspecialesEvent ev)
          auxiliary method that processes an PermisosEspecialesEvent with GET_PERMISOS_ESPECIALES action.
private  java.util.ArrayList performLIST(PermisosEspecialesEvent ev)
          auxiliary method that processes an PermisosEspecialesEvent with LIST action.
private  java.util.ArrayList performUPDATE_PERMISOS_ESPECIALES(PermisosEspecialesEvent ev)
          auxiliary method that processes an PermisosEspecialesEvent with UPDATE_PERMISOS_ESPECIALES 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.cinecolombia.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

PermisosEspecialesEjbHandler

public PermisosEspecialesEjbHandler()
Method Detail

perform

public java.lang.Object perform(CinecolombiaEvent event)
                         throws CinecolombiaEventException
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:
CinecolombiaEventException

performLIST

private java.util.ArrayList performLIST(PermisosEspecialesEvent ev)
                                 throws CinecolombiaEventException
auxiliary method that processes an PermisosEspecialesEvent with LIST action.

Parameters:
ev - event of permisosEspeciales usecase
Returns:
answer to request
Throws:
CinecolombiaEventException

performGET_PERMISOS_ESPECIALES

private java.util.ArrayList performGET_PERMISOS_ESPECIALES(PermisosEspecialesEvent ev)
                                                    throws CinecolombiaEventException
auxiliary method that processes an PermisosEspecialesEvent with GET_PERMISOS_ESPECIALES action.

Parameters:
ev - event of permisosEspeciales usecase
Returns:
answer to request
Throws:
CinecolombiaEventException

performUPDATE_PERMISOS_ESPECIALES

private java.util.ArrayList performUPDATE_PERMISOS_ESPECIALES(PermisosEspecialesEvent ev)
                                                       throws CinecolombiaEventException
auxiliary method that processes an PermisosEspecialesEvent with UPDATE_PERMISOS_ESPECIALES action.

Parameters:
ev - event of permisosEspeciales usecase
Returns:
answer to request
Throws:
CinecolombiaEventException

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