com.cinecolombia.interfases.control.event
Class IngresarDatosComplejoEvent

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

public class IngresarDatosComplejoEvent
extends InterfasesEventSupport

ingresarDatosComplejo 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:
Junio 2003

Field Summary
private  int actionType
          action requested by the user
private  java.lang.String companyId
          current company
static int CONFIRMAR
          Action constant for TERMINAR
private  Debug debug
          The ubiquitous debugging object.
static int LIST
          action constant of LIST
static int MODIFICAR_BOLETAS
          action constant of MODIFICAR_BOLETAS
static int SWITCH_INGRESO
          action constant of SWITCH_INGRESO
static int TERMINAR
          Action constant for TERMINAR
private  java.lang.Long userId
          current user
private  Value value
          value for sending to the ejbs
 
Constructor Summary
IngresarDatosComplejoEvent(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

SWITCH_INGRESO

public static final int SWITCH_INGRESO
action constant of SWITCH_INGRESO

See Also:
Constant Field Values

MODIFICAR_BOLETAS

public static final int MODIFICAR_BOLETAS
action constant of MODIFICAR_BOLETAS

See Also:
Constant Field Values

TERMINAR

public static final int TERMINAR
Action constant for TERMINAR

See Also:
Constant Field Values

CONFIRMAR

public static final int CONFIRMAR
Action constant for TERMINAR

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
The ubiquitous debugging object.

Constructor Detail

IngresarDatosComplejoEvent

public IngresarDatosComplejoEvent(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