public class InstallDefaultModule extends ModuleUtils
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
log
logger
|
(package private) static java.lang.String |
usage |
MODULE_TYPE_ORDERTOTAL, MODULE_TYPE_OTHER, MODULE_TYPE_PAYMENT, MODULE_TYPE_SHIPPING
Constructor and Description |
---|
InstallDefaultModule() |
Modifier and Type | Method and Description |
---|---|
static boolean |
installModule()
Install the module
|
static int |
installModule(java.lang.String[] args)
Install the module
|
protected static void |
installOrderTotalModule() |
protected static void |
installOtherModule() |
protected static void |
installPaymentModule() |
protected static void |
installShippingModule() |
static void |
main(java.lang.String[] args) |
getAdminEngineClassname, getAnEng, getCodeForModuleName, getConfigs, getEng, getEngineMode, getImplementationForModuleName, getInstalled, getModuleName, getModuleType, getOrderTotalModuleForName, getOtherModuleForName, getPassword, getPaymentModuleForName, getSessionId, getShippingModuleForName, getStoreId, getUsername, isCategoriesShared, isCustomersShared, isMultiStoreSingleDB, isProductsShared, moduleClassForModuleName, processArgs, setAdminEngineClassname, setCategoriesShared, setConfigs, setCustomersShared, setEng, setEngineMode, setModuleName, setModuleType, setPassword, setProductsShared, setSessionId, setStoreId, setUsername
public static org.apache.commons.logging.Log log
static final java.lang.String usage
public static void main(java.lang.String[] args)
args
- the argspublic static int installModule(java.lang.String[] args)
args
- command line argumentspublic static boolean installModule() throws KKAdminException, org.apache.torque.TorqueException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException, java.lang.reflect.InvocationTargetException, java.net.UnknownHostException
KKAdminException
- an unexpected exception in the KonaKart Admin engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)java.lang.reflect.InvocationTargetException
- an unexpected InvocationTargetException exceptionjava.lang.ClassNotFoundException
- an unexpected ClassNotFoundException exceptionjava.lang.IllegalAccessException
- an unexpected IllegalAccessException exceptionjava.lang.InstantiationException
- an unexpected InstantiationException exceptionjava.lang.IllegalArgumentException
- an unexpected IllegalArgumentException exceptionjava.net.UnknownHostException
- an unexpected UnknownHostException exceptionprotected static void installShippingModule() throws KKAdminException
KKAdminException
protected static void installOtherModule() throws KKAdminException, org.apache.torque.TorqueException
KKAdminException
org.apache.torque.TorqueException
protected static void installOrderTotalModule() throws KKAdminException, org.apache.torque.TorqueException
KKAdminException
org.apache.torque.TorqueException
protected static void installPaymentModule() throws KKAdminException, java.net.UnknownHostException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException, java.lang.reflect.InvocationTargetException
KKAdminException
java.net.UnknownHostException
java.lang.IllegalArgumentException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.reflect.InvocationTargetException
Copyright © 2018 DS Data Systems UK Ltd.