|
||||||||||
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.ImagesRepositoryEvent
letter Images 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 Images model data.
Field Summary | |
private int |
actionType
action requested by the user |
private java.lang.String |
companyId
current company |
private java.lang.String |
description
name of image to store |
private byte[] |
image
image to store |
private java.util.ArrayList |
items
items for changing the images list of the current company |
static int |
LIST_IMAGES_NAMES
action constant of getting the images list of the current company |
static int |
PRE_STORE_IMAGE
action constant of getting the images list of the current company |
static int |
STORE_IMAGE
action constant of getting the images list of the current company |
static int |
UPDATE_IMAGES_NAMES
action constant of getting the images list of the current company |
private java.lang.Long |
userId
current user |
Constructor Summary | |
ImagesRepositoryEvent(int actionType,
java.lang.String companyId,
java.lang.Long userId,
java.lang.String description,
byte[] image,
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 |
getDescription()
get method for description |
java.lang.String |
getEventName()
Gets the eventName attribute of the ImagesRepositoryEvent object |
byte[] |
getImage()
get method for image |
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_IMAGES_NAMES
public static final int UPDATE_IMAGES_NAMES
public static final int PRE_STORE_IMAGE
public static final int STORE_IMAGE
private int actionType
private java.lang.String companyId
private java.lang.Long userId
private java.lang.String description
private byte[] image
private java.util.ArrayList items
Constructor Detail |
public ImagesRepositoryEvent(int actionType, java.lang.String companyId, java.lang.Long userId, java.lang.String description, byte[] image, java.util.ArrayList items)
actionType
- action requested by the usercompanyId
- current companyuserId
- current useritems
- for changing the images list of the current companydescription
- name of new imageimage
- bytes of imageMethod Detail |
public int getActionType()
public java.lang.String getCompanyId()
public java.lang.Long getUserId()
public java.lang.String getDescription()
public byte[] getImage()
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 |