public class SuggestionMgrEE extends SuggestionMgr implements SuggestionMgrIf
Modifier and Type | Class and Description |
---|---|
protected class |
SuggestionMgrEE.StaticData
Used to store the static data of this manager
|
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
the log
|
protected static java.lang.String |
mutex
mutex
|
protected static java.util.Map<java.lang.String,SuggestionMgrEE.StaticData> |
staticDataHM
Hash Map that contains the static data
|
templateBaseDir
Constructor and Description |
---|
SuggestionMgrEE(KKEngIf eng)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected int |
addSearchCriteria(KKCriteria c,
DataDescriptorIf dataDesc) |
protected void |
addSuggestionAttributes(KKCriteria c) |
protected void |
addSuggestionOrderBy(KKCriteria c,
DataDescriptorIf dataDesc) |
protected int |
addSuggestionSearchCriteria(KKCriteria c,
SuggestionIf search) |
SuggestionIf[] |
getSuggestions(SuggestionIf suggestion,
DataDescriptorIf dataDesc)
This retrieves Suggestion objects from the database.
|
void |
refreshConfigs()
Refresh the configuration
|
protected void |
setSuggestionOrderBy(KKCriteria c,
java.lang.String orderBy) |
acquireLock, addInsertAttr, addInsertAttr, addStringRuleConstraint, addStringRuleConstraint, checkRequired, escapeHTML, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, getAdminEngMgr, getBasketMgr, getBillingMgr, getBookableProductMgr, getCacheMgr, getCatMgr, getConfigMgr, getCookieMgr, getCurrMgr, getCustMgr, getCustomerIdFromSession, getCustomerStatsMgr, getCustomerTagMgr, getEmailMgr, getEng, getEventMgr, getExportMgr, getHTMLEscaper, getKonaKartConfig, getKonaKartConfig, getKonaKartConfig, getLangMgr, getManuMgr, getMiscItemMgr, getMiscPriceMgr, getMode, getModeString, getMqMgr, getMultiStoreMgr, getNewCriteria, getNewCriteria, getOrderIntegrationMgr, getOrderMgr, getOrderTotalMgr, getPaymentMgr, getProdMgr, getProductsToCategoresCriteria, getPromMgr, getPunchOutMgr, getRewardPointMgr, getSecMgr, getShippingMgr, getSolrMgr, getStoreId, getStoreMgr, getStoreTime, getSuggestionMgr, getTaxMgr, getTemplate, getTemplateRoot, getVelocityContextMgr, getWishListMgr, init, insertKKEvent, insertKKEvent, isBusiness, isBusinessOrEnterprise, isClassPresent, isCommunity, isDeadlockException, isEnterprise, isMultiStoreShareCategories, isMultiStoreShareCustomers, isMultiStoreShareCustomersOrProducts, isMultiStoreSharedDb, isMultiStoreShareProducts, isMultiVendor, isUnix, manageThrowable, releaseLock, updateStaticVariablesNow
protected static org.apache.commons.logging.Log log
protected static java.lang.String mutex
protected static java.util.Map<java.lang.String,SuggestionMgrEE.StaticData> staticDataHM
public SuggestionMgrEE(KKEngIf eng) throws java.lang.Exception
eng
- the engjava.lang.Exception
- an unexpected exceptionpublic SuggestionIf[] getSuggestions(SuggestionIf suggestion, DataDescriptorIf dataDesc) throws com.konakart.app.KKException
SuggestionMgrIf
The where clause for the select will be created by using the values in the suggestion parameter.
getSuggestions
in interface SuggestionMgrIf
getSuggestions
in class SuggestionMgr
suggestion
- Used to define the searchdataDesc
- data descriptor for defining generic search parameters such as size and offsetcom.konakart.app.KKException
- an unexpected exception in the KonaKart Admin engineprotected void addSuggestionAttributes(KKCriteria c)
protected int addSearchCriteria(KKCriteria c, DataDescriptorIf dataDesc)
protected int addSuggestionSearchCriteria(KKCriteria c, SuggestionIf search) throws com.konakart.app.KKException
com.konakart.app.KKException
protected void addSuggestionOrderBy(KKCriteria c, DataDescriptorIf dataDesc)
protected void setSuggestionOrderBy(KKCriteria c, java.lang.String orderBy)
public void refreshConfigs() throws com.konakart.app.KKException
refreshConfigs
in interface SuggestionMgrIf
refreshConfigs
in class SuggestionMgr
com.konakart.app.KKException
- unexpected exception in the KonaKart EngineCopyright © 2018 DS Data Systems UK Ltd.