|
|||||||||
| 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.ordertotal.OrderTotalMgr
public class OrderTotalMgr
Order Total Manager
| Nested Class Summary | |
|---|---|
protected class |
OrderTotalMgr.OrderTotalModuleSortOrderComparator
Used to sort the modules before they are called |
protected class |
OrderTotalMgr.OrderTotalSortOrderComparator
Used to sort the modules before they are displayed |
protected class |
OrderTotalMgr.StaticData
Used to store the static data of this manager |
| Field Summary | |
|---|---|
protected static org.apache.commons.logging.Log |
log
the log |
static java.lang.String |
LOWORDERFEE
ot_loworderfee |
protected static java.lang.String |
MODULE_ORDER_TOTAL_INSTALLED
|
protected static java.lang.String |
mutex
|
protected static java.lang.String |
mutex1
|
static java.lang.String |
ot_shipping
ot_shipping |
static java.lang.String |
ot_subtotal
ot_subtotal |
static java.lang.String |
ot_tax
ot_tax |
static java.lang.String |
ot_total
ot_total |
static java.lang.String |
SHIPPING
ot_shipping |
protected static java.util.Map<java.lang.String,OrderTotalMgr.StaticData> |
staticDataHM
Hash Map that contains the static data |
static java.lang.String |
SUBTOTAL
ot_subtotal |
static java.lang.String |
TAX
ot_tax |
static java.lang.String |
TOTAL
ot_total |
| Fields inherited from class com.konakart.bl.BaseMgr |
|---|
templateBaseDir |
| Constructor Summary | |
|---|---|
OrderTotalMgr(KKEngIf eng)
Constructor |
|
| Method Summary | |
|---|---|
OrderTotalInterface[] |
getAllOrderTotals()
Get a list of all installed order total modules |
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. |
Order |
getOrderTotals(OrderIf order,
int languageId)
Returns an Order object populated with an array of order total objects. |
void |
refreshConfigs()
Refreshes the configuration data for this manager |
| 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.lang.String mutex1
protected static java.util.Map<java.lang.String,OrderTotalMgr.StaticData> staticDataHM
public static final java.lang.String ot_total
public static final java.lang.String ot_shipping
public static final java.lang.String ot_subtotal
public static final java.lang.String ot_tax
protected static final java.lang.String MODULE_ORDER_TOTAL_INSTALLED
public static final java.lang.String TOTAL
public static final java.lang.String SUBTOTAL
public static final java.lang.String SHIPPING
public static final java.lang.String TAX
public static final java.lang.String LOWORDERFEE
| Constructor Detail |
|---|
public OrderTotalMgr(KKEngIf eng)
throws java.lang.Exception
eng -
java.lang.Exception| Method Detail |
|---|
public void refreshConfigs()
throws java.lang.Exception
OrderTotalMgrIf
refreshConfigs in interface OrderTotalMgrIfjava.lang.Exceptionprotected java.lang.String getJavaModuleName(java.lang.String moduleName)
There are however some special cases for osCommerce compatibility
moduleName -
public Order getOrderTotals(OrderIf order,
int languageId)
throws java.lang.Exception
OrderTotalMgrIf
getOrderTotals in interface OrderTotalMgrIforder - languageId -
java.lang.Exception
public OrderTotalInterface[] getAllOrderTotals()
throws KKException
getAllOrderTotals in interface OrderTotalMgrIfKKException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||