|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.instantbank.lettertemplate.control.event.LetterTemplateEventSupport | +--com.instantbank.lettertemplate.control.event.ComponentsEvent
Letter Components 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 letter Components model data.
Field Summary | |
private int |
actionType
action requested by the user |
private java.lang.String |
companyId
current company |
private java.util.ArrayList |
items
items for changing the components list of the current company |
static int |
LIST_COMPONENTS
action constant of getting the components list of the current company |
static int |
UPDATE_COMPONENTS
action constant of changing the components list of the current company |
private java.lang.Long |
userId
current user |
Constructor Summary | |
ComponentsEvent(int actionType,
java.lang.String companyId,
java.lang.Long userId,
java.util.ArrayList items)
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: LetterTemplateController EJB registers this env variable |
java.util.ArrayList |
getItems()
get method for items |
java.lang.Long |
getUserId()
get method for userId |
java.lang.String |
toString()
String representation of the event |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final int LIST_COMPONENTS
public static final int UPDATE_COMPONENTS
private int actionType
private java.lang.String companyId
private java.lang.Long userId
private java.util.ArrayList items
Constructor Detail |
public ComponentsEvent(int actionType, java.lang.String companyId, java.lang.Long userId, java.util.ArrayList items)
actionType
- action requested by the usercompanyId
- current companyuserId
- current useritems
- for changing the components list of the current
companyMethod Detail |
public int getActionType()
public java.lang.String getCompanyId()
public java.lang.Long getUserId()
public java.util.ArrayList getItems()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getEventName()
getEventName
in class LetterTemplateEventSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |