|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.json.app.J_EmailOptions
public class J_EmailOptions
The interface of an object used to configure options used when sending eMails.
| Constructor Summary | |
|---|---|
J_EmailOptions()
|
|
| 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()
|
J_NameValue[] |
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(J_NameValue[] _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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public J_EmailOptions()
| Method Detail |
|---|
public java.lang.String getTemplateName()
public void setTemplateName(java.lang.String _templateName)
_templateName - The templateName to set.public java.lang.String getCountryCode()
public void setCountryCode(java.lang.String _countryCode)
_countryCode - The countryCode to set.public J_NameValue[] getCustomAttrs()
public void setCustomAttrs(J_NameValue[] _customAttrs)
_customAttrs - The customAttrs to set.public void setAttachInvoice(boolean _attachInvoice)
_attachInvoice - set to true if the invoice should be attached to the email.public boolean isAttachInvoice()
public 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.public boolean isCreateInvoice()
public java.lang.String getFullAttachmentFilename()
public void setFullAttachmentFilename(java.lang.String _fullAttachmentFilename)
_fullAttachmentFilename - the fullAttachmentFilename to setpublic java.lang.String getFriendlyAttachmentName()
public void setFriendlyAttachmentName(java.lang.String _friendlyAttachmentName)
_friendlyAttachmentName - the friendlyAttachmentName to setpublic boolean isDeleteAttachmentAfterSend()
true, the attachment is deleted after being sent. The default value
is false.
public void setDeleteAttachmentAfterSend(boolean _deleteAttachmentAfterSend)
true, the attachment is deleted after being sent. The default value
is false.
_deleteAttachmentAfterSend - the deleteAttachmentAfterSend to setpublic java.lang.String getCustom1()
public void setCustom1(java.lang.String _custom1)
_custom1 - the custom1 to setpublic java.lang.String getCustom2()
public void setCustom2(java.lang.String _custom2)
_custom2 - the custom2 to setpublic java.lang.String getCustom3()
public void setCustom3(java.lang.String _custom3)
_custom3 - the custom3 to setpublic int getCustomInt1()
public void setCustomInt1(int _customInt1)
_customInt1 - the customInt1 to setpublic int getCustomInt2()
public 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 | ||||||||