|
||||||||||
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.BatchStartEvent
Letter Batch Start 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 batch start model data.
Field Summary | |
private int |
actionType
action requested by the user |
private LetterBatchStartModel |
batchStart
letter batch |
private java.lang.String |
companyId
current company |
static int |
LIST_BATCH_START
action constant of getting the letters list of the current company |
static int |
UPDATE_BATCH_START
|
private java.lang.Long |
userId
current user |
Constructor Summary | |
BatchStartEvent(int actionType,
java.lang.String companyId,
java.lang.Long userId,
LetterBatchStartModel batchStart)
constructor: initializes attributes |
Method Summary | |
int |
getActionType()
get method for actionType |
LetterBatchStartModel |
getBatchStart()
get method for batchStart |
java.lang.String |
getCompanyId()
get method for companyId |
java.lang.String |
getEventName()
JNDI name for the event: LetterTemplateController EJB registers this env variable |
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_BATCH_START
public static final int UPDATE_BATCH_START
private int actionType
private java.lang.String companyId
private java.lang.Long userId
private LetterBatchStartModel batchStart
Constructor Detail |
public BatchStartEvent(int actionType, java.lang.String companyId, java.lang.Long userId, LetterBatchStartModel batchStart)
actionType
- action requested by the usercompanyId
- current companyuserId
- current userbatchStart
- letter batchMethod Detail |
public int getActionType()
public java.lang.String getCompanyId()
public java.lang.Long getUserId()
public LetterBatchStartModel getBatchStart()
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 |