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
FieldsModifier and TypeFieldDescriptionprotected ActionUtils(package private) static org.apache.commons.logging.Logprotected Orderprotected Mapprotected SettingsFields inherited from class com.softslate.commerce.businessobjects.events.EmailNotificationTrigger
bof, email, emailType, extraTemplateObjects, template, templateCode, templateParser, templateProcessor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EmailcreateExtraTemplateObjects(Order order) booleanvoidprotected voidvoidMethods inherited from class com.softslate.commerce.businessobjects.events.EmailNotificationTrigger
createEmailFromOrder, createTemplateParser, processTrigger, sendEmailMethods inherited from class com.softslate.commerce.businessobjects.events.BaseTrigger
addMessage, 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, utilsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initializeMethods 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:
getExecuteInSeparateThreadin classBaseTrigger
-
processOrderStatusChange
- Specified by:
processOrderStatusChangein interfaceOrderStatusEmailNotificationTrigger- Throws:
Exception
-
initializeFromEvent
- Throws:
Exception
-
createEmail
- Overrides:
createEmailin classEmailNotificationTrigger- Throws:
Exception
-
createExtraTemplateObjects
- Overrides:
createExtraTemplateObjectsin classEmailNotificationTrigger- Throws:
Exception
-
createExtraTemplateObjects
- Throws:
Exception
-
initializeTemplateCodeAndType
- Specified by:
initializeTemplateCodeAndTypein classEmailNotificationTrigger- Throws:
Exception
-