com.konakart.bl.modules
Class BaseModule

java.lang.Object
  extended by com.konakart.bl.modules.BaseModule
Direct Known Subclasses:
BaseOrderTotalModule, BasePaymentModule, BaseShippingModule

public class BaseModule
extends java.lang.Object

Base class for all modules.


Field Summary
static java.lang.String basePackage
          Base package
 
Constructor Summary
BaseModule()
           
 
Method Summary
protected  BasketMgrIf getBasketMgr()
           
protected  CategoryMgrIf getCatMgr()
           
protected  ConfigurationMgrIf getConfigMgr()
           
protected  CurrencyMgrIf getCurrMgr()
           
protected  CustomerMgrIf getCustMgr()
           
protected  EmailMgrIf getEmailMgr()
           
protected  KKEng getEng()
           
protected  LanguageMgrIf getLangMgr()
           
protected  MultiStoreMgrIf getMultiStoreMgr()
           
protected  OrderMgrIf getOrderMgr()
           
protected  OrderTotalMgrIf getOrderTotalMgr()
           
protected  PaymentMgrIf getPaymentMgr()
           
protected  ProductMgrIf getProdMgr()
           
protected  PromotionMgrIf getPromMgr()
           
protected  java.util.ResourceBundle getResourceBundle(java.lang.String mutex, java.lang.String bundleName, java.util.HashMap<java.util.Locale,java.util.ResourceBundle> resourceBundleMap, java.util.Locale locale)
          The resource bundle is fetched for the locale and stored in a static hash table.
protected  RewardPointMgrIf getRewardPointMgr()
           
protected  SecurityMgrIf getSecMgr()
           
protected  ShippingMgrIf getShippingMgr()
           
protected  SolrMgrIf getSolrMgr()
           
protected  java.lang.String getStoreId()
          Return the storeId
protected  TaxMgrIf getTaxMgr()
           
protected  void init(KKEngIf engine)
          Init method called from the super class.
protected  boolean isAvailable(KKEng engine, java.lang.String configKey)
          Returns true or false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

basePackage

public static final java.lang.String basePackage
Base package

See Also:
Constant Field Values
Constructor Detail

BaseModule

public BaseModule()
Method Detail

init

protected void init(KKEngIf engine)
Init method called from the super class.

Parameters:
engine -

getResourceBundle

protected java.util.ResourceBundle getResourceBundle(java.lang.String mutex,
                                                     java.lang.String bundleName,
                                                     java.util.HashMap<java.util.Locale,java.util.ResourceBundle> resourceBundleMap,
                                                     java.util.Locale locale)
                                              throws KKException
The resource bundle is fetched for the locale and stored in a static hash table. Next time around it is retrieved from the hash table.

Parameters:
bundleName -
resourceBundleMap -
locale -
Returns:
The resource bundle referenced by the locale
Throws:
KKException

isAvailable

protected boolean isAvailable(KKEng engine,
                              java.lang.String configKey)
                       throws KKException
Returns true or false

Throws:
KKException

getStoreId

protected java.lang.String getStoreId()
                               throws KKException
Return the storeId

Returns:
Return the storeId
Throws:
KKException

getEng

protected KKEng getEng()
Returns:
Returns the engine instance

getTaxMgr

protected TaxMgrIf getTaxMgr()
                      throws java.lang.Exception
Throws:
java.lang.Exception

getLangMgr

protected LanguageMgrIf getLangMgr()
                            throws java.lang.Exception
Throws:
java.lang.Exception

getCustMgr

protected CustomerMgrIf getCustMgr()
                            throws java.lang.Exception
Throws:
java.lang.Exception

getConfigMgr

protected ConfigurationMgrIf getConfigMgr()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getProdMgr

protected ProductMgrIf getProdMgr()
                           throws java.lang.Exception
Throws:
java.lang.Exception

getCurrMgr

protected CurrencyMgrIf getCurrMgr()
                            throws java.lang.Exception
Throws:
java.lang.Exception

getSecMgr

protected SecurityMgrIf getSecMgr()
                           throws java.lang.Exception
Throws:
java.lang.Exception

getCatMgr

protected CategoryMgrIf getCatMgr()
                           throws java.lang.Exception
Throws:
java.lang.Exception

getEmailMgr

protected EmailMgrIf getEmailMgr()
                          throws java.lang.Exception
Throws:
java.lang.Exception

getOrderMgr

protected OrderMgrIf getOrderMgr()
                          throws java.lang.Exception
Throws:
java.lang.Exception

getPromMgr

protected PromotionMgrIf getPromMgr()
                             throws java.lang.Exception
Throws:
java.lang.Exception

getBasketMgr

protected BasketMgrIf getBasketMgr()
                            throws java.lang.Exception
Throws:
java.lang.Exception

getShippingMgr

protected ShippingMgrIf getShippingMgr()
                                throws java.lang.Exception
Throws:
java.lang.Exception

getPaymentMgr

protected PaymentMgrIf getPaymentMgr()
                              throws java.lang.Exception
Throws:
java.lang.Exception

getOrderTotalMgr

protected OrderTotalMgrIf getOrderTotalMgr()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getSolrMgr

protected SolrMgrIf getSolrMgr()
                        throws java.lang.Exception
Throws:
java.lang.Exception

getMultiStoreMgr

protected MultiStoreMgrIf getMultiStoreMgr()

getRewardPointMgr

protected RewardPointMgrIf getRewardPointMgr()
                                      throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2011 DS Data Systems UK Ltd.