com.cinecolombia.cinecolombia.control.ejb.handlers
Class ManejoPerfilesEjbHandler

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

public class ManejoPerfilesEjbHandler
extends StateHandlerSupport

manejoPerfiles usecase: handler of user requests in the Services layer

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

Field Summary
private  Debug debug
           
 
Fields inherited from class com.cinecolombia.cinecolombia.control.ejb.handlers.StateHandlerSupport
machine
 
Constructor Summary
ManejoPerfilesEjbHandler()
           
 
Method Summary
 java.lang.Object perform(CinecolombiaEvent event)
          principal method that process a user request invoking Model EJBs methods
private  java.util.ArrayList performADD_PERFIL(ManejoPerfilesEvent ev)
          auxiliary method that processes an ManejoPerfilesEvent with ADD_PERFIL action.
private  java.util.ArrayList performDELETE_PERFIL(ManejoPerfilesEvent ev)
          auxiliary method that processes an ManejoPerfilesEvent with DELETE_PERFIL action.
private  java.util.ArrayList performGET_PERFIL(ManejoPerfilesEvent ev)
          auxiliary method that processes an ManejoPerfilesEvent with GET_PERFIL action.
private  java.util.ArrayList performLIST(ManejoPerfilesEvent ev)
          auxiliary method that processes an ManejoPerfilesEvent 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.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

ManejoPerfilesEjbHandler

public ManejoPerfilesEjbHandler()
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(ManejoPerfilesEvent ev)
                                 throws CinecolombiaEventException
auxiliary method that processes an ManejoPerfilesEvent with LIST action.

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

performGET_PERFIL

private java.util.ArrayList performGET_PERFIL(ManejoPerfilesEvent ev)
                                       throws CinecolombiaEventException
auxiliary method that processes an ManejoPerfilesEvent with GET_PERFIL action.

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

performDELETE_PERFIL

private java.util.ArrayList performDELETE_PERFIL(ManejoPerfilesEvent ev)
                                          throws CinecolombiaEventException
auxiliary method that processes an ManejoPerfilesEvent with DELETE_PERFIL action.

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

performADD_PERFIL

private java.util.ArrayList performADD_PERFIL(ManejoPerfilesEvent ev)
                                       throws CinecolombiaEventException
auxiliary method that processes an ManejoPerfilesEvent with ADD_PERFIL action.

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