|
||||||||||
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.PreviewPrintEvent
Preview/Print Letter 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 Preview Print model data.
Field Summary | |
private int |
actionType
action requested by the user |
private java.lang.String |
companyId
current company |
static int |
LIST_TEMPLATES_PREVIEW
action constant of getting the templates list of the current company |
private java.lang.Long |
userId
current user |
Constructor Summary | |
PreviewPrintEvent(int actionType,
java.lang.String companyId,
java.lang.Long userId)
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.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_TEMPLATES_PREVIEW
private int actionType
private java.lang.String companyId
private java.lang.Long userId
Constructor Detail |
public PreviewPrintEvent(int actionType, java.lang.String companyId, java.lang.Long userId)
actionType
- action requested by the usercompanyId
- current companyuserId
- current userMethod Detail |
public int getActionType()
public java.lang.String getCompanyId()
public java.lang.Long getUserId()
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 |