|
||||||||||
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.BatchReviewEvent
Letter Batch Review 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 review model data.
Field Summary | |
private int |
actionType
action requested by the user |
private LetterBatchReviewModel |
batchReview
letter review |
private java.lang.String |
companyId
current company |
private java.lang.String |
date
date |
static int |
LIST_BATCH_REVIEW
action constant of getting the letters list of the current company |
static int |
UPDATE_BATCH_REVIEW
|
private java.lang.Long |
userId
current user |
Constructor Summary | |
BatchReviewEvent(int actionType,
java.lang.String companyId,
java.lang.Long userId,
LetterBatchReviewModel batchReview,
java.lang.String date)
constructor: initializes attributes |
Method Summary | |
java.lang.String |
date()
get method for date |
int |
getActionType()
get method for actionType |
LetterBatchReviewModel |
getBatchReview()
get method for batchReview |
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_REVIEW
public static final int UPDATE_BATCH_REVIEW
private int actionType
private java.lang.String companyId
private java.lang.Long userId
private LetterBatchReviewModel batchReview
private java.lang.String date
Constructor Detail |
public BatchReviewEvent(int actionType, java.lang.String companyId, java.lang.Long userId, LetterBatchReviewModel batchReview, java.lang.String date)
actionType
- action requested by the usercompanyId
- current companyuserId
- current userbatchReview
- letter reviewdate
- Description of the ParameterMethod Detail |
public int getActionType()
public java.lang.String getCompanyId()
public java.lang.Long getUserId()
public LetterBatchReviewModel getBatchReview()
public java.lang.String date()
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 |