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 intprotected Stringprotected Collection<String>protected String(package private) static org.apache.commons.logging.Logprotected Stringprotected StringFields inherited from class com.softslate.commerce.businessobjects.jobs.AbstractOrderEmailJob
actionUtils, bccEmails, ccEmails, emailOptOutProcessor, emailProcessor, emailType, optOutType, orderProcessor, sendEmailsPerRun, template, templateCode, templateProcessorFields inherited from class com.softslate.commerce.businessobjects.jobs.AbstractJob
isOn, useXMLData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinitialize(org.quartz.JobExecutionContext context) protected Collection<Order>Methods inherited from class com.softslate.commerce.businessobjects.jobs.AbstractOrderEmailJob
createEmailFromOrder, createExtraTemplateObjects, createTemplateParser, executeJob, findEmailFromOrderOrCustomer, processOrder, sendEmail, skipOrderMethods inherited from class com.softslate.commerce.businessobjects.jobs.AbstractJob
destroy, execute, getJobName, getServletContext, getSettingsPrefix, initSoftSlate, intFromJobDataMap, intFromSettings, setJobName, setServletContext, setSettingsPrefix, stringFromJobDataMap, stringFromSettingsMethods 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 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:
initializein classAbstractOrderEmailJob- Throws:
Exception
-
loadOrdersToProcess
- Specified by:
loadOrdersToProcessin classAbstractOrderEmailJob- Throws:
Exception
-