|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EmailOptionsIf
The interface of an object used to configure options used when sending eMails.
| Method Summary | |
|---|---|
java.lang.String |
getCountryCode()
The two letter country code used to determine the correct template to use. |
java.lang.String |
getCustom1()
|
java.lang.String |
getCustom2()
|
java.lang.String |
getCustom3()
|
NameValueIf[] |
getCustomAttrs()
An array of name value pairs used to pass custom information to the Velocity engine. |
int |
getCustomInt1()
|
int |
getCustomInt2()
|
java.lang.String |
getFriendlyAttachmentName()
The friendly filename of an attachment that can be viewed from the eMail. |
java.lang.String |
getFullAttachmentFilename()
The complete filename of an attachment. |
java.lang.String |
getTemplateName()
The name of the template used to send the mail. |
boolean |
isAttachInvoice()
Set to true to attach the invoice to the email. |
boolean |
isCreateInvoice()
Set to true to create the invoice (if it isn't already present) to attach to the email. |
boolean |
isDeleteAttachmentAfterSend()
When set to true, the attachment is deleted after being sent. |
void |
setAttachInvoice(boolean attachInvoice)
Set to true to attach the invoice to the email. |
void |
setCountryCode(java.lang.String countryCode)
The two letter country code used to determine the correct template to use. |
void |
setCreateInvoice(boolean createInvoice)
Set to true to create the invoice (if it isn't already present) to attach to the email. |
void |
setCustom1(java.lang.String custom1)
|
void |
setCustom2(java.lang.String custom2)
|
void |
setCustom3(java.lang.String custom3)
|
void |
setCustomAttrs(NameValueIf[] customAttrs)
An array of name value pairs used to pass custom information to the Velocity engine. |
void |
setCustomInt1(int customInt1)
|
void |
setCustomInt2(int customInt2)
|
void |
setDeleteAttachmentAfterSend(boolean deleteAttachmentAfterSend)
When set to true, the attachment is deleted after being sent. |
void |
setFriendlyAttachmentName(java.lang.String friendlyAttachmentName)
The friendly filename of an attachment that can be viewed from the eMail. |
void |
setFullAttachmentFilename(java.lang.String fullAttachmentFilename)
The complete filename of an attachment. |
void |
setTemplateName(java.lang.String templateName)
The name of the template used to send the mail. |
| Method Detail |
|---|
java.lang.String getTemplateName()
void setTemplateName(java.lang.String templateName)
templateName - The templateName to set.java.lang.String getCountryCode()
void setCountryCode(java.lang.String countryCode)
countryCode - The countryCode to set.NameValueIf[] getCustomAttrs()
void setCustomAttrs(NameValueIf[] customAttrs)
customAttrs - The customAttrs to set.void setAttachInvoice(boolean attachInvoice)
attachInvoice - set to true if the invoice should be attached to the email.boolean isAttachInvoice()
void setCreateInvoice(boolean createInvoice)
createInvoice - set to true if the invoice should be created (if it isn't already present) for
attaching to the email.boolean isCreateInvoice()
java.lang.String getFullAttachmentFilename()
void setFullAttachmentFilename(java.lang.String fullAttachmentFilename)
fullAttachmentFilename - the fullAttachmentFilename to setjava.lang.String getFriendlyAttachmentName()
void setFriendlyAttachmentName(java.lang.String friendlyAttachmentName)
friendlyAttachmentName - the friendlyAttachmentName to setboolean isDeleteAttachmentAfterSend()
true, the attachment is deleted after being sent. The default value
is false.
void setDeleteAttachmentAfterSend(boolean deleteAttachmentAfterSend)
true, the attachment is deleted after being sent. The default value
is false.
deleteAttachmentAfterSend - the deleteAttachmentAfterSend to setjava.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1 - the custom1 to setjava.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2 - the custom2 to setjava.lang.String getCustom3()
void setCustom3(java.lang.String custom3)
custom3 - the custom3 to setint getCustomInt1()
void setCustomInt1(int customInt1)
customInt1 - the customInt1 to setint getCustomInt2()
void setCustomInt2(int customInt2)
customInt2 - the customInt2 to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||