public class MiscItemMgr extends BaseMgr implements MiscItemMgrIf
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
the log
|
templateBaseDir
Constructor and Description |
---|
MiscItemMgr(KKEngIf eng)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
doProdMiscItemsExist()
Returns true if at least one product MiscItem record exists in the database.
|
MiscItem[] |
getMiscItemsPerCategory(int categoryId,
int languageId)
Get an array of MiscItem objects for a category.
|
MiscItem[] |
getMiscItemsPerProduct(int productId,
int languageId)
Get an array of MiscItem objects for a product.
|
MiscItem[] |
getMiscItemsPerType(int typeId,
int languageId)
Get an array of MiscItem objects for a type.
|
protected MiscItem[] |
getMiscItemsPrivate(int objId,
int objType,
int itemType,
int languageId)
Get an array of MiscItem objects for a product or category.
|
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
public MiscItemMgr(KKEngIf eng) throws java.lang.Exception
eng
- the engjava.lang.Exception
- an unexpected exceptionpublic MiscItem[] getMiscItemsPerType(int typeId, int languageId) throws java.lang.Exception
getMiscItemsPerType
in interface MiscItemMgrIf
typeId
- the typeIdlanguageId
- the languageIdjava.lang.Exception
- an unexpected exceptionpublic MiscItem[] getMiscItemsPerProduct(int productId, int languageId) throws java.lang.Exception
getMiscItemsPerProduct
in interface MiscItemMgrIf
productId
- the productIdlanguageId
- the languageIdjava.lang.Exception
- an unexpected exceptionpublic MiscItem[] getMiscItemsPerCategory(int categoryId, int languageId) throws java.lang.Exception
getMiscItemsPerCategory
in interface MiscItemMgrIf
categoryId
- the categoryIdlanguageId
- the languageIdjava.lang.Exception
- an unexpected exceptionprotected MiscItem[] getMiscItemsPrivate(int objId, int objType, int itemType, int languageId) throws java.lang.Exception
objId
- the objIdobjType
- the objTypeitemType
- the itemTypelanguageId
- the languageIdjava.lang.Exception
- an unexpected exceptionpublic boolean doProdMiscItemsExist() throws java.lang.Exception
doProdMiscItemsExist
in interface MiscItemMgrIf
java.lang.Exception
- an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.