com.konakart.bl
Class MgrFactory

java.lang.Object
  extended by com.konakart.bl.MgrFactory

public class MgrFactory
extends java.lang.Object

Used to instantiate managers


Field Summary
protected static org.apache.commons.logging.Log log
          the log
 
Constructor Summary
MgrFactory(KKEngIf eng)
          Constructor
 
Method Summary
 AdminEngineMgrIf getAdminEngineMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 BasketMgrIf getBasketMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 BillingMgrIf getBillingMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 BookableProductMgrIf getBookableProductMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 CategoryMgrIf getCatMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 ConfigurationMgrIf getConfigMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 CookieMgrIf getCookieMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 CurrencyMgrIf getCurrMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 CustomerMgrIf getCustMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 CustomerStatsMgrIf getCustomerStatsMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 CustomerTagMgrIf getCustomerTagMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 EmailMgrIf getEmailMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 LanguageMgrIf getLangMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 ManufacturerMgrIf getManuMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 MiscItemMgrIf getMiscItemMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 MqMgrIf getMqMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 MultiStoreMgrIf getMultiStoreMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 OrderMgrIf getOrderMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 OrderTotalMgrIf getOrderTotalMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 PaymentMgrIf getPaymentMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 ProductMgrIf getProdMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 PromotionMgrIf getPromMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 ReviewMgrIf getReviewMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 RewardPointMgrIf getRewardPointMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 SecurityMgrIf getSecMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 ShippingMgrIf getShippingMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 SolrMgrIf getSolrMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 StoreMgrIf getStoreMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 TaxMgrIf getTaxMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 VelocityContextMgrIf getVelocityContextMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 WishListMgrIf getWishListMgr(boolean createNew)
          Creates new manager or returns the existing manager.
 
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

MgrFactory

public MgrFactory(KKEngIf eng)
Constructor

Parameters:
eng -
Method Detail

getAdminEngineMgr

public AdminEngineMgrIf getAdminEngineMgr(boolean createNew)
                                   throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns an AdminEngineMgr instance
Throws:
java.lang.Exception

getTaxMgr

public TaxMgrIf getTaxMgr(boolean createNew)
                   throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a TaxMgr instance
Throws:
java.lang.Exception

getLangMgr

public LanguageMgrIf getLangMgr(boolean createNew)
                         throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a LanguageMgr instance
Throws:
java.lang.Exception

getCustMgr

public CustomerMgrIf getCustMgr(boolean createNew)
                         throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a CustomerMgr instance
Throws:
java.lang.Exception

getConfigMgr

public ConfigurationMgrIf getConfigMgr(boolean createNew)
                                throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a ConfigurationMgr instance
Throws:
java.lang.Exception

getProdMgr

public ProductMgrIf getProdMgr(boolean createNew)
                        throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a ProductMgr instance
Throws:
java.lang.Exception

getCurrMgr

public CurrencyMgrIf getCurrMgr(boolean createNew)
                         throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a CurrencyMgr instance
Throws:
java.lang.Exception

getSecMgr

public SecurityMgrIf getSecMgr(boolean createNew)
                        throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a SecurityMgr instance
Throws:
java.lang.Exception

getCatMgr

public CategoryMgrIf getCatMgr(boolean createNew)
                        throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a CategoryMgr instance
Throws:
java.lang.Exception

getEmailMgr

public EmailMgrIf getEmailMgr(boolean createNew)
                       throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a EmailMgr instance
Throws:
java.lang.Exception

getOrderMgr

public OrderMgrIf getOrderMgr(boolean createNew)
                       throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a OrderMgr instance
Throws:
java.lang.Exception

getPromMgr

public PromotionMgrIf getPromMgr(boolean createNew)
                          throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a PromotionMgr instance
Throws:
java.lang.Exception

getBasketMgr

public BasketMgrIf getBasketMgr(boolean createNew)
                         throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a BasketMgr instance
Throws:
java.lang.Exception

getShippingMgr

public ShippingMgrIf getShippingMgr(boolean createNew)
                             throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a ShippingMgr instance
Throws:
java.lang.Exception

getPaymentMgr

public PaymentMgrIf getPaymentMgr(boolean createNew)
                           throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a PaymentMgr instance
Throws:
java.lang.Exception

getOrderTotalMgr

public OrderTotalMgrIf getOrderTotalMgr(boolean createNew)
                                 throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a OrderTotalMgr instance
Throws:
java.lang.Exception

getSolrMgr

public SolrMgrIf getSolrMgr(boolean createNew)
                     throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a SolrMgr instance
Throws:
java.lang.Exception

getMiscItemMgr

public MiscItemMgrIf getMiscItemMgr(boolean createNew)
                             throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a MiscItemMgr instance
Throws:
java.lang.Exception

getMqMgr

public MqMgrIf getMqMgr(boolean createNew)
                 throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns an MqMgr instance
Throws:
java.lang.Exception

getWishListMgr

public WishListMgrIf getWishListMgr(boolean createNew)
                             throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a WishListMgr instance
Throws:
java.lang.Exception

getCookieMgr

public CookieMgrIf getCookieMgr(boolean createNew)
                         throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a CookieMgr instance
Throws:
java.lang.Exception

getMultiStoreMgr

public MultiStoreMgrIf getMultiStoreMgr(boolean createNew)
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a MultiStoreMgr instance

getCustomerTagMgr

public CustomerTagMgrIf getCustomerTagMgr(boolean createNew)
                                   throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a CustomerTagMgr instance
Throws:
java.lang.Exception

getCustomerStatsMgr

public CustomerStatsMgrIf getCustomerStatsMgr(boolean createNew)
                                       throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a CustomerStatsMgr instance
Throws:
java.lang.Exception

getBillingMgr

public BillingMgrIf getBillingMgr(boolean createNew)
                           throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a BillingMgr instance
Throws:
java.lang.Exception

getVelocityContextMgr

public VelocityContextMgrIf getVelocityContextMgr(boolean createNew)
                                           throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a VelocityContextMgr instance
Throws:
java.lang.Exception

getBookableProductMgr

public BookableProductMgrIf getBookableProductMgr(boolean createNew)
                                           throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a BookableProductMgr instance
Throws:
java.lang.Exception

getRewardPointMgr

public RewardPointMgrIf getRewardPointMgr(boolean createNew)
                                   throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a RewardPointMgr instance
Throws:
java.lang.Exception

getManuMgr

public ManufacturerMgrIf getManuMgr(boolean createNew)
                             throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a ManufacturerMgr instance
Throws:
java.lang.Exception

getReviewMgr

public ReviewMgrIf getReviewMgr(boolean createNew)
                         throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a ReviewMgr instance
Throws:
java.lang.Exception

getStoreMgr

public StoreMgrIf getStoreMgr(boolean createNew)
                       throws java.lang.Exception
Creates new manager or returns the existing manager.

Parameters:
createNew - Used to determine whether to create a new manager or return the existing one
Returns:
Returns a StoreMgr instance
Throws:
java.lang.Exception


Copyright © 2011 DS Data Systems UK Ltd.