|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakartadmin.modules.Module
com.konakartadmin.modules.ShippingModule
public class ShippingModule
Implements the ShippingModule interface
| Field Summary | |
|---|---|
private static java.lang.String |
classPrefix
|
| Fields inherited from class com.konakartadmin.modules.Module |
|---|
configKeyStub, configs, implementationFileName, keys, log |
| Fields inherited from interface com.konakartadmin.modules.ModuleInterface |
|---|
MODULE_SUB_TYPE_PROMOTION, MODULE_TYPE_ORDER_TOTAL, MODULE_TYPE_OTHER, MODULE_TYPE_PAYMENT, MODULE_TYPE_SHIPPING |
| Constructor Summary | |
|---|---|
ShippingModule()
Constructor |
|
| Method Summary | |
|---|---|
com.konakart.app.ExportOrderResponse |
exportOrderForShipping(AdminOrder order,
com.konakart.app.ExportOrderOptions options,
KKAdminIf adminEng)
Export the order for shipping. |
protected AdminOrderMgrIf |
getAdminOrderMgr(KKAdminIf adminEng)
Retrieve a new AndminOrderMgr object |
java.lang.String |
getClassPrefix()
|
java.lang.String |
getConfigKeyStub()
|
protected java.lang.String |
getConfigVariable(KKAdminIf adminEng,
java.lang.String key)
Retrieve the value of the configuration variable with the specified key |
int |
getModuleType()
|
protected java.lang.String |
getOrderExportBase(KKAdminIf adminEng)
Retrieve the base directory for the exported orders. |
protected java.math.BigDecimal |
getWeightOfOrder(AdminOrder order)
Calculate the total weight of the order |
java.lang.String |
toString()
|
| Methods inherited from class com.konakartadmin.modules.Module |
|---|
getConfigs, getImplementationFileName, getKeys, getModuleCode, getModuleSubType, getModuleTitle, getMsgs, init, install, installed, remove, setConfigKeyStub, setConfigs, setImplementationFileName, setKeys, setMsgs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.konakartadmin.modules.ModuleInterface |
|---|
getConfigs, getImplementationFileName, getKeys, getModuleCode, getModuleSubType, getModuleTitle, init, install, installed, remove, setConfigKeyStub |
| Field Detail |
|---|
private static java.lang.String classPrefix
| Constructor Detail |
|---|
public ShippingModule()
| Method Detail |
|---|
public java.lang.String getClassPrefix()
getClassPrefix in interface ModuleInterfacegetClassPrefix in class Modulepublic int getModuleType()
getModuleType in interface ModuleInterfacegetModuleType in class Modulepublic java.lang.String getConfigKeyStub()
getConfigKeyStub in interface ModuleInterfacegetConfigKeyStub in class Modulepublic java.lang.String toString()
toString in interface ModuleInterfacetoString in class java.lang.Object
public com.konakart.app.ExportOrderResponse exportOrderForShipping(AdminOrder order,
com.konakart.app.ExportOrderOptions options,
KKAdminIf adminEng)
throws KKAdminException
ShippingModuleInterface
exportOrderForShipping in interface ShippingModuleInterfaceorder - AdminOrder object to export for shippingoptions - Defines the options to use for the export of the OrderadminEng - A KKAdmin engine which may be useful for accessing configuration variables etc.
KKAdminExceptionprotected java.math.BigDecimal getWeightOfOrder(AdminOrder order)
order - the Order
KKAdminException
protected java.lang.String getOrderExportBase(KKAdminIf adminEng)
throws KKAdminException
adminEng - the admin engine
EXPORT_ORDERS_BASE_DIRECTORY/storeId/KKConstants.EXP_ORDER_BY_SHIPPING_MODULE/code
KKAdminException - when there are problems accessing the configuration variable
protected java.lang.String getConfigVariable(KKAdminIf adminEng,
java.lang.String key)
throws KKAdminException
adminEng - the admin engine
KKAdminException - when there are problems accessing the configuration variable
protected AdminOrderMgrIf getAdminOrderMgr(KKAdminIf adminEng)
throws KKAdminException
adminEng - the admin engine
KKAdminException - when there are problems creating an AdminOrderMgr object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||