|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakartadmin.modules.Module
public class Module
Implements the Module interface
| Field Summary | |
|---|---|
java.lang.String |
configKeyStub
the config Key Stub for the module |
KKConfiguration[] |
configs
the set of configuration values for the module |
java.lang.String |
implementationFileName
the implementation filename for the module |
java.lang.String[] |
keys
the configuration keys for the module |
protected static org.apache.commons.logging.Log |
log
|
private java.util.ResourceBundle |
msgs
|
| 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 | |
|---|---|
Module()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getClassPrefix()
|
java.lang.String |
getConfigKeyStub()
|
KKConfiguration[] |
getConfigs()
|
java.lang.String |
getImplementationFileName()
|
java.lang.String[] |
getKeys()
|
java.lang.String |
getModuleCode()
|
int |
getModuleSubType()
|
java.lang.String |
getModuleTitle()
|
int |
getModuleType()
|
java.util.ResourceBundle |
getMsgs()
|
void |
init(java.lang.String moduleName)
Initialise the Module |
void |
install()
Install the module |
boolean |
installed()
Is the module currently installed? |
void |
remove()
Remove the module |
void |
setConfigKeyStub(java.lang.String configKeyStub)
|
void |
setConfigs(KKConfiguration[] theConfigs)
|
void |
setImplementationFileName(java.lang.String implementationFileName)
|
void |
setKeys(java.lang.String[] theKeys)
|
void |
setMsgs(java.util.ResourceBundle theMsgs)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.konakartadmin.modules.ModuleInterface |
|---|
toString |
| Field Detail |
|---|
protected static org.apache.commons.logging.Log log
private java.util.ResourceBundle msgs
public java.lang.String[] keys
public java.lang.String implementationFileName
public java.lang.String configKeyStub
public KKConfiguration[] configs
| Constructor Detail |
|---|
public Module()
| Method Detail |
|---|
public void init(java.lang.String moduleName)
init in interface ModuleInterfacemoduleName - the module's ClassName (only the final part, not including the package)public java.lang.String getClassPrefix()
getClassPrefix in interface ModuleInterfacepublic int getModuleType()
getModuleType in interface ModuleInterfacepublic java.lang.String getModuleTitle()
getModuleTitle in interface ModuleInterface
public void install()
throws com.konakart.app.KKException
ModuleInterface
install in interface ModuleInterfacecom.konakart.app.KKException - if something unexpected happens with the database
public boolean installed()
throws com.konakart.app.KKException
ModuleInterface
installed in interface ModuleInterfacecom.konakart.app.KKException - if something unexpected happens with the database
public void remove()
throws com.konakart.app.KKException
ModuleInterface
remove in interface ModuleInterfacecom.konakart.app.KKException - if something unexpected happens with the databasepublic KKConfiguration[] getConfigs()
getConfigs in interface ModuleInterfacepublic void setConfigs(KKConfiguration[] theConfigs)
theConfigs - the configs to setpublic void setKeys(java.lang.String[] theKeys)
theKeys - the keys to set
public java.lang.String[] getKeys()
throws com.konakart.app.KKException
getKeys in interface ModuleInterfacecom.konakart.app.KKExceptionpublic java.util.ResourceBundle getMsgs()
public void setMsgs(java.util.ResourceBundle theMsgs)
theMsgs - public java.lang.String getImplementationFileName()
getImplementationFileName in interface ModuleInterfacepublic void setImplementationFileName(java.lang.String implementationFileName)
implementationFileName - the implementationFileName to setpublic java.lang.String getConfigKeyStub()
getConfigKeyStub in interface ModuleInterfacepublic void setConfigKeyStub(java.lang.String configKeyStub)
setConfigKeyStub in interface ModuleInterfaceconfigKeyStub - the configKeyStub to setpublic int getModuleSubType()
getModuleSubType in interface ModuleInterfacepublic java.lang.String getModuleCode()
getModuleCode in interface ModuleInterface
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||