|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectejel.EventArgs
ejel.EmailAccountNeededEventArgs
public class EmailAccountNeededEventArgs
Encapsulate all the params appropriate for the EventID.EID_EMAIL_ACCOUNT_NEEDED which occurs when all the email accounts are disabled and the sender engine needs a new email account to continue the mass mailing operation. If the listener does not provide a new email account or activate a used one, the sender engine will abort the operation or continue raising the event.
| Constructor Summary | |
|---|---|
EmailAccountNeededEventArgs()
EmailAccountNeededEventArgs default constructor |
|
| Method Summary | |
|---|---|
boolean |
getAbortStatus()
Gets the current abort status |
EmailAccount |
getNewEmailAccount()
Gets the EmailAccount object if set or null |
void |
setAbortStatus(boolean abort)
Tells the sender engine to abort or not the current mass mailing operation |
void |
setNewEmailAccount(EmailAccount account)
Sets a new EmailAccount object that will be used to continue sending the email message to recipients. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmailAccountNeededEventArgs()
| Method Detail |
|---|
public void setAbortStatus(boolean abort)
abort - Set to true to abort the current mass mailing operationpublic boolean getAbortStatus()
public void setNewEmailAccount(EmailAccount account)
throws java.lang.IllegalArgumentException
account - A valid EmailAccount object
java.lang.IllegalArgumentExceptionpublic EmailAccount getNewEmailAccount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||