|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.projects.store.fulfillment.ConfirmationEmailSender
public class ConfirmationEmailSender
This class is responsible for sending order confirmation emails.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string. |
protected atg.userprofiling.email.MessageContentProcessor |
mContentProcessor
Message content processor. |
protected java.lang.String |
mEmailMessageFrom
E-mail message sender address. |
protected java.lang.String |
mEmailMessageSubject
E-mail message subject. |
protected boolean |
mFillFromTemplate
Should fill from template. |
protected atg.userprofiling.email.TemplateEmailSender |
mTemplateEmailSender
Template e-mail sender. |
protected static java.lang.String |
ORDER
Order constant. |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
ConfirmationEmailSender()
|
Method Summary | |
---|---|
protected atg.userprofiling.email.TemplateEmailInfo |
createTemplateEmailInfo(java.lang.String pEmailTo,
java.lang.String pEmailTemplate)
Creates the template email info for the template we need to use for order confirmation. |
atg.userprofiling.email.MessageContentProcessor |
getContentProcessor()
|
java.lang.String |
getEmailMessageFrom()
The email address to set the message from for the order confirm email. |
java.lang.String |
getEmailMessageSubject()
The subject to use for the order confirmation emails. |
boolean |
getFillFromTemplate()
|
atg.userprofiling.email.TemplateEmailSender |
getTemplateEmailSender()
The template email sender used to send the order confirm email. |
void |
sendConfirmationEmail(atg.commerce.order.Order pOrder,
atg.repository.RepositoryItem pProfile,
java.lang.String pTemplateUrl)
This method sends the order confirmation emails. |
void |
setContentProcessor(atg.userprofiling.email.MessageContentProcessor pContentProcessor)
|
void |
setEmailMessageFrom(java.lang.String pEmailMessageFrom)
The email address to set the message from for the order confirm email. |
void |
setEmailMessageSubject(java.lang.String pEmailMessageSubject)
The subject to use for the order confirmation emails. |
void |
setFillFromTemplate(boolean pFillFromTemplate)
Sets the flag indicating whether we should try to extract email information from the <meta> tags in the template. |
void |
setTemplateEmailSender(atg.userprofiling.email.TemplateEmailSender pTemplateEmailSender)
The template email sender to use to send the order confirm email. |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
protected static final java.lang.String ORDER
protected atg.userprofiling.email.MessageContentProcessor mContentProcessor
protected atg.userprofiling.email.TemplateEmailSender mTemplateEmailSender
protected java.lang.String mEmailMessageFrom
protected java.lang.String mEmailMessageSubject
protected boolean mFillFromTemplate
Constructor Detail |
---|
public ConfirmationEmailSender()
Method Detail |
---|
public atg.userprofiling.email.MessageContentProcessor getContentProcessor()
public void setContentProcessor(atg.userprofiling.email.MessageContentProcessor pContentProcessor)
pContentProcessor
- - content processor.public void setTemplateEmailSender(atg.userprofiling.email.TemplateEmailSender pTemplateEmailSender)
pTemplateEmailSender
- - template e-mail senderpublic atg.userprofiling.email.TemplateEmailSender getTemplateEmailSender()
public void setEmailMessageFrom(java.lang.String pEmailMessageFrom)
pEmailMessageFrom
- - e-mail address senderpublic java.lang.String getEmailMessageFrom()
public void setEmailMessageSubject(java.lang.String pEmailMessageSubject)
pEmailMessageSubject
- - e-mail message subjectpublic java.lang.String getEmailMessageSubject()
public boolean getFillFromTemplate()
public void setFillFromTemplate(boolean pFillFromTemplate)
pFillFromTemplate
- - true if should be filled, false - otherwisepublic void sendConfirmationEmail(atg.commerce.order.Order pOrder, atg.repository.RepositoryItem pProfile, java.lang.String pTemplateUrl)
pOrder
- - orderpProfile
- - user profilepTemplateUrl
- - template URLprotected atg.userprofiling.email.TemplateEmailInfo createTemplateEmailInfo(java.lang.String pEmailTo, java.lang.String pEmailTemplate)
pEmailTo
- - e-mail recipient addresspEmailTemplate
- - e-mail template
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |