public class AdminSuggestionMgr extends AdminBaseMgr implements AdminSuggestionMgrIf
AdminBaseMgr.StaticData
Modifier and Type | Field and Description |
---|---|
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 |
---|
AdminSuggestionMgr(KKAdminIf eng)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
deleteSuggestions(AdminSuggestion suggestion)
This deletes suggestion records from the database.
|
AdminSuggestionSearchResult |
getSuggestions(AdminSuggestion suggestion,
AdminDataDescriptor dataDesc)
This retrieves AdminSuggestion objects from the database.
|
void |
insertSuggestions(AdminSuggestion[] suggestions)
This inserts AdminSuggestion objects into the database.
|
void |
refreshConfigs()
Refresh the configuration of the AdminSuggestionMgr
|
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, updateStaticVariablesNow
public AdminSuggestionMgr(KKAdminIf eng) throws java.lang.Exception
eng
- the KKAdmin enginejava.lang.Exception
- an unexpected exceptionpublic void refreshConfigs() throws KKAdminException
refreshConfigs
in class AdminBaseMgr
KKAdminException
- unexpected exception in the KonaKart Admin Enginepublic AdminSuggestionSearchResult getSuggestions(AdminSuggestion suggestion, AdminDataDescriptor dataDesc) throws KKAdminException
AdminSuggestionMgrIf
The where clause for the select will be created by using the values in the suggestion parameter.
getSuggestions
in interface AdminSuggestionMgrIf
suggestion
- Used to define the searchdataDesc
- data descriptor for defining generic search parameters such as size and offsetKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic void insertSuggestions(AdminSuggestion[] suggestions) throws KKAdminException
AdminSuggestionMgrIf
For Product Suggestion types the boughtProductId attribute must be set on the AdminSuggestion objects.
For Customer Suggestion types the customerId attribute must be set on the AdminSuggestion objects.
insertSuggestions
in interface AdminSuggestionMgrIf
suggestions
- An array of AdminSuggestion objectsKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic void deleteSuggestions(AdminSuggestion suggestion) throws KKAdminException
AdminSuggestionMgrIf
deleteSuggestions
in interface AdminSuggestionMgrIf
suggestion
- An AdminSuggestion object that is used to specify the records to delete.KKAdminException
- an unexpected exception in the KonaKart Admin engineCopyright © 2018 DS Data Systems UK Ltd.