public class StoreConfiguration
extends atg.nucleus.GenericService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string.
|
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 java.util.List<java.lang.String> |
mSupportedCreditCardTypes |
Constructor and Description |
---|
StoreConfiguration() |
Modifier and Type | Method and Description |
---|---|
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.
|
java.util.List<java.lang.String> |
getSupportedCreditCardTypes()
Returns the list of supported credit card types.
|
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 |
isShowUnindexedCategories() |
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 |
setShowUnindexedCategories(boolean pShowUnindexedCategories) |
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 |
setSupportedCreditCardTypes(java.util.List<java.lang.String> pSupportedCreditCardTypes)
Sets the list of supported credit card types.
|
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, toString
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static final java.lang.String CLASS_VERSION
protected boolean mRequireCreditCardVerification
protected boolean mDojoDebug
protected java.util.List<java.lang.String> mMandatoryStateCountryList
protected java.util.List<java.lang.String> mSupportedCreditCardTypes
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()
public boolean isShowUnindexedCategories()
public void setShowUnindexedCategories(boolean pShowUnindexedCategories)
mShowUnindexedCategories
- the mShowUnindexedCategories to setpublic java.util.List<java.lang.String> getSupportedCreditCardTypes()
public void setSupportedCreditCardTypes(java.util.List<java.lang.String> pSupportedCreditCardTypes)
pSupportedCreditCardTypes
- the list of supported credit card types.