com.konakart.bl
Class MiscItemMgr

java.lang.Object
  extended by com.konakart.bl.BaseMgr
      extended by com.konakart.bl.MiscItemMgr
All Implemented Interfaces:
MiscItemMgrIf

public class MiscItemMgr
extends BaseMgr
implements MiscItemMgrIf

The AdminMiscItemMgr - for Managing Miscellaneous Item Objects for the Admin Application


Field Summary
protected static org.apache.commons.logging.Log log
          the log
 
Fields inherited from class com.konakart.bl.BaseMgr
templateBaseDir
 
Constructor Summary
MiscItemMgr(KKEngIf eng)
          Constructor
 
Method Summary
 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.
protected  MiscItem[] getMiscItemsPrivate(int objId, int objType, int languageId)
          Get an array of MiscItem objects for a product or category.
 
Methods inherited from class com.konakart.bl.BaseMgr
addInsertAttr, addInsertAttr, checkRequired, getAdminEngMgr, getBasketMgr, getBillingMgr, getBookableProductMgr, getCatMgr, getConfigMgr, getCookieMgr, getCurrMgr, getCustMgr, getCustomerIdFromSession, getCustomerStatsMgr, getCustomerTagMgr, getEmailMgr, getEng, getLangMgr, getManuMgr, getMiscItemMgr, getMode, getModeString, getMqMgr, getMultiStoreMgr, getNewCriteria, getNewCriteria, getOrderMgr, getOrderTotalMgr, getPaymentMgr, getProdMgr, getPromMgr, getRewardPointMgr, getSecMgr, getShippingMgr, getSolrMgr, getStoreId, getTaxMgr, getTemplate, getTemplateRoot, getVelocityContextMgr, getWishListMgr, init, isEnterprise, isMultiStoreShareCustomers, isMultiStoreShareProducts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
the log

Constructor Detail

MiscItemMgr

public MiscItemMgr(KKEngIf eng)
            throws java.lang.Exception
Constructor

Parameters:
eng -
Throws:
java.lang.Exception
Method Detail

getMiscItemsPerProduct

public MiscItem[] getMiscItemsPerProduct(int productId,
                                         int languageId)
                                  throws java.lang.Exception
Get an array of MiscItem objects for a product. The objects are grouped by Type.

Specified by:
getMiscItemsPerProduct in interface MiscItemMgrIf
Parameters:
productId -
languageId -
Returns:
Returns an array of MiscItems objects or an empty array
Throws:
java.lang.Exception

getMiscItemsPerCategory

public MiscItem[] getMiscItemsPerCategory(int categoryId,
                                          int languageId)
                                   throws java.lang.Exception
Get an array of MiscItem objects for a category. The objects are grouped by Type.

Specified by:
getMiscItemsPerCategory in interface MiscItemMgrIf
Parameters:
categoryId -
languageId -
Returns:
Returns an array of MiscItems objects or an empty array
Throws:
java.lang.Exception

getMiscItemsPrivate

protected MiscItem[] getMiscItemsPrivate(int objId,
                                         int objType,
                                         int languageId)
                                  throws java.lang.Exception
Get an array of MiscItem objects for a product or category. The objects are grouped by Type.

Parameters:
objId -
objType -
languageId -
Returns:
Returns an array of MiscItems objects or an empty array
Throws:
java.lang.Exception


Copyright © 2011 DS Data Systems UK Ltd.