|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.app.EngineConfig
public class EngineConfig
Used to configure the KonaKart engine when instantiated
| Field Summary | |
|---|---|
static int |
MODE_MULTI_STORE_NON_SHARED_DB
Constant for mode |
static int |
MODE_MULTI_STORE_SHARED_DB
Constant for mode |
static int |
MODE_SINGLE_STORE
Constant for mode |
| Constructor Summary | |
|---|---|
EngineConfig()
|
|
| Method Summary | |
|---|---|
EngineConfig |
clone()
Clones the current object |
java.lang.String |
getAppPropertiesFileName()
The name of the properties file for the KonaKart application engine which must be on the classpath. |
java.lang.String |
getEngineId()
This is not designed to be set by developers. |
int |
getMode()
Used to configure the engine at startup. |
java.lang.String |
getPropertiesFileName()
The name of the properties file for the KonaKart engine which must be on the classpath. |
java.lang.String |
getStoreId()
Used in multi-store mode to configure the engine to use the correct store. |
boolean |
isCustomersShared()
Only relevant when in MODE_MULTI_STORE_SHARED_DB mode. |
boolean |
isProductsShared()
Only relevant when in MODE_MULTI_STORE_SHARED_DB mode. |
void |
setAppPropertiesFileName(java.lang.String appPropertiesFileName)
The name of the properties file for the KonaKart application engine which must be on the classpath. |
void |
setCustomersShared(boolean customersShared)
Only relevant when in MODE_MULTI_STORE_SHARED_DB mode. |
void |
setEngineId(java.lang.String engineId)
This is not designed to be set by developers. |
void |
setMode(int mode)
Used to configure the engine at startup. |
void |
setProductsShared(boolean productsShared)
Only relevant when in MODE_MULTI_STORE_SHARED_DB mode. |
void |
setPropertiesFileName(java.lang.String propertiesFileName)
The name of the properties file for the KonaKart engine which must be on the classpath. |
void |
setStoreId(java.lang.String storeId)
Used in multi-store mode to configure the engine to use the correct store. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int MODE_SINGLE_STORE
public static final int MODE_MULTI_STORE_NON_SHARED_DB
public static final int MODE_MULTI_STORE_SHARED_DB
| Constructor Detail |
|---|
public EngineConfig()
| Method Detail |
|---|
public EngineConfig clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.String getStoreId()
getStoreId in interface EngineConfigIfpublic void setStoreId(java.lang.String storeId)
setStoreId in interface EngineConfigIfstoreId - The storeId to set.public java.lang.String toString()
toString in class java.lang.Objectpublic int getMode()
getMode in interface EngineConfigIfpublic void setMode(int mode)
setMode in interface EngineConfigIfmode - The mode to set.public java.lang.String getPropertiesFileName()
getPropertiesFileName in interface EngineConfigIfpublic void setPropertiesFileName(java.lang.String propertiesFileName)
setPropertiesFileName in interface EngineConfigIfpropertiesFileName - The propertiesFileName to set.public java.lang.String getAppPropertiesFileName()
getAppPropertiesFileName in interface EngineConfigIfpublic void setAppPropertiesFileName(java.lang.String appPropertiesFileName)
setAppPropertiesFileName in interface EngineConfigIfappPropertiesFileName - The appPropertiesFileName to set.public boolean isCustomersShared()
isCustomersShared in interface EngineConfigIfpublic void setCustomersShared(boolean customersShared)
setCustomersShared in interface EngineConfigIfcustomersShared - set to true or falsepublic boolean isProductsShared()
isProductsShared in interface EngineConfigIfpublic void setProductsShared(boolean productsShared)
setProductsShared in interface EngineConfigIfproductsShared - the productsShared to setpublic java.lang.String getEngineId()
getEngineId in interface EngineConfigIfpublic void setEngineId(java.lang.String engineId)
setEngineId in interface EngineConfigIfengineId - the engineId to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||