Class IncompleteOrdersJob
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.IncompleteOrdersJob
- All Implemented Interfaces:
BusinessObject
,BusinessProcessor
,org.quartz.Job
Deletes older, incomplete orders (abandoned carts) from the system
- Author:
- David Tobey
-
Field Summary
Modifier and TypeFieldDescription(package private) static org.apache.commons.logging.Log
protected String
protected String
Fields inherited from class com.softslate.commerce.businessobjects.jobs.AbstractJob
isOn, useXMLData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeJob
(org.quartz.JobExecutionContext context) protected void
initialize
(org.quartz.JobExecutionContext context) 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
-
Field Details
-
log
static org.apache.commons.logging.Log log -
olderThanDays
-
olderThanHours
-
-
Constructor Details
-
IncompleteOrdersJob
public IncompleteOrdersJob()
-
-
Method Details
-
executeJob
- Specified by:
executeJob
in classAbstractJob
- Throws:
Exception
-
initialize
- Overrides:
initialize
in classAbstractJob
- Throws:
Exception
-