|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.cinecolombia.cinecolombia.control.event.CinecolombiaEventSupport
|
+--com.cinecolombia.cinecolombia.control.event.ParametrosGlobalesEvent
parametrosGlobales 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.
| 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 |
LIST
action constant of GET_PARAMETROS |
static int |
SAVE_PARAMETROS
action constant of SAVE_PARAMETROS |
private java.lang.Long |
userId
current user |
private ParametrosGlobalesValue |
value
value for sending to the ejbs |
| Constructor Summary | |
ParametrosGlobalesEvent(int actionType,
java.lang.String companyId,
java.lang.Long userId,
ParametrosGlobalesValue 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 |
ParametrosGlobalesValue |
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 |
public static final int LIST
public static final int SAVE_PARAMETROS
private int actionType
private java.lang.String companyId
private java.lang.Long userId
private ParametrosGlobalesValue value
private Debug debug
| Constructor Detail |
public ParametrosGlobalesEvent(int actionType,
java.lang.String companyId,
java.lang.Long userId,
ParametrosGlobalesValue value)
actionType - action requested by the usercompanyId - current companyuserId - current uservalue - value for sending to the ejbs| Method Detail |
public int getActionType()
public java.lang.String getCompanyId()
public java.lang.Long getUserId()
public ParametrosGlobalesValue getValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getEventName()
getEventName in interface CinecolombiaEventgetEventName in class CinecolombiaEventSupport
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||