public class AdminServletMgr extends AdminBaseMgr implements AdminServletMgrIf
AdminBaseMgr.StaticData| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
erpInputQueue
ERP Input Queue
|
protected java.lang.String |
erpOutputQueuePrefix
ERP Output Queue Prefix
|
protected static org.apache.commons.logging.Log |
log
the log
|
adminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, debugStackTraceExclusions, kkAdminPropsFilePath, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir| Constructor and Description |
|---|
AdminServletMgr(KKAdminIf eng)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
AdminEngineCacheMgrIf |
getEngMgr() |
java.lang.String |
getErpInputQueue() |
java.lang.String |
getERPOutputQueuePrefix() |
java.lang.String |
getKKEngPropertiesFile() |
java.lang.String |
processExportMsg(java.lang.String msgIn)
Before sending to queue we have to add an outer messages tag as well as an XML header
|
void |
setEngMgr(AdminEngineCacheMgrIf engMgr) |
void |
setErpInputQueue(java.lang.String erpInputQueue) |
void |
setERPOutputQueuePrefix(java.lang.String erpOutputQueuePrefix) |
void |
setKKEngPropertiesFile(java.lang.String kkEngPropertiesFile) |
void |
shutdown()
Shutdown the QueueReader
|
void |
startUp()
Initialise MQ and Start up the read Queue
|
void |
writeToQueue(java.lang.String storeId,
java.lang.String msg)
Method to post data to a queue based on the storeId
|
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, refreshConfigs, removeCData, sendMQMessages, setAdminEng, setDebugStackTraceExclusions, setKkAdminPropsFilePath, setupWildCardRules, setWildCardAfter, setWildCardBefore, shutdownGracefully, shutdownGracefully, timestampStr, updateStaticVariablesNowprotected static org.apache.commons.logging.Log log
protected java.lang.String erpOutputQueuePrefix
protected java.lang.String erpInputQueue
public AdminServletMgr(KKAdminIf eng) throws java.lang.Exception
eng - a KKAdminIf Enginejava.lang.Exception - an unexpected exceptionpublic void startUp()
throws java.lang.Exception
startUp in interface AdminServletMgrIfjava.lang.Exception - an unexpected exceptionpublic void shutdown()
throws KKAdminException
shutdown in interface AdminServletMgrIfKKAdminException - unexpected exception in the KonaKart Admin Enginepublic void writeToQueue(java.lang.String storeId,
java.lang.String msg)
throws java.lang.Exception
writeToQueue in interface AdminServletMgrIfstoreId - the storeIdmsg - the msgjava.lang.Exception - an unexpected exceptionpublic java.lang.String processExportMsg(java.lang.String msgIn)
throws KKAdminException
processExportMsg in interface AdminServletMgrIfmsgIn - the msgInKKAdminException - unexpected exception in the KonaKart Admin Enginepublic java.lang.String getERPOutputQueuePrefix()
getERPOutputQueuePrefix in interface AdminServletMgrIfpublic void setERPOutputQueuePrefix(java.lang.String erpOutputQueuePrefix)
setERPOutputQueuePrefix in interface AdminServletMgrIferpOutputQueuePrefix - the erpOutputQueuePrefix to setpublic java.lang.String getErpInputQueue()
getErpInputQueue in interface AdminServletMgrIfpublic void setErpInputQueue(java.lang.String erpInputQueue)
setErpInputQueue in interface AdminServletMgrIferpInputQueue - the erpInputQueue to setpublic AdminEngineCacheMgrIf getEngMgr() throws KKAdminException
getEngMgr in interface AdminServletMgrIfKKAdminException - an unexpected exception in the KonaKart Admin enginepublic void setEngMgr(AdminEngineCacheMgrIf engMgr) throws KKAdminException
setEngMgr in interface AdminServletMgrIfengMgr - the engMgr to setKKAdminException - an unexpected exception in the KonaKart Admin enginepublic java.lang.String getKKEngPropertiesFile()
throws KKAdminException
getKKEngPropertiesFile in interface AdminServletMgrIfKKAdminException - an unexpected exception in the KonaKart Admin enginepublic void setKKEngPropertiesFile(java.lang.String kkEngPropertiesFile)
throws KKAdminException
setKKEngPropertiesFile in interface AdminServletMgrIfkkEngPropertiesFile - the kkEngPropertiesFile to setKKAdminException - an unexpected exception in the KonaKart Admin engineCopyright © 2018 DS Data Systems UK Ltd.