public class KKAdminBase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected KKAdmin |
adminEng
The KKAdmin engine
|
protected static org.apache.commons.configuration2.Configuration |
allConfig
Holds all the properties from the properties file
|
protected static java.lang.String |
configFile
Config File as a String
|
protected static java.net.URL |
configFileURL
Config File as a URL
|
private static java.lang.String |
dbVersion
The Database version according to the ConfigData
|
protected static java.util.Set<java.lang.String> |
emailReportingExclusions
Exclusions for Email reporting of Exceptions
|
protected AdminEngineConfig |
engConf
Configuration parameter passed when the engine is instantiated
|
protected AdminEngineCacheMgrIf |
engineCacheMgr
KK Engine Mgr to manage KKEng engines for different stores
|
protected static boolean |
globalInit |
protected static boolean |
kkCartInit |
protected static org.apache.commons.configuration2.Configuration |
kkConfig
Used to read the KonaKart properties from the properties file
|
protected static java.lang.String |
kkInstanceId
The KonaKart Instance - read from the properties file
|
protected java.lang.String |
konakartAdminPropsFileName |
protected java.lang.String |
konakartAdminPropsFilePath |
protected static org.apache.commons.logging.Log |
log
Log
|
protected static com.konakart.clientlogging.LogMgr |
logMgr
Log Manager
|
protected AdminMgrFactory |
mgrFactory
Factory for creating managers
|
protected java.lang.String |
mutex |
protected static org.apache.commons.configuration2.Configuration |
torqueConfig
Used to read the Torque properties from the properties file
|
protected static boolean |
torqueInit |
Constructor and Description |
---|
KKAdminBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
auditDeletes(int userId,
int objectId,
java.lang.String methodName)
Auditing for deletes of a single object
|
protected void |
auditDeletes(int userId,
java.lang.Object obj,
int objectId,
java.lang.String methodName)
Auditing for deletes of a single object
|
protected void |
auditDeletes(int userId,
java.lang.Object obj,
java.lang.String methodName)
Auditing for deletes of a single object when there is no objectId to specify
|
protected void |
auditDeletes(int userId,
java.lang.String objAsString,
java.lang.String methodName)
Auditing for deletes of a single object, when the object has no integer id
|
protected void |
auditDeletesForArray(int userId,
java.lang.Object[] objArray,
int objectId,
java.lang.String methodName)
Auditing for deletes of an array of objects
|
protected void |
auditEdits(int userId,
java.lang.Object obj,
int objectId,
java.lang.String methodName)
Auditing for edits
|
protected void |
auditEdits(int userId,
java.lang.Object obj,
int objectId,
java.lang.String key,
java.lang.String methodName)
Auditing for edits
|
protected void |
auditEdits(int userId,
java.lang.Object obj,
java.lang.String methodName)
Auditing for edits
|
protected void |
auditEdits(int userId,
java.lang.Object obj,
java.lang.String key,
java.lang.String methodName)
Auditing for edits
|
protected void |
auditEdits(int userId,
java.lang.String methodName,
java.lang.String data)
Auditing for updates
|
protected void |
auditInserts(int userId,
java.lang.Object[] objs,
java.lang.String methodName,
int newId)
Auditing for inserts for an array of products
|
protected void |
auditInserts(int userId,
java.lang.Object obj,
java.lang.String methodName,
int newId)
Auditing for inserts
|
protected void |
auditInserts(int userId,
java.lang.String methodName,
java.lang.Object obj)
Auditing for inserts for an array of products
|
protected void |
auditInserts(int userId,
java.lang.String methodName,
java.lang.String data)
Auditing for inserts where we just insert ids
|
protected void |
auditReads(int userId,
int objectId,
java.lang.String methodName)
Auditing for reads
|
protected void |
auditReads(int userId,
java.lang.String object,
java.lang.String methodName)
Auditing for reads
|
void |
checkConfig(AdminEngineConfig engConf)
Checks the integrity of the engine mode parameters
|
protected void |
checkEnterpriseForCatalog()
Catalogs require the enterprise version to be present.
|
protected void |
checkEnterpriseForExtPriceOrExtQuantity(AdminProductMgrOptions mgrOptions)
External prices and quantity require the enterprise version to be present.
|
protected boolean |
checkLicense()
Check that the Mago License is valid - if it's a Mago system.
|
protected void |
checkManagerExists(java.lang.Object mgr,
java.lang.String functionalityName)
Common code to check for optional managers
|
protected boolean |
excludedException(java.lang.String message)
Should the exception message be excluded from reporting by email?
|
AdminAddressMgrIf |
getAdminAddressMgr() |
AdminAuditMgrIf |
getAdminAuditMgr() |
AdminBillingMgrIf |
getAdminBillingMgr() |
AdminBookableProductMgrIf |
getAdminBookableProductMgr() |
AdminCategoryMgrIf |
getAdminCategoryMgr() |
AdminConfigurationMgrIf |
getAdminConfigurationMgr() |
AdminContentMgrIf |
getAdminContentMgr() |
AdminCurrencyMgrIf |
getAdminCurrencyMgr() |
AdminCustomerMgrIf |
getAdminCustomerMgr() |
AdminCustomerPwdHistMgrIf |
getAdminCustomerPwdHistMgr() |
AdminCustomerTagMgrIf |
getAdminCustomerTagMgr() |
AdminDataIntegrityMgrIf |
getAdminDataIntegrityMgr() |
AdminEmailMgrIf |
getAdminEmailMgr() |
KKAdmin |
getAdminEng() |
AdminEventMgrIf |
getAdminEventMgr() |
AdminExecuteMgrIf |
getAdminExecuteMgr() |
AdminFileMgrIf |
getAdminFileMgr() |
AdminFilterMgrIf |
getAdminFilterMgr() |
AdminHtmlMgrIf |
getAdminHtmlMgr() |
AdminLanguageMgrIf |
getAdminLanguageMgr() |
AdminManufacturerMgrIf |
getAdminManufacturerMgr() |
AdminMessageMgrIf |
getAdminMessageMgr() |
AdminMiscItemMgrIf |
getAdminMiscItemMgr() |
AdminMiscPriceMgrIf |
getAdminMiscPriceMgr() |
AdminOrderMgrIf |
getAdminOrderMgr() |
AdminPdfMgrIf |
getAdminPdfMgr() |
AdminProdAttrMgrIf |
getAdminProdAttrMgr() |
AdminProductMgrIf |
getAdminProductMgr() |
AdminPromotionMgrIf |
getAdminPromotionMgr() |
AdminRemoteAccessMgrIf |
getAdminRemoteAccessMgr() |
AdminReportMgrIf |
getAdminReportMgr() |
AdminReviewMgrIf |
getAdminReviewMgr() |
AdminRewardPointMgrIf |
getAdminRewardPointMgr() |
AdminSchedulerMgrIf |
getAdminSchedulerMgr() |
protected AdminSearchRuleMgrIf |
getAdminSearchRuleMgr() |
AdminSecurityMgrIf |
getAdminSecurityMgr() |
AdminShipmentMgrIf |
getAdminShipmentMgr() |
AdminSolrMgrIf |
getAdminSolrMgr() |
AdminStoreMgrIf |
getAdminStoreMgr() |
AdminSuggestionMgrIf |
getAdminSuggestionMgr() |
AdminTagMgrIf |
getAdminTagMgr() |
AdminTaxMgrIf |
getAdminTaxMgr() |
AdminValidationMgrIf |
getAdminValidationMgr() |
AdminWishListMgrIf |
getAdminWishListMgr() |
protected static java.lang.String |
getConfigFile() |
java.lang.String |
getDbVersion() |
java.util.Set<java.lang.String> |
getEmailReportingExclusions() |
AdminEngineConfig |
getEngConf() |
protected java.lang.String |
getEngineId() |
protected java.lang.String |
getEngineModeStr() |
protected java.lang.String |
getEngineShareMode() |
protected java.lang.String |
getExceptionMessage(java.lang.Throwable e)
Returns a string containing the stack trace of the exception and its cause
|
protected java.lang.String |
getKkInstanceId()
Get the instance Id from the properties file
|
java.lang.String |
getKonakartAdminPropsFileName() |
java.lang.String |
getKonakartAdminPropsFilePath() |
java.lang.String |
getKonaKartBuildDate()
Get the KonaKart Build Date from the properties file
|
java.lang.String |
getKonakartPropertyValue(java.lang.String section,
java.lang.String propertyName)
Returns the property value from the properties file in the specified section
|
boolean |
getKonakartPropertyValueAsBoolWithDefault(java.lang.String section,
java.lang.String propertyName,
boolean def)
Returns the property boolean value from the properties file in the specified section or the
default if the property isn't found
|
long |
getKonakartPropertyValueAsLongWithDefault(java.lang.String section,
java.lang.String propertyName,
long def)
Returns the property long value from the properties file in the specified section or the
default if the property isn't found or isn't a legal long value
|
java.lang.String |
getKonakartPropertyValueWithDefault(java.lang.String section,
java.lang.String propertyName,
java.lang.String def)
Returns the property value from the properties file in the specified section or the default
if the property isn't found
|
static java.util.Calendar |
getKonakartTimeStamp() |
static java.util.Date |
getKonakartTimeStampDate() |
java.lang.String |
getKonaKartVersion()
Get the KonaKart Version Number from the properties file
|
static com.konakart.clientlogging.LogMgr |
getLogMgr() |
AdminModulesMgrIf |
getModulesMgr() |
protected java.lang.String |
getStoreName(AdminConfigurationMgrIf adminConfMgr)
Get the value of the STORE_NAME configuration parameter.
|
protected void |
init(KKAdmin eng,
java.lang.String propsFileName)
Initialization code
|
protected void |
initKonakart()
Initialise KonaKart from the properties file
|
protected void |
initMultiStoreMultiDB() |
protected void |
initMultiStoreSingleDB()
Initialisation for MultiStore Single Database.
|
protected void |
initSingleStore()
Initialisation and start-up checks for the Single Store Mode
|
protected void |
initTorque()
The initialisation of Torque is synchronised.
|
boolean |
isSingleStoreMode() |
static boolean |
isTorqueInit() |
protected KKAdminException |
manageThrowable(java.lang.Throwable e)
Common code to manage exceptions in the KKAdmin engine
|
protected KKAdminException |
manageThrowable(java.lang.Throwable e,
boolean notifyByEmail)
Common code to manage exceptions in the KKAdmin engine
|
void |
setAdminEng(KKAdmin adminEng) |
void |
setEngConf(AdminEngineConfig engConf) |
void |
setKonakartAdminPropsFileName(java.lang.String konakartAdminPropsFileName) |
void |
setKonakartAdminPropsFilePath(java.lang.String konakartAdminPropsFilePath) |
protected static org.apache.commons.logging.Log log
protected static com.konakart.clientlogging.LogMgr logMgr
protected KKAdmin adminEng
protected AdminEngineConfig engConf
protected static boolean globalInit
protected static boolean torqueInit
protected static boolean kkCartInit
private static java.lang.String dbVersion
protected java.lang.String mutex
protected AdminEngineCacheMgrIf engineCacheMgr
protected java.lang.String konakartAdminPropsFilePath
protected java.lang.String konakartAdminPropsFileName
protected static java.lang.String configFile
protected static java.net.URL configFileURL
protected AdminMgrFactory mgrFactory
protected static org.apache.commons.configuration2.Configuration allConfig
protected static org.apache.commons.configuration2.Configuration kkConfig
protected static org.apache.commons.configuration2.Configuration torqueConfig
protected static java.lang.String kkInstanceId
protected static java.util.Set<java.lang.String> emailReportingExclusions
protected void init(KKAdmin eng, java.lang.String propsFileName) throws java.lang.Exception
eng
- the engpropsFileName
- the propsFileNamejava.lang.Exception
- an unexpected exceptionpublic void checkConfig(AdminEngineConfig engConf) throws KKAdminException
engConf
- Engine Configuration to checkKKAdminException
- if the mode isn't supportedprotected void initSingleStore() throws KKAdminException
KKAdminException
- an unexpected KKAdminException exceptionprotected void initMultiStoreSingleDB() throws KKAdminException
KKAdminException
- an unexpected KKAdminException exceptionprotected void initMultiStoreMultiDB() throws KKAdminException
KKAdminException
- an unexpected KKAdminException exceptionprotected void initTorque() throws KKAdminException, org.apache.torque.TorqueException
KKAdminException
- an unexpected KKAdminException exceptionorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)protected void initKonakart() throws KKAdminException
KKAdminException
- an unexpected KKAdminException exceptionpublic java.lang.String getDbVersion()
public java.lang.String getKonakartPropertyValue(java.lang.String section, java.lang.String propertyName) throws KKAdminException
section
- Properties file section e.g. the first part of the property name ("konakart" or
"torque"). Use constants in KonakartAdminConstants, eg.
KonakartAdminConstants.PROPERTY_FILE_SECTION_KONAKART or
KonakartAdminConstants.PROPERTY_FILE_SECTION_TORQUE etcpropertyName
- property nameKKAdminException
- if there were problems with the arguments of the KonaKart configuration
information isn't available.public java.lang.String getKonakartPropertyValueWithDefault(java.lang.String section, java.lang.String propertyName, java.lang.String def) throws KKAdminException
section
- Properties file section e.g. the first part of the property name ("konakart" or
"torque"). Use constants in KonakartAdminConstants, eg.
KonakartAdminConstants.PROPERTY_FILE_SECTION_KONAKART or
KonakartAdminConstants.PROPERTY_FILE_SECTION_TORQUE etcpropertyName
- property namedef
- default value to use if the property isn't foundKKAdminException
- if there were problems with the arguments of the KonaKart configuration
information isn't available.public boolean getKonakartPropertyValueAsBoolWithDefault(java.lang.String section, java.lang.String propertyName, boolean def) throws KKAdminException
section
- Properties file section e.g. the first part of the property name ("konakart" or
"torque"). Use constants in KonakartAdminConstants, eg.
KonakartAdminConstants.PROPERTY_FILE_SECTION_KONAKART or
KonakartAdminConstants.PROPERTY_FILE_SECTION_TORQUE etcpropertyName
- property namedef
- default value to use if the property isn't foundKKAdminException
- if there were problems with the arguments of the KonaKart configuration
information isn't available.public long getKonakartPropertyValueAsLongWithDefault(java.lang.String section, java.lang.String propertyName, long def) throws KKAdminException
section
- Properties file section e.g. the first part of the property name ("konakart" or
"torque"). Use constants in KonakartAdminConstants, eg.
KonakartAdminConstants.PROPERTY_FILE_SECTION_KONAKART or
KonakartAdminConstants.PROPERTY_FILE_SECTION_TORQUE etcpropertyName
- property namedef
- default value to use if the property isn't foundKKAdminException
- if there were problems with the arguments of the KonaKart configuration
information isn't available.public java.lang.String getKonaKartVersion() throws KKAdminException
KKAdminException
- unexpected exception in the KonaKart Admin Enginepublic java.lang.String getKonaKartBuildDate() throws KKAdminException
KKAdminException
- unexpected exception in the KonaKart Admin Enginepublic static java.util.Calendar getKonakartTimeStamp()
public static java.util.Date getKonakartTimeStampDate()
protected java.lang.String getExceptionMessage(java.lang.Throwable e)
e
- the eprotected void auditInserts(int userId, java.lang.Object obj, java.lang.String methodName, int newId) throws java.lang.Exception
userId
- the userIdobj
- the objmethodName
- the methodNamenewId
- the newIdjava.lang.Exception
- an unexpected exceptionprotected void auditInserts(int userId, java.lang.Object[] objs, java.lang.String methodName, int newId) throws java.lang.Exception
userId
- the userIdobjs
- the objsmethodName
- the methodNamenewId
- the newIdjava.lang.Exception
- an unexpected exceptionprotected void auditInserts(int userId, java.lang.String methodName, java.lang.Object obj) throws java.lang.Exception
userId
- the userIdmethodName
- the methodNameobj
- the objjava.lang.Exception
- an unexpected exceptionprotected void auditInserts(int userId, java.lang.String methodName, java.lang.String data) throws java.lang.Exception
userId
- the userIdmethodName
- the methodNamedata
- the datajava.lang.Exception
- an unexpected exceptionprotected void auditEdits(int userId, java.lang.String methodName, java.lang.String data) throws java.lang.Exception
userId
- the userIdmethodName
- the methodNamedata
- the datajava.lang.Exception
- an unexpected exceptionprotected void auditEdits(int userId, java.lang.Object obj, java.lang.String methodName) throws java.lang.Exception
userId
- the userIdobj
- the objmethodName
- the methodNamejava.lang.Exception
- an unexpected exceptionprotected void auditEdits(int userId, java.lang.Object obj, int objectId, java.lang.String methodName) throws java.lang.Exception
userId
- the userIdobj
- the objobjectId
- the objectIdmethodName
- the methodNamejava.lang.Exception
- an unexpected exceptionprotected void auditEdits(int userId, java.lang.Object obj, java.lang.String key, java.lang.String methodName) throws java.lang.Exception
userId
- the userIdobj
- the objkey
- any String keymethodName
- the methodNamejava.lang.Exception
- an unexpected exceptionprotected void auditEdits(int userId, java.lang.Object obj, int objectId, java.lang.String key, java.lang.String methodName) throws java.lang.Exception
userId
- the userIdobj
- the objobjectId
- the objectIdkey
- any String keymethodName
- the methodNamejava.lang.Exception
- an unexpected exceptionprotected void auditReads(int userId, int objectId, java.lang.String methodName) throws java.lang.Exception
userId
- the userIdobjectId
- the objectIdmethodName
- the methodNamejava.lang.Exception
- an unexpected exceptionprotected void auditReads(int userId, java.lang.String object, java.lang.String methodName) throws java.lang.Exception
userId
- the userIdobject
- the objectmethodName
- the methodNamejava.lang.Exception
- an unexpected exceptionprotected void auditDeletes(int userId, java.lang.Object obj, java.lang.String methodName) throws java.lang.Exception
userId
- the userIdobj
- the objmethodName
- the methodNamejava.lang.Exception
- an unexpected exceptionprotected void auditDeletes(int userId, java.lang.Object obj, int objectId, java.lang.String methodName) throws java.lang.Exception
userId
- the userIdobj
- the objobjectId
- the objectIdmethodName
- the methodNamejava.lang.Exception
- an unexpected exceptionprotected void auditDeletes(int userId, int objectId, java.lang.String methodName) throws java.lang.Exception
userId
- the userIdobjectId
- the objectIdmethodName
- the methodNamejava.lang.Exception
- an unexpected exceptionprotected void auditDeletes(int userId, java.lang.String objAsString, java.lang.String methodName) throws java.lang.Exception
userId
- the userIdobjAsString
- the objAsStringmethodName
- the methodNamejava.lang.Exception
- an unexpected exceptionprotected void auditDeletesForArray(int userId, java.lang.Object[] objArray, int objectId, java.lang.String methodName) throws java.lang.Exception
userId
- the userIdobjArray
- the objArrayobjectId
- the objectIdmethodName
- the methodNamejava.lang.Exception
- an unexpected exceptionprotected void checkManagerExists(java.lang.Object mgr, java.lang.String functionalityName) throws KKAdminException
mgr
- the mgrfunctionalityName
- the functionalityNameKKAdminException
- unexpected exception in the KonaKart Admin Enginepublic static com.konakart.clientlogging.LogMgr getLogMgr()
public AdminProductMgrIf getAdminProductMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminMiscPriceMgrIf getAdminMiscPriceMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminModulesMgrIf getModulesMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminLanguageMgrIf getAdminLanguageMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminCurrencyMgrIf getAdminCurrencyMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminCategoryMgrIf getAdminCategoryMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminManufacturerMgrIf getAdminManufacturerMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminHtmlMgrIf getAdminHtmlMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminPdfMgrIf getAdminPdfMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminFileMgrIf getAdminFileMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminFilterMgrIf getAdminFilterMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminReportMgrIf getAdminReportMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminEventMgrIf getAdminEventMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionprotected AdminSearchRuleMgrIf getAdminSearchRuleMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminReviewMgrIf getAdminReviewMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminEmailMgrIf getAdminEmailMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminMessageMgrIf getAdminMessageMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminValidationMgrIf getAdminValidationMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminPromotionMgrIf getAdminPromotionMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminRemoteAccessMgrIf getAdminRemoteAccessMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminAuditMgrIf getAdminAuditMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminSecurityMgrIf getAdminSecurityMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminStoreMgrIf getAdminStoreMgr() throws KKAdminException
KKAdminException
- unexpected exception in the KonaKart Admin Enginepublic AdminConfigurationMgrIf getAdminConfigurationMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminContentMgrIf getAdminContentMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminOrderMgrIf getAdminOrderMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminTaxMgrIf getAdminTaxMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminTagMgrIf getAdminTagMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminWishListMgrIf getAdminWishListMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminCustomerTagMgrIf getAdminCustomerTagMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminProdAttrMgrIf getAdminProdAttrMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminRewardPointMgrIf getAdminRewardPointMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminAddressMgrIf getAdminAddressMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminBillingMgrIf getAdminBillingMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminSchedulerMgrIf getAdminSchedulerMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminDataIntegrityMgrIf getAdminDataIntegrityMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminCustomerMgrIf getAdminCustomerMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminCustomerPwdHistMgrIf getAdminCustomerPwdHistMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminSolrMgrIf getAdminSolrMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminBookableProductMgrIf getAdminBookableProductMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminMiscItemMgrIf getAdminMiscItemMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminShipmentMgrIf getAdminShipmentMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminSuggestionMgrIf getAdminSuggestionMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic AdminExecuteMgrIf getAdminExecuteMgr() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionpublic java.lang.String getKonakartAdminPropsFilePath()
public void setKonakartAdminPropsFilePath(java.lang.String konakartAdminPropsFilePath)
konakartAdminPropsFilePath
- The konakartAdminPropsFilePath to set.public java.lang.String getKonakartAdminPropsFileName()
public void setKonakartAdminPropsFileName(java.lang.String konakartAdminPropsFileName)
konakartAdminPropsFileName
- The konakartAdminPropsFileName to set.public boolean isSingleStoreMode()
public AdminEngineConfig getEngConf()
protected java.lang.String getEngineId()
protected java.lang.String getEngineModeStr()
protected java.lang.String getEngineShareMode()
public void setEngConf(AdminEngineConfig engConf)
engConf
- The engConf to set.public KKAdmin getAdminEng()
public void setAdminEng(KKAdmin adminEng)
adminEng
- The adminEng to set.protected static java.lang.String getConfigFile()
public static boolean isTorqueInit()
protected KKAdminException manageThrowable(java.lang.Throwable e)
e
- the eprotected KKAdminException manageThrowable(java.lang.Throwable e, boolean notifyByEmail)
e
- the enotifyByEmail
- If true notify the exception by email if the config value is set. If false we
never notify the exception by email.protected java.lang.String getStoreName(AdminConfigurationMgrIf adminConfMgr)
adminConfMgr
- An AdminConfigurationMgrprotected java.lang.String getKkInstanceId() throws KKAdminException
KKAdminException
- an unexpected KKAdminException exceptionprotected void checkEnterpriseForExtPriceOrExtQuantity(AdminProductMgrOptions mgrOptions) throws KKAdminException
mgrOptions
- the mgrOptionsKKAdminException
- an unexpected KKAdminException exceptionprotected void checkEnterpriseForCatalog() throws KKAdminException
KKAdminException
- an unexpected KKAdminException exceptionprotected boolean excludedException(java.lang.String message)
message
- the exception messagepublic java.util.Set<java.lang.String> getEmailReportingExclusions()
protected boolean checkLicense() throws KKAdminException
KKAdminException
- if the license is not validCopyright © 2018 DS Data Systems UK Ltd.