Class EmailNotificationTrigger
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.events.BaseTrigger
com.softslate.commerce.businessobjects.events.EmailNotificationTrigger
- All Implemented Interfaces:
BusinessObject,BusinessProcessor,Runnable
- Direct Known Subclasses:
OrderStatusEmailNotificationTriggerImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BusinessObjectFactoryprotected Emailprotected Stringprotected Templateprotected Stringprotected TemplateParserprotected TemplateProcessorFields inherited from class com.softslate.commerce.businessobjects.events.BaseTrigger
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Emailprotected EmailcreateEmailFromOrder(Order order) protected TemplateParser(package private) abstract voidvoidprotected voidMethods inherited from class com.softslate.commerce.businessobjects.events.BaseTrigger
addMessage, getExecuteInSeparateThread, getIsActive, getSwallowExceptions, process, processInSameThread, processInSeparateThread, run, setExecuteInSeparateThread, setIsActive, setSwallowExceptionsMethods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getProductIDs, getSettings, getUser, initialize, isProcessorClassActive, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPGet, sendHTTPPost, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, updateOrderTotals, updateOrderTotals, updateOrderTotals, utils
-
Field Details
-
templateCode
-
emailType
-
template
-
templateProcessor
-
templateParser
-
email
-
extraTemplateObjects
-
bof
-
-
Constructor Details
-
EmailNotificationTrigger
public EmailNotificationTrigger()
-
-
Method Details
-
initializeTemplateCodeAndType
- Throws:
Exception
-
processTrigger
- Specified by:
processTriggerin classBaseTrigger- Throws:
Exception
-
createEmail
- Throws:
Exception
-
createEmailFromOrder
- Throws:
Exception
-
createExtraTemplateObjects
- Throws:
Exception
-
createTemplateParser
- Throws:
Exception
-
sendEmail
- Throws:
Exception
-