| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
atg.service.event.GenericEvent
atg.userprofiling.email.TemplateEmailEvent
public class TemplateEmailEvent
An event that is used to notify the TemplateEmailListener objects of sent/unsent email messages.
TemplateEmailListener, 
Serialized Form| Field Summary | |
|---|---|
| static int[] | ALL_TYPESAn array of all of the event types for this event | 
| static java.lang.String | CLASS_VERSIONClass version string | 
| static int | TYPE_EMAIL_NOT_SENTEvent type corresponding to a failure to send | 
| static int | TYPE_EMAIL_SENTEvent type corresponding to a successful email send | 
| Fields inherited from class atg.service.event.GenericEvent | 
|---|
| mDate, mTime, mTimestamp, mType, TYPE_VANILLA | 
| Fields inherited from class java.util.EventObject | 
|---|
| source | 
| Constructor Summary | |
|---|---|
| TemplateEmailEvent(java.lang.Object pSource)Constructs a new TemplateEmailEvent. | |
| TemplateEmailEvent(java.lang.Object pSource,
                   int pEventType)Constructs a new TemplateEmailEvent of the given type. | |
| Method Summary | |
|---|---|
|  TemplateEmailInfo | getEmailInfo()Returns the TemplateEmailInfo describing the email message. | 
|  java.lang.String | getErrorMessage()Returns the error message generated while trying to send the email, or null if the email was sent successfully. | 
|  javax.mail.Message | getMessage()Returns the Message constructed to send the email. | 
|  java.lang.Object | getRecipient()Returns the recipient profile object. | 
|  void | setEmailInfo(TemplateEmailInfo pEmailInfo)Sets the TemplateEmailInfo describing the email message. | 
|  void | setErrorMessage(java.lang.String pErrorMessage)Sets the error message generated while trying to send the email. | 
|  void | setMessage(javax.mail.Message pMessage)Sets the Message constructed to send the email. | 
|  void | setRecipient(java.lang.Object pRecipient)Sets the recipient profile object. | 
| Methods inherited from class atg.service.event.GenericEvent | 
|---|
| getAllTypes, getSource, getTime, getTimeAsDate, getTimeAsTimestamp, getType | 
| Methods inherited from class java.util.EventObject | 
|---|
| toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static java.lang.String CLASS_VERSION
public static final int TYPE_EMAIL_SENT
public static final int TYPE_EMAIL_NOT_SENT
public static int[] ALL_TYPES
| Constructor Detail | 
|---|
public TemplateEmailEvent(java.lang.Object pSource)
public TemplateEmailEvent(java.lang.Object pSource,
                          int pEventType)
| Method Detail | 
|---|
public TemplateEmailInfo getEmailInfo()
public void setEmailInfo(TemplateEmailInfo pEmailInfo)
public java.lang.Object getRecipient()
public void setRecipient(java.lang.Object pRecipient)
public javax.mail.Message getMessage()
public void setMessage(javax.mail.Message pMessage)
public java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String pErrorMessage)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||