com.cinecolombia.interfases.control.event
Class ComplejosEvent

java.lang.Object
  |
  +--com.cinecolombia.interfases.control.event.InterfasesEventSupport
        |
        +--com.cinecolombia.interfases.control.event.ComplejosEvent
All Implemented Interfaces:
InterfasesEvent, java.io.Serializable

public class ComplejosEvent
extends InterfasesEventSupport

complejos usecase: This event is sent from the web tier to the EJB Controller to notify the EJB Controller that an action needs to be made in the model data.

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

Field Summary
private  int actionType
          action requested by the user
static int ACTUALIZAR_SALA
          action constant of ACTUALIZAR_SALA
static int ACTUALIZAR_UBICACION
          action constant of ACTUALIZAR_UBICACION
static int BUSCAR_UBICACIONES
          action constant of BUSCAR_UBICACIONES
private  java.lang.String companyId
          current company
private  Debug debug
           
static int DETALLE_SALAS
          action constant of DETALLE_SALAS
static int DETALLE_UBICACIONES
          action constant of DETALLE_UBICACIONES
static int DETALLES_COMPLEJO
          action constant of DETALLES_COMPLEJO
static int ELIMINAR_COMPLEJO
          action constant of ELIMINAR_COMPLEJO
static int ELIMINAR_SALA
          action constant of ELIMINAR_SALA
static int ELIMINAR_UBICACION
          action constant of ELIMINAR_UBICACION
static int GUARDAR_COMPLEJO
          action constant of GUARDAR_COMPLEJO
static int LIST
          action constant of LIST
static int NUEVA_SALA
          action constant of NUEVA_SALA
static int NUEVA_UBICACION
          action constant of NUEVA_UBICACION
static int NUEVO_COMPLEJO
          action constant of NUEVO_COMPLEJO
static int REGRESAR_DE_AYUDA_TIPOS_PRECIO_COMPLEJO
          action constant of REGRESAR_DE_AYUDA_TIPOS_PRECIO_COMPLEJO
static int REGRESAR_DE_AYUDA_UBICACIONES_COMPLEJO
          action constant of REGRESAR_DE_AYUDA_UBICACIONES_COMPLEJO
static int REGRESAR_DE_INCONSISTENCIAS_COMPLEJO
          action constant of REGRESAR_DE_INCONSISTENCIAS_COMPLEJO
private  java.lang.Long userId
          current user
private  Value value
          value for sending to the ejbs
static int VER_TIPOS_PRECIO
          action constant of VER_TIPOS_PRECIO
static int VER_UBICACIONES
          action constant of VER_UBICACIONES
 
Constructor Summary
ComplejosEvent(int actionType, java.lang.String companyId, java.lang.Long userId, Value value)
          constructor: initializes attributes
 
Method Summary
 int getActionType()
          get method for actionType
 java.lang.String getCompanyId()
          get method for companyId
 java.lang.String getEventName()
          JNDI name for the event: Controller EJB registers this env variable
 java.lang.Long getUserId()
          get method for userId
 Value getValue()
          get method for value
 java.lang.String toString()
          String representation of the event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LIST

public static final int LIST
action constant of LIST

See Also:
Constant Field Values

NUEVO_COMPLEJO

public static final int NUEVO_COMPLEJO
action constant of NUEVO_COMPLEJO

See Also:
Constant Field Values

DETALLES_COMPLEJO

public static final int DETALLES_COMPLEJO
action constant of DETALLES_COMPLEJO

See Also:
Constant Field Values

ELIMINAR_COMPLEJO

public static final int ELIMINAR_COMPLEJO
action constant of ELIMINAR_COMPLEJO

See Also:
Constant Field Values

GUARDAR_COMPLEJO

public static final int GUARDAR_COMPLEJO
action constant of GUARDAR_COMPLEJO

See Also:
Constant Field Values

DETALLE_SALAS

public static final int DETALLE_SALAS
action constant of DETALLE_SALAS

See Also:
Constant Field Values

DETALLE_UBICACIONES

public static final int DETALLE_UBICACIONES
action constant of DETALLE_UBICACIONES

See Also:
Constant Field Values

NUEVA_SALA

public static final int NUEVA_SALA
action constant of NUEVA_SALA

See Also:
Constant Field Values

ACTUALIZAR_SALA

public static final int ACTUALIZAR_SALA
action constant of ACTUALIZAR_SALA

See Also:
Constant Field Values

ELIMINAR_SALA

public static final int ELIMINAR_SALA
action constant of ELIMINAR_SALA

See Also:
Constant Field Values

BUSCAR_UBICACIONES

public static final int BUSCAR_UBICACIONES
action constant of BUSCAR_UBICACIONES

See Also:
Constant Field Values

NUEVA_UBICACION

public static final int NUEVA_UBICACION
action constant of NUEVA_UBICACION

See Also:
Constant Field Values

ACTUALIZAR_UBICACION

public static final int ACTUALIZAR_UBICACION
action constant of ACTUALIZAR_UBICACION

See Also:
Constant Field Values

ELIMINAR_UBICACION

public static final int ELIMINAR_UBICACION
action constant of ELIMINAR_UBICACION

See Also:
Constant Field Values

VER_UBICACIONES

public static final int VER_UBICACIONES
action constant of VER_UBICACIONES

See Also:
Constant Field Values

VER_TIPOS_PRECIO

public static final int VER_TIPOS_PRECIO
action constant of VER_TIPOS_PRECIO

See Also:
Constant Field Values

REGRESAR_DE_AYUDA_UBICACIONES_COMPLEJO

public static final int REGRESAR_DE_AYUDA_UBICACIONES_COMPLEJO
action constant of REGRESAR_DE_AYUDA_UBICACIONES_COMPLEJO

See Also:
Constant Field Values

REGRESAR_DE_AYUDA_TIPOS_PRECIO_COMPLEJO

public static final int REGRESAR_DE_AYUDA_TIPOS_PRECIO_COMPLEJO
action constant of REGRESAR_DE_AYUDA_TIPOS_PRECIO_COMPLEJO

See Also:
Constant Field Values

REGRESAR_DE_INCONSISTENCIAS_COMPLEJO

public static final int REGRESAR_DE_INCONSISTENCIAS_COMPLEJO
action constant of REGRESAR_DE_INCONSISTENCIAS_COMPLEJO

See Also:
Constant Field Values

actionType

private int actionType
action requested by the user


companyId

private java.lang.String companyId
current company


userId

private java.lang.Long userId
current user


value

private Value value
value for sending to the ejbs


debug

private Debug debug
Constructor Detail

ComplejosEvent

public ComplejosEvent(int actionType,
                      java.lang.String companyId,
                      java.lang.Long userId,
                      Value value)
constructor: initializes attributes

Parameters:
actionType - action requested by the user
companyId - current company
userId - current user
value - value for sending to the ejbs
Method Detail

getActionType

public int getActionType()
get method for actionType

Returns:
The actionType value

getCompanyId

public java.lang.String getCompanyId()
get method for companyId

Returns:
The companyId value

getUserId

public java.lang.Long getUserId()
get method for userId

Returns:
The userId value

getValue

public Value getValue()
get method for value

Returns:
The value

toString

public java.lang.String toString()
String representation of the event

Overrides:
toString in class java.lang.Object
Returns:
text of event

getEventName

public java.lang.String getEventName()
JNDI name for the event: Controller EJB registers this env variable

Specified by:
getEventName in interface InterfasesEvent
Overrides:
getEventName in class InterfasesEventSupport
Returns:
The eventName value