public class AdminExecuteMgr extends AdminBaseMgr implements AdminExecuteMgrIf
AdminBaseMgr.StaticData| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Map<java.lang.String,java.lang.Class<?>> |
classHM
Hash Map that contains the Classes keyed on className
|
protected static java.util.Map<java.lang.String,java.lang.Object> |
instanceHM
Hash Map that contains the Class Instances keyed on "storeId className"
|
protected static org.apache.commons.logging.Log |
log
the log
|
protected static java.lang.String |
mutex
mutex
|
adminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, debugStackTraceExclusions, kkAdminPropsFilePath, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir| Constructor and Description |
|---|
AdminExecuteMgr(KKAdminIf eng)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
execute(java.lang.String sessionId,
java.lang.String className,
java.lang.String methodName,
java.lang.String[] paramArray)
Executes a method with name methodName of a class with name className with the parameters of
type String in paramArray.
|
protected java.lang.Object |
getInstance(java.lang.String className)
Instantiate the object referred to by the className parameter.
|
private java.lang.String |
getStoreIdFromEngine() |
void |
refreshConfigs()
Refresh the configuration of the Admin Execute Manager
|
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,java.lang.Class<?>> classHM
protected static java.util.Map<java.lang.String,java.lang.Object> instanceHM
public AdminExecuteMgr(KKAdminIf eng) throws java.lang.Exception
eng - An instance of the Admin engjava.lang.Exception - an unexpected exceptionpublic java.lang.String execute(java.lang.String sessionId,
java.lang.String className,
java.lang.String methodName,
java.lang.String[] paramArray)
throws java.lang.Exception
execute in interface AdminExecuteMgrIfsessionId - The sessionId of the logged in userclassName - The fully qualified classNamemethodName - The name of the method to be executesparamArray - The parameters passed to the methodjava.lang.Exception - an unexpected exceptionprivate java.lang.String getStoreIdFromEngine()
throws KKAdminException
KKAdminExceptionprotected java.lang.Object getInstance(java.lang.String className)
throws java.lang.Exception
className - the classNamejava.lang.Exception - an unexpected exceptionpublic void refreshConfigs()
throws KKAdminException
refreshConfigs in interface AdminExecuteMgrIfrefreshConfigs in class AdminBaseMgrKKAdminException - unexpected exception in the KonaKart Admin EngineCopyright © 2018 DS Data Systems UK Ltd.