com.konakart.bl
Class ReorderMgr

java.lang.Object
  extended by com.konakart.bl.BaseMgr
      extended by com.konakart.bl.ReorderMgr
All Implemented Interfaces:
ReorderMgrInterface

public class ReorderMgr
extends BaseMgr
implements ReorderMgrInterface

A demo implementation of the reorder manager.


Field Summary
protected static org.apache.commons.logging.Log log
          the log
 
Fields inherited from class com.konakart.bl.BaseMgr
templateBaseDir
 
Constructor Summary
ReorderMgr(KKEngIf eng)
          Constructor
 
Method Summary
 void reorder(int productId, java.lang.String sku, int currentQuantity)
          Called when the stock level of a product has fallen below the limit.
 
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

ReorderMgr

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

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

reorder

public void reorder(int productId,
                    java.lang.String sku,
                    int currentQuantity)
             throws java.lang.Exception
Called when the stock level of a product has fallen below the limit. The sku (if available) is passed as a parameter along with the product id.

Specified by:
reorder in interface ReorderMgrInterface
Parameters:
productId -
sku -
currentQuantity -
Throws:
java.lang.Exception


Copyright © 2011 DS Data Systems UK Ltd.