public class AdminEmailOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
bccEmails |
private int |
contentType |
private java.lang.String |
countryCode |
private java.lang.String |
custom1 |
private java.lang.String |
custom2 |
private java.lang.String |
custom3 |
private AdminNameValue[] |
customAttrs |
private int |
customInt1 |
private int |
customInt2 |
private boolean |
deleteAttachmentAfterSend |
private java.lang.String |
friendlyAttachmentName |
private java.lang.String |
fromAddress |
private java.lang.String |
fullAttachmentFilename |
private java.lang.String |
replyToAddress |
private boolean |
sendBlindCopies |
private int |
synchronousity |
private java.lang.String |
templateName |
private boolean |
useCustomerLocale |
Constructor and Description |
---|
AdminEmailOptions() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBccEmails()
Semicolon separated list of blind copy email addresses.
|
int |
getContentType()
Get the Email Content Type.
|
java.lang.String |
getCountryCode()
If set, this is the country code that will be used to search for the eMail template.
|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
AdminNameValue[] |
getCustomAttrs() |
int |
getCustomInt1() |
int |
getCustomInt2() |
java.lang.String |
getFriendlyAttachmentName()
The friendly filename of an attachment that can be viewed from the eMail.
|
java.lang.String |
getFromAddress()
If the from Address is null the fromAddress defined in the store's configuration parameter
will be used.
|
java.lang.String |
getFullAttachmentFilename()
The complete filename of an attachment.
|
java.lang.String |
getReplyToAddress()
If the Reply To Address is null the rpleyToAddress defined in the store's configuration
parameter will be used.
|
int |
getSynchronousity()
Return the integer defining whether the email should be sent synchronously or asynchronously.
|
java.lang.String |
getTemplateName()
The template name is used by the notifySysAdmin call
|
boolean |
isDeleteAttachmentAfterSend()
When set to
true , the attachment is deleted after being sent. |
boolean |
isSendBlindCopies()
If set to true the email will be blind-copied to the email address (or addresses) defined in
the "Send Extra Emails To" configuration variable (the key of this configuration variable is
"SEND_EXTRA_EMAILS_TO").
|
boolean |
isUseCustomerLocale()
When set, the eMail sender looks for a template with the customer's language rather than the
default language.
|
void |
setBccEmails(java.lang.String bccEmails)
Semicolon separated list of blind copy email addresses.
|
void |
setContentType(int contentType)
Set the Email Content Type.
|
void |
setCountryCode(java.lang.String countryCode)
If set, this is the country code that will be used to search for the eMail template.
|
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustomAttrs(AdminNameValue[] customAttrs) |
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 |
setFromAddress(java.lang.String fromAddress)
If the from Address is null the fromAddress defined in the store's configuration parameter
will be used.
|
void |
setFullAttachmentFilename(java.lang.String fullAttachmentFilename)
The complete filename of an attachment.
|
void |
setReplyToAddress(java.lang.String replyToAddress)
If the Reply To Address is null the rpleyToAddress defined in the store's configuration
parameter will be used.
|
void |
setSendBlindCopies(boolean sendBlindCopies)
If set to true the email will be blind-copied to the email address (or addresses) defined in
the "Send Extra Emails To" configuration variable (the key of this configuration variable is
"SEND_EXTRA_EMAILS_TO").
|
void |
setSynchronousity(int synchronousity)
Set to define whether the email should be sent synchronously or asynchronously.
|
void |
setTemplateName(java.lang.String templateName)
The template name is used by the notifySysAdmin call
|
void |
setUseCustomerLocale(boolean useCustomerLocale)
When set, the eMail sender looks for a template with the customer's language rather than the
default language.
|
java.lang.String |
toString() |
private AdminNameValue[] customAttrs
private boolean useCustomerLocale
private java.lang.String countryCode
private int contentType
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
private int customInt1
private int customInt2
private boolean sendBlindCopies
private int synchronousity
private java.lang.String fullAttachmentFilename
private java.lang.String friendlyAttachmentName
private boolean deleteAttachmentAfterSend
private java.lang.String bccEmails
private java.lang.String fromAddress
private java.lang.String replyToAddress
private java.lang.String templateName
public java.lang.String toString()
toString
in class java.lang.Object
public AdminNameValue[] getCustomAttrs()
public void setCustomAttrs(AdminNameValue[] customAttrs)
customAttrs
- The customAttrs to set.public boolean isUseCustomerLocale()
public void setUseCustomerLocale(boolean useCustomerLocale)
useCustomerLocale
- the useCustomerLocale to setpublic java.lang.String getCountryCode()
public void setCountryCode(java.lang.String countryCode)
countryCode
- the countryCode to setpublic int getContentType()
public void setContentType(int contentType)
contentType
- the contentType 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 setpublic boolean isSendBlindCopies()
The default is set to true.
public void setSendBlindCopies(boolean sendBlindCopies)
The default is set to true.
sendBlindCopies
- the sendBlindCopies to setpublic int getSynchronousity()
public void setSynchronousity(int synchronousity)
synchronousity
- the synchronousity to setpublic 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 getBccEmails()
public void setBccEmails(java.lang.String bccEmails)
bccEmails
- the bccEmails to setpublic java.lang.String getFromAddress()
public void setFromAddress(java.lang.String fromAddress)
fromAddress
- the fromAddress to setpublic java.lang.String getReplyToAddress()
public void setReplyToAddress(java.lang.String replyToAddress)
replyToAddress
- the replyToAddress to setpublic java.lang.String getTemplateName()
public void setTemplateName(java.lang.String templateName)
templateName
- the templateName to setCopyright © 2018 DS Data Systems UK Ltd.