|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.bl.BaseMgr
com.konakart.bl.modules.shipping.ShippingMgr
public class ShippingMgr
Shipping Manager
| Nested Class Summary | |
|---|---|
protected class |
ShippingMgr.SortOrderComparator
|
protected class |
ShippingMgr.StaticData
Used to store the static data of this manager |
| Field Summary | |
|---|---|
protected static java.lang.String |
BOTH
|
protected static java.lang.String |
FREE_SHIPPING
|
protected static java.lang.String |
FREE_SHIPPING_DESCRIPTION
|
protected static java.lang.String |
FREE_SHIPPING_OVER
|
protected static java.lang.String |
FREE_SHIPPING_TITLE
|
protected static java.lang.String |
INTERNATIONAL
|
protected static org.apache.commons.logging.Log |
log
the log |
protected static java.lang.String |
MODULE_SHIPPING_INSTALLED
|
protected static java.lang.String |
mutex
|
protected static java.lang.String |
NATIONAL
|
protected static java.util.HashMap<java.util.Locale,java.util.ResourceBundle> |
resourceBundleMap
|
protected static java.lang.String |
SHIPPING_BOX_PADDING
|
protected static java.lang.String |
SHIPPING_BOX_WEIGHT
|
protected static java.lang.String |
SHIPPING_DESTINATION
|
protected static java.lang.String |
SHIPPING_MAX_WEIGHT
|
protected static java.lang.String |
SHIPPING_ORIGIN_COUNTRY
|
protected static java.lang.String |
SHIPPING_ORIGIN_ZIP
|
protected static java.util.Map<java.lang.String,ShippingMgr.StaticData> |
staticDataHM
Hash Map that contains the static data |
protected static java.lang.String |
STORE_COUNTRY
|
| Fields inherited from class com.konakart.bl.BaseMgr |
|---|
templateBaseDir |
| Constructor Summary | |
|---|---|
ShippingMgr(KKEngIf eng)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
checkOrder(Order order)
Checks the order to see whether all compulsory attributes are present |
protected java.lang.String |
getJavaModuleName(java.lang.String moduleName)
Whatever the module name is, the package name is the module name in lowercase and the class name starts with an upper case character |
java.util.ResourceBundle |
getResourceBundle(java.util.Locale locale)
The resource bundle is fetched for the locale and stored in a static hash table. |
protected ShippingInfo |
getShippingInfo()
|
ShippingQuote |
getShippingQuote(OrderIf order,
java.lang.String moduleName,
int languageId)
Returns a single ShippingQuote object for an order. |
ShippingQuote[] |
getShippingQuotes(OrderIf order,
int languageId)
Returns an array of available ShippingQuote objects for an order. |
protected ShippingQuote[] |
getShippingQuotesPrivate(OrderIf order,
java.lang.String moduleName,
int languageId)
|
void |
refreshConfigs()
Refresh Configuration Variables |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.commons.logging.Log log
protected static java.lang.String mutex
protected static java.util.HashMap<java.util.Locale,java.util.ResourceBundle> resourceBundleMap
protected static java.util.Map<java.lang.String,ShippingMgr.StaticData> staticDataHM
protected static final java.lang.String SHIPPING_ORIGIN_COUNTRY
protected static final java.lang.String SHIPPING_ORIGIN_ZIP
protected static final java.lang.String SHIPPING_MAX_WEIGHT
protected static final java.lang.String SHIPPING_BOX_WEIGHT
protected static final java.lang.String SHIPPING_BOX_PADDING
protected static final java.lang.String MODULE_SHIPPING_INSTALLED
protected static final java.lang.String FREE_SHIPPING
protected static final java.lang.String FREE_SHIPPING_OVER
protected static final java.lang.String SHIPPING_DESTINATION
protected static final java.lang.String STORE_COUNTRY
protected static final java.lang.String NATIONAL
protected static final java.lang.String INTERNATIONAL
protected static final java.lang.String BOTH
protected static final java.lang.String FREE_SHIPPING_TITLE
protected static final java.lang.String FREE_SHIPPING_DESCRIPTION
| Constructor Detail |
|---|
public ShippingMgr(KKEngIf eng)
throws java.lang.Exception
eng -
java.lang.Exception| Method Detail |
|---|
public void refreshConfigs()
throws java.lang.Exception
refreshConfigs in interface ShippingMgrIfjava.lang.Exception
protected ShippingInfo getShippingInfo()
throws KKException
KKException
public ShippingQuote[] getShippingQuotes(OrderIf order,
int languageId)
throws java.lang.Exception
ShippingMgrIf
getShippingQuotes in interface ShippingMgrIforder - languageId -
java.lang.Exception
public ShippingQuote getShippingQuote(OrderIf order,
java.lang.String moduleName,
int languageId)
throws java.lang.Exception
ShippingMgrIf
getShippingQuote in interface ShippingMgrIforder - moduleName - languageId -
java.lang.Exception
protected ShippingQuote[] getShippingQuotesPrivate(OrderIf order,
java.lang.String moduleName,
int languageId)
throws java.lang.Exception
order - languageId -
java.lang.Exceptionprotected java.lang.String getJavaModuleName(java.lang.String moduleName)
moduleName -
protected void checkOrder(Order order)
throws KKException
order -
KKException
public java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
throws KKException
getResourceBundle in interface ShippingMgrIflocale -
KKException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||