|
|||||||||
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 ModuleInterface
moduleName
- the module's ClassName (only the final part, not including the package)public java.lang.String getClassPrefix()
getClassPrefix
in interface ModuleInterface
public int getModuleType()
getModuleType
in interface ModuleInterface
public java.lang.String getModuleTitle()
getModuleTitle
in interface ModuleInterface
public void install() throws com.konakart.app.KKException
ModuleInterface
install
in interface ModuleInterface
com.konakart.app.KKException
- if something unexpected happens with the databasepublic boolean installed() throws com.konakart.app.KKException
ModuleInterface
installed
in interface ModuleInterface
com.konakart.app.KKException
- if something unexpected happens with the databasepublic void remove() throws com.konakart.app.KKException
ModuleInterface
remove
in interface ModuleInterface
com.konakart.app.KKException
- if something unexpected happens with the databasepublic KKConfiguration[] getConfigs()
getConfigs
in interface ModuleInterface
public void setConfigs(KKConfiguration[] theConfigs)
theConfigs
- the configs to setpublic void setKeys(java.lang.String[] theKeys)
theKeys
- the keys to setpublic java.lang.String[] getKeys() throws com.konakart.app.KKException
getKeys
in interface ModuleInterface
com.konakart.app.KKException
public java.util.ResourceBundle getMsgs()
public void setMsgs(java.util.ResourceBundle theMsgs)
theMsgs
- public java.lang.String getImplementationFileName()
getImplementationFileName
in interface ModuleInterface
public void setImplementationFileName(java.lang.String implementationFileName)
implementationFileName
- the implementationFileName to setpublic java.lang.String getConfigKeyStub()
getConfigKeyStub
in interface ModuleInterface
public void setConfigKeyStub(java.lang.String configKeyStub)
setConfigKeyStub
in interface ModuleInterface
configKeyStub
- the configKeyStub to setpublic int getModuleSubType()
getModuleSubType
in interface ModuleInterface
public java.lang.String getModuleCode()
getModuleCode
in interface ModuleInterface
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |