com.cinecolombia.cinecolombia.control.event
Class PermisosEspecialesEvent

java.lang.Object
  |
  +--com.cinecolombia.cinecolombia.control.event.CinecolombiaEventSupport
        |
        +--com.cinecolombia.cinecolombia.control.event.PermisosEspecialesEvent
All Implemented Interfaces:
CinecolombiaEvent, java.io.Serializable

public class PermisosEspecialesEvent
extends CinecolombiaEventSupport

permisosEspeciales 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
private  Debug debug
          The ubiquitous debugging object.
static int GET_PERMISOS_ESPECIALES
          action constant of GET_PERMISOS_ESPECIALES
static int LIST
          action constant of LIST
static int UPDATE_PERMISOS_ESPECIALES
          action constant of UPDATE_PERMISOS_ESPECIALES
private  java.lang.Long userId
          current user
private  PermisosEspecialesValue value
          value for sending to the ejbs
 
Constructor Summary
PermisosEspecialesEvent(int actionType, java.lang.String companyId, java.lang.Long userId, PermisosEspecialesValue 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
 PermisosEspecialesValue 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

GET_PERMISOS_ESPECIALES

public static final int GET_PERMISOS_ESPECIALES
action constant of GET_PERMISOS_ESPECIALES

See Also:
Constant Field Values

UPDATE_PERMISOS_ESPECIALES

public static final int UPDATE_PERMISOS_ESPECIALES
action constant of UPDATE_PERMISOS_ESPECIALES

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 PermisosEspecialesValue value
value for sending to the ejbs


debug

private Debug debug
The ubiquitous debugging object.

Constructor Detail

PermisosEspecialesEvent

public PermisosEspecialesEvent(int actionType,
                               java.lang.String companyId,
                               java.lang.Long userId,
                               PermisosEspecialesValue 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 PermisosEspecialesValue 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 CinecolombiaEvent
Overrides:
getEventName in class CinecolombiaEventSupport
Returns:
The eventName value