com.cinecolombia.interfases.control.event
Class PeliculasExhibicionEvent

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

public class PeliculasExhibicionEvent
extends InterfasesEventSupport

PeliculasExhibicion 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_PELICULAS_EXHIB
          action constant of ACTUALIZAR_PELICULAS_EXHIB
static int BUSCAR_PELICULA_EXHIB
          action constant of BUSCAR_PELICULA_EXHIB
private  java.lang.String companyId
          current company
private  Debug debug
           
static int LIST
          action constant of LIST
static int UPDATE
          action constant of UPDATE
private  java.lang.Long userId
          current user
private  Value value
          value for sending to the ejbs
 
Constructor Summary
PeliculasExhibicionEvent(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

BUSCAR_PELICULA_EXHIB

public static final int BUSCAR_PELICULA_EXHIB
action constant of BUSCAR_PELICULA_EXHIB

See Also:
Constant Field Values

ACTUALIZAR_PELICULAS_EXHIB

public static final int ACTUALIZAR_PELICULAS_EXHIB
action constant of ACTUALIZAR_PELICULAS_EXHIB

See Also:
Constant Field Values

UPDATE

public static final int UPDATE
action constant of UPDATE

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

PeliculasExhibicionEvent

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