public class AdminSchedulerMgr extends AdminBaseMgr implements AdminSchedulerMgrIf
| Modifier and Type | Class and Description |
|---|---|
protected class |
AdminSchedulerMgr.StaticData |
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
protected static java.lang.String |
mutex |
protected static java.util.Map<java.lang.String,AdminSchedulerMgr.StaticData> |
staticDataHM
Hash Map that contains the static data
|
adminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, debugStackTraceExclusions, kkAdminPropsFilePath, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir| Constructor and Description |
|---|
AdminSchedulerMgr(KKAdminIf eng)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
AdminJobStatusResponse |
getJobStatus(AdminJobStatusRequest jobStatusRequestIn)
Retrieve Status Information on the Batch Jobs
|
protected org.quartz.Scheduler |
getScheduler() |
protected boolean |
includeJob(org.quartz.JobKey jobKey,
AdminJobStatusRequest jobStatusRequest) |
void |
init()
Initialise the Report Manager
|
void |
refreshConfigs()
Retrieve some commonly-used properties
|
boolean |
runBatchJob(java.lang.String group,
java.lang.String name,
java.lang.String[] paramArray)
Executes the batch job with the specified group and name.
|
protected boolean |
timePresent(AdminJob job) |
addInsertAttr, addInsertAttr, addStringRuleConstraint, addStringRuleConstraint, checkAPICallEnabled, checkIntInRange, checkIntIsSet, checkRequired, executeQuery, executeQuery, getAdminAddressMgr, getAdminAuditMgr, getAdminBillingMgr, getAdminBookableProductMgr, getAdminCatMgr, getAdminConfigMgr, getAdminContentMgr, getAdminCurrMgr, getAdminCustMgr, getAdminCustPwdHistMgr, getAdminCustTagMgr, getAdminEmailMgr, getAdminEng, getAdminEngineCacheMgr, getAdminEventMgr, getAdminExecuteMgr, getAdminFileMgr, getAdminFilterMgr, getAdminHtmlMgr, getAdminImportMgr, getAdminLanguageMgr, getAdminManuMgr, getAdminMessageMgr, getAdminMiscItemMgr, getAdminMiscPriceMgr, getAdminModulesMgr, getAdminMultiStoreMgr, getAdminOrderMgr, getAdminPdfMgr, getAdminProdAttrMgr, getAdminProdMgr, getAdminPromMgr, getAdminReviewMgr, getAdminSearchRuleMgr, getAdminSecMgr, getAdminServletMgr, getAdminShipmentMgr, getAdminSolrMgr, getAdminStoreMgr, getAdminSuggestionMgr, getAdminTagMgr, getAdminTaxMgr, getAdminValidationMgr, getAdminVelocityContextMgr, getAdminWishListMgr, getBooleanFromString, getDebugStackTraceExclusions, getEmailThreadGracefulShutdownTimeout, getExportMgr, getExportMgr, getExportXMLData, getIntFromString, getKkAdminPropsFilePath, getKkConfig, getKkInstanceId, getMode, getModeString, getMqMgr, getNewCriteria, getNewCriteria, getNewCriteria, getNewCriteria, getOtherModuleByName, getPostSearchText, getPreSearchText, getProductsToCategoresCriteria, getPropertyValue, getPropertyValue, getPropertyValueAsBool, getPropertyValueAsInt, getPropertyValueAsLong, getRecordCount, getRecordCount, getRewardPointMgr, getSingleIntResult, getStoreId, getTemplate, getTemplateBase, getXml_io, init, insertKKEvent, insertKKEvent, isBusiness, isBusinessOrEnterprise, isCommunity, isConfigSet, isEnterprise, isMultiStoreLanguagesShared, isMultiStoreMode, isMultiStoreShareCategories, isMultiStoreShareCustomers, isMultiStoreShareCustomersOrProducts, isMultiStoreShareProducts, isMultiStoreSingleDBCSMode, isMultiStoreSingleDBMode, isMultiStoreSingleDBNonCSMode, isUnix, isWindows, manageException, manageThrowable, removeCData, sendMQMessages, setAdminEng, setDebugStackTraceExclusions, setKkAdminPropsFilePath, setupWildCardRules, setWildCardAfter, setWildCardBefore, shutdownGracefully, shutdownGracefully, timestampStr, updateStaticVariablesNowprotected static org.apache.commons.logging.Log log
protected static java.lang.String mutex
protected static java.util.Map<java.lang.String,AdminSchedulerMgr.StaticData> staticDataHM
public AdminSchedulerMgr(KKAdminIf eng) throws java.lang.Exception
eng - KKAdmin enginejava.lang.Exception - an unexpected exceptionpublic AdminJobStatusResponse getJobStatus(AdminJobStatusRequest jobStatusRequestIn) throws KKAdminException
getJobStatus in interface AdminSchedulerMgrIfjobStatusRequestIn - Defines the jobs to retrieve information aboutKKAdminException - unexpected exception in the KonaKart Admin Engineprotected boolean includeJob(org.quartz.JobKey jobKey,
AdminJobStatusRequest jobStatusRequest)
protected boolean timePresent(AdminJob job)
public boolean runBatchJob(java.lang.String group,
java.lang.String name,
java.lang.String[] paramArray)
throws KKAdminException
AdminSchedulerMgrIfThe batch job must be defined as one the existing batch jobs in the system.
For Quartz jobs, the paramAray is not actually used but it is provided should these parameters be required for overriding the implementation of this method in a custom engine.
runBatchJob in interface AdminSchedulerMgrIfgroup - The group of the batch job to be runname - The name of the batch job to be executedparamArray - A generic set of Strings that can be used for custom purposes.KKAdminException - an unexpected exception in the KonaKart Admin engineprotected org.quartz.Scheduler getScheduler()
throws KKAdminException
KKAdminExceptionpublic void init()
throws KKAdminException
init in interface AdminSchedulerMgrIfKKAdminException - unexpected exception in the KonaKart Admin Enginepublic void refreshConfigs()
throws java.lang.Exception
refreshConfigs in interface AdminSchedulerMgrIfrefreshConfigs in class AdminBaseMgrjava.lang.Exception - an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.