|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.core.misc.EventQueueEntry
Event queue entry class represents a unit of work for the event handler thread.
NB: Please prefer the JavaBean accessor and mutator methods instead using of the data members directly. The implementation is subject to change.
EventHandler| Field Summary | |
ByteArrayDataSource[] |
attachments
The array collection of virtual byte array data source (attachments) |
String |
dataContext
dbName to use for locating the user to notify |
boolean |
isNotice
Is this entry a "notice" or an "event" entry? |
String |
subject
Subject is only used for notice entries |
boolean |
success
Success status of the event |
String |
theEvent
Event is only used for Event entries |
String |
theMessage
Event text body message used for sending electronic mail |
int |
uid
User id to send notice to - only for notices again |
| Constructor Summary | |
EventQueueEntry(String newEvent,
String newMessage,
boolean newSuccess)
A class that represents a queue entry for the Event handler thread |
|
| Method Summary | |
ByteArrayDataSource[] |
getAttachments()
Gets the Attachments |
String |
getDataContext()
Gets the DataContext |
String |
getSubject()
Gets the Subject |
String |
getTheEvent()
Gets the TheEvent |
String |
getTheMessage()
Gets the TheMessage |
int |
getUid()
Gets the Uid |
boolean |
isNotice()
Gets the Notice |
boolean |
isSuccess()
Gets the Success |
void |
setAttachments(ByteArrayDataSource[] attachments)
Sets the Attachments |
void |
setDataContext(String dataContext)
Sets the DataContext |
void |
setNotice(boolean notice)
Sets the Notice |
void |
setSubject(String subject)
Sets the Subject |
void |
setSuccess(boolean success)
Sets the Success |
void |
setTheEvent(String theEvent)
Sets the TheEvent |
void |
setTheMessage(String theMessage)
Sets the TheMessage |
void |
setUid(int uid)
Sets the Uid |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public boolean isNotice
public String dataContext
public String subject
public String theEvent
public String theMessage
public boolean success
public int uid
public ByteArrayDataSource[] attachments
| Constructor Detail |
public EventQueueEntry(String newEvent,
String newMessage,
boolean newSuccess)
newEvent - the event namenewMessage - the messagenewSuccess - the success flag| Method Detail |
public boolean isNotice()
setNotice(boolean)public void setNotice(boolean notice)
notice - the new value for NoticeisNotice()public String getDataContext()
setDataContext(String)public void setDataContext(String dataContext)
dataContext - the new value for DataContextgetDataContext()public String getSubject()
setSubject(String)public void setSubject(String subject)
subject - the new value for SubjectgetSubject()public String getTheEvent()
setTheEvent(String)public void setTheEvent(String theEvent)
theEvent - the new value for TheEventgetTheEvent()public String getTheMessage()
setTheMessage(String)public void setTheMessage(String theMessage)
theMessage - the new value for TheMessagegetTheMessage()public boolean isSuccess()
setSuccess(boolean)public void setSuccess(boolean success)
success - the new value for SuccessisSuccess()public int getUid()
setUid(int)public void setUid(int uid)
uid - the new value for UidgetUid()public ByteArrayDataSource[] getAttachments()
setAttachments(ByteArrayDataSource[])public void setAttachments(ByteArrayDataSource[] attachments)
attachments - the new value for AttachmentsgetAttachments()
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||