Class OrderStatusEmailNotificationTriggerImpl
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
com.softslate.commerce.businessobjects.events.OrderStatusEmailNotificationTriggerImpl
- All Implemented Interfaces:
BusinessObject
,BusinessProcessor
,OrderStatusEmailNotificationTrigger
,Runnable
public class OrderStatusEmailNotificationTriggerImpl
extends EmailNotificationTrigger
implements OrderStatusEmailNotificationTrigger
-
Field Summary
Modifier and TypeFieldDescriptionprotected ActionUtils
(package private) static org.apache.commons.logging.Log
protected Order
protected Map
protected Settings
Fields inherited from class com.softslate.commerce.businessobjects.events.EmailNotificationTrigger
bof, email, emailType, extraTemplateObjects, template, templateCode, templateParser, templateProcessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Email
createExtraTemplateObjects
(Order order) boolean
void
protected void
void
Methods inherited from class com.softslate.commerce.businessobjects.events.EmailNotificationTrigger
createEmailFromOrder, createTemplateParser, processTrigger, sendEmail
Methods inherited from class com.softslate.commerce.businessobjects.events.BaseTrigger
addMessage, getIsActive, getSwallowExceptions, process, processInSameThread, processInSeparateThread, run, setExecuteInSeparateThread, setIsActive, setSwallowExceptions
Methods 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, utils
-
Field Details
-
log
static org.apache.commons.logging.Log log -
order
-
originalParameters
-
settings
-
actionUtils
-
-
Constructor Details
-
OrderStatusEmailNotificationTriggerImpl
public OrderStatusEmailNotificationTriggerImpl()
-
-
Method Details
-
getExecuteInSeparateThread
public boolean getExecuteInSeparateThread()- Overrides:
getExecuteInSeparateThread
in classBaseTrigger
-
processOrderStatusChange
- Specified by:
processOrderStatusChange
in interfaceOrderStatusEmailNotificationTrigger
- Throws:
Exception
-
initializeFromEvent
- Throws:
Exception
-
createEmail
- Overrides:
createEmail
in classEmailNotificationTrigger
- Throws:
Exception
-
createExtraTemplateObjects
- Overrides:
createExtraTemplateObjects
in classEmailNotificationTrigger
- Throws:
Exception
-
createExtraTemplateObjects
- Throws:
Exception
-
initializeTemplateCodeAndType
- Specified by:
initializeTemplateCodeAndType
in classEmailNotificationTrigger
- Throws:
Exception
-