|
||||||||||
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.CategoryEvent
Letter Categories 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 Categories 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 categories list of the current company |
static int |
LIST_CATEGORIES
action constant of getting the categories list of the current company |
static int |
UPDATE_CATEGORIES
action constant of changing the categories list of the current company |
private java.lang.Long |
userId
current user |
Constructor Summary | |
CategoryEvent(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: Controller 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_CATEGORIES
public static final int UPDATE_CATEGORIES
private int actionType
private java.lang.String companyId
private java.lang.Long userId
private java.util.ArrayList items
Constructor Detail |
public CategoryEvent(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 categories 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 |