|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.projects.store.StoreConfiguration
public class StoreConfiguration
Stores configuration information that is specific to Commerce Reference Store.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string. |
protected boolean |
mAtgSearchInstalled
Boolean indicating if ATG Search is available. |
protected boolean |
mDojoDebug
Is Dojo debug turned on. |
protected java.util.List<java.lang.String> |
mMandatoryStateCountryList
The list of countries for which state is a required address field. |
protected boolean |
mRequireCreditCardVerification
Indicates whether orders paid by credit card must include the credit card verification code. |
protected boolean |
mUseSearchForSubcategoryProductList
Boolean indicating if an ATG Search request should be used to obtain the list of products in a subcategory. |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
StoreConfiguration()
|
Method Summary | |
---|---|
java.lang.String |
getDefaultCssFile()
Gets the location of the default css file(s). |
java.lang.String |
getDefaultResourceBundle()
Returns the location of the default resource bundle. |
java.lang.String |
getEpochDate()
Returns the store epoch date represented as a String object. |
java.util.Date |
getEpochDateAsDate()
Returns the epochDate property represented as a Date object. |
java.lang.String |
getEpochDatePattern()
Returns the date pattern defining the date format for the epochDate property. |
java.util.List<java.lang.String> |
getMandatoryStateCountryList()
Returns the list of configured country codes that are mandatory. |
java.lang.String |
getSiteHttpServerName()
Returns the name of the HTTP server. |
int |
getSiteHttpServerPort()
Returns the port number of the HTTP server. |
boolean |
isAtgSearchInstalled()
|
boolean |
isDojoDebug()
Determines whether debug logging has been configured to be enabled. |
boolean |
isRequireCreditCardVerification()
This property determines if credit card verification numbers are required by the application. |
boolean |
isUseSearchForSubcategoryProductList()
Returns flag indicating if an ATG Search request should be used to obtain the list of products in a subcategory. |
void |
setAtgSearchInstalled(boolean pAtgSearchInstalled)
Sets a property indicating whether ATG Search is installed or not. |
void |
setDefaultCssFile(java.lang.String pDefaultCssFile)
Sets the location of the default css file(s). |
void |
setDefaultResourceBundle(java.lang.String pDefaultResourceBundle)
Sets the location of the default resource bundle. |
void |
setDojoDebug(boolean pDojoDebug)
Sets a property stating that debug logging should be enable in the Dojo Toolkit. |
void |
setEpochDate(java.lang.String pEpochDate)
Sets the store epoch date. |
void |
setEpochDatePattern(java.lang.String pEpochDatePattern)
Sets the date pattern defining the date format for the epochDate property. |
void |
setMandatoryStateCountryList(java.util.List<java.lang.String> pMandatoryStateCountryList)
Sets the list of configured country codes that are mandatory. |
void |
setRequireCreditCardVerification(boolean pRequireCreditCardVerification)
Set a property indicating whther that the credit card verification is required. |
void |
setSiteHttpServerName(java.lang.String pSiteHttpServerName)
Sets the name of the HTTP server.When running of an internal facing instance this should be configured to the production instance. |
void |
setSiteHttpServerPort(int pSiteHttpServerPort)
Sets the port number of the HTTP server. |
void |
setUseSearchForSubcategoryProductList(boolean pUseSearchForSubcategoryProductList)
Sets a flag indicating whether ATG Search should be used to obtain the list of products in a subcategory. |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
protected boolean mAtgSearchInstalled
protected boolean mUseSearchForSubcategoryProductList
protected boolean mRequireCreditCardVerification
protected boolean mDojoDebug
protected java.util.List<java.lang.String> mMandatoryStateCountryList
Constructor Detail |
---|
public StoreConfiguration()
Method Detail |
---|
public boolean isAtgSearchInstalled()
true
if ATG search is installed, false
otherwise.public void setAtgSearchInstalled(boolean pAtgSearchInstalled)
pAtgSearchInstalled
- true
if ATG search is installed, false
otherwise.public boolean isUseSearchForSubcategoryProductList()
true
if search should be used, false
otherwise.public void setUseSearchForSubcategoryProductList(boolean pUseSearchForSubcategoryProductList)
pUseSearchForSubcategoryProductList
- - true
if ATG Search should be
used to obtain the list of products in a subcategory.public boolean isRequireCreditCardVerification()
true
if credit card verification is required, otherwise false
.public void setRequireCreditCardVerification(boolean pRequireCreditCardVerification)
pRequireCreditCardVerification
- - true
if credit card verification is requiredpublic boolean isDojoDebug()
public void setDojoDebug(boolean pDojoDebug)
pDojoDebug
- - true
if Dojo debug is to be enabled.public java.util.List<java.lang.String> getMandatoryStateCountryList()
public void setMandatoryStateCountryList(java.util.List<java.lang.String> pMandatoryStateCountryList)
pMandatoryStateCountryList
- - the List of code of mandatory countries.public void setSiteHttpServerName(java.lang.String pSiteHttpServerName)
pSiteHttpServerName
- The server name.public java.lang.String getSiteHttpServerName()
public void setSiteHttpServerPort(int pSiteHttpServerPort)
pSiteHttpServerPort
- The port number to setpublic int getSiteHttpServerPort()
public void setDefaultResourceBundle(java.lang.String pDefaultResourceBundle)
pDefaultResourceBundle
- The default resource bundle.public java.lang.String getDefaultResourceBundle()
public void setDefaultCssFile(java.lang.String pDefaultCssFile)
pDefaultCssFile
- The default CSS file location.public java.lang.String getDefaultCssFile()
public void setEpochDate(java.lang.String pEpochDate)
pEpochDate
- The date to use as the epoch date.public java.lang.String getEpochDate()
public void setEpochDatePattern(java.lang.String pEpochDatePattern)
pEpochDatePattern
- The epoch date pattern.public java.lang.String getEpochDatePattern()
public java.util.Date getEpochDateAsDate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |