Class CustomerFollowUpJob
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.CustomerFollowUpJob
- All Implemented Interfaces:
BusinessObject
,BusinessProcessor
,org.quartz.Job
Sends customers follow up emails a certain period of time after they complete
an order.
- Author:
- jmcwill
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected String
protected Collection<String>
protected String
(package private) static org.apache.commons.logging.Log
protected String
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>
Methods inherited from class com.softslate.commerce.businessobjects.jobs.AbstractOrderEmailJob
createEmailFromOrder, createExtraTemplateObjects, createTemplateParser, executeJob, findEmailFromOrderOrCustomer, processOrder, sendEmail, skipOrder
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 -
daysSinceCompleted
protected int daysSinceCompleted -
ignoreStatuses
-
ignore
-
today
-
startDate
-
endDate
-
-
Constructor Details
-
CustomerFollowUpJob
public CustomerFollowUpJob()
-
-
Method Details
-
initialize
- Overrides:
initialize
in classAbstractOrderEmailJob
- Throws:
Exception
-
loadOrdersToProcess
- Specified by:
loadOrdersToProcess
in classAbstractOrderEmailJob
- Throws:
Exception
-