Class AbandonedCartEmailJob
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.jobs.AbstractJob
com.softslate.commerce.businessobjects.jobs.AbstractOrderEmailJob
com.softslate.commerce.businessobjects.jobs.AbandonedCartEmailJob
- All Implemented Interfaces:
BusinessObject
,BusinessProcessor
,org.quartz.Job
Sends emails to customers who have incomplete orders.
- Author:
- jmcwill
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected int
protected String
protected int
protected String
(package private) static org.apache.commons.logging.Log
protected String
protected int
protected String
Fields inherited from class com.softslate.commerce.businessobjects.jobs.AbstractOrderEmailJob
actionUtils, bccEmails, ccEmails, emailOptOutProcessor, emailProcessor, emailType, optOutType, orderProcessor, sendEmailsPerRun, template, templateCode, templateProcessor
Fields inherited from class com.softslate.commerce.businessobjects.jobs.AbstractJob
isOn, useXMLData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
initialize
(org.quartz.JobExecutionContext context) protected Collection<Order>
protected boolean
Methods inherited from class com.softslate.commerce.businessobjects.jobs.AbstractOrderEmailJob
createEmailFromOrder, createExtraTemplateObjects, createTemplateParser, executeJob, findEmailFromOrderOrCustomer, processOrder, sendEmail
Methods inherited from class com.softslate.commerce.businessobjects.jobs.AbstractJob
destroy, execute, getJobName, getServletContext, getSettingsPrefix, initSoftSlate, intFromJobDataMap, intFromSettings, setJobName, setServletContext, setSettingsPrefix, stringFromJobDataMap, stringFromSettings
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 org.quartz.Job
execute
-
Field Details
-
log
static org.apache.commons.logging.Log log -
emailsDaysThreshold
protected int emailsDaysThreshold -
ordersDaysThreshold
protected int ordersDaysThreshold -
abandonedCartLookbackHoursStart
protected int abandonedCartLookbackHoursStart -
abandonedCartLookbackHoursEnd
protected int abandonedCartLookbackHoursEnd -
startDate
-
endDate
-
ordersDate
-
emailsDate
-
-
Constructor Details
-
AbandonedCartEmailJob
public AbandonedCartEmailJob()
-
-
Method Details
-
initialize
- Overrides:
initialize
in classAbstractOrderEmailJob
- Throws:
Exception
-
loadOrdersToProcess
- Specified by:
loadOrdersToProcess
in classAbstractOrderEmailJob
- Throws:
Exception
-
skipOrder
- Overrides:
skipOrder
in classAbstractOrderEmailJob
- Throws:
Exception
-