|
||||||||||
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
This class is used for store wide configurations.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string. |
protected boolean |
mAtgSearchInstalled
Is ATG search installed. |
protected java.lang.String |
mBackInStockFromAddress
Back in stock sender address. |
protected java.lang.String |
mCustomerServiceEmailAddress
Customer service e-mail address. |
protected java.lang.Integer |
mDefaultPageSize
Products per page |
protected boolean |
mDojoDebug
Is Dojo debug turned on. |
protected java.lang.String |
mDojoUrl
Dojo URL. |
protected boolean |
mEmailAFriendEnabled
Should e-mail a friend. |
protected java.util.Map |
mFavoriteProductFeatures
Favourite product features. |
protected java.lang.String |
mGiftCertificateFromAddress
Gift certificate sender address. |
protected java.util.List |
mMandatoryStateCountryList
Mandatory state country list. |
protected java.lang.String |
mNewPasswordFromAddress
New password sender address. |
protected long |
mNewProductThresholdDays
The newProductThresholdDays defines the number of days for which a Product is considered new. |
protected java.lang.String |
mOrderConfirmationFromAddress
Order confirmation sender address. |
protected java.lang.String |
mOrderShippedFromAddress
Order shipped sender address. |
protected java.lang.String |
mPromotionEmailAddress
Promotion e-mail address. |
protected boolean |
mRequireCreditCardVerification
Is credit card verification required. |
protected boolean |
mUseSearchForSubcategoryProductList
Should use search for subcategory product list. |
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 | |
---|---|
boolean |
getAtgSearchInstalled()
|
java.lang.String |
getBackInStockFromAddress()
|
java.lang.String |
getCustomerServiceEmailAddress()
|
java.lang.String |
getDefaultCountry()
|
java.lang.Integer |
getDefaultPageSize()
Gets products per page |
java.lang.String |
getDojoUrl()
|
java.util.Map |
getFavoriteProductFeatures()
|
java.lang.String |
getGiftCertificateFromAddress()
|
java.util.List |
getMandatoryStateCountryList()
|
java.lang.String |
getNewPasswordFromAddress()
|
long |
getNewProductThresholdDays()
|
java.lang.String |
getOrderConfirmationFromAddress()
|
java.lang.String |
getOrderShippedFromAddress()
|
java.lang.String |
getPromotionEmailAddress()
|
java.lang.String |
getResourceBundle()
|
boolean |
getUseSearchForSubcategoryProductList()
|
boolean |
isDojoDebug()
Enable dojo debugging? |
boolean |
isEmailAFriendEnabled()
|
boolean |
isRequireCreditCardVerification()
This property determines if credit card verification numbers are required by the application. |
void |
setAtgSearchInstalled(boolean pAtgSearchInstalled)
|
void |
setBackInStockFromAddress(java.lang.String pBackInStockFromAddress)
|
void |
setCustomerServiceEmailAddress(java.lang.String pCustomerServiceEmailAddress)
|
void |
setDefaultCountry(java.lang.String pDefaultCountry)
|
void |
setDefaultPageSize(java.lang.Integer pDefaultPageSize)
Sets products per page |
void |
setDojoDebug(boolean pDojoDebug)
Enables Dojo debug. |
void |
setDojoUrl(java.lang.String pDojoUrl)
Sets the DojoUrl - this is the full url that will be used as the src= attribute to include all dojo Javascript within the app. |
void |
setEmailAFriendEnabled(boolean pEmailAFriendEnabled)
|
void |
setFavoriteProductFeatures(java.util.Map pFavoriteProductFeatures)
|
void |
setGiftCertificateFromAddress(java.lang.String pGiftCertificateFromAddress)
|
void |
setMandatoryStateCountryList(java.util.List pMandatoryStateCountryList)
|
void |
setNewPasswordFromAddress(java.lang.String pNewPasswordFromAddress)
|
void |
setNewProductThresholdDays(long pNewProductThresholdDays)
|
void |
setOrderConfirmationFromAddress(java.lang.String pOrderConfirmationFromAddress)
|
void |
setOrderShippedFromAddress(java.lang.String pOrderShippedFromAddress)
|
void |
setPromotionEmailAddress(java.lang.String pPromotionEmailAddress)
|
void |
setRequireCreditCardVerification(boolean pRequireCreditCardVerification)
|
void |
setResourceBundle(java.lang.String pResourceBundle)
|
void |
setUseSearchForSubcategoryProductList(boolean pUseSearchForSubcategoryProductList)
|
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, 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 mEmailAFriendEnabled
protected boolean mAtgSearchInstalled
protected boolean mUseSearchForSubcategoryProductList
protected java.util.Map mFavoriteProductFeatures
protected java.lang.String mBackInStockFromAddress
protected java.lang.String mCustomerServiceEmailAddress
protected java.lang.String mGiftCertificateFromAddress
protected java.lang.String mNewPasswordFromAddress
protected java.lang.String mOrderConfirmationFromAddress
protected java.lang.String mOrderShippedFromAddress
protected java.lang.String mPromotionEmailAddress
protected boolean mRequireCreditCardVerification
protected java.lang.String mDojoUrl
protected boolean mDojoDebug
protected java.util.List mMandatoryStateCountryList
protected long mNewProductThresholdDays
protected java.lang.Integer mDefaultPageSize
Constructor Detail |
---|
public StoreConfiguration()
Method Detail |
---|
public java.lang.String getResourceBundle()
public void setResourceBundle(java.lang.String pResourceBundle)
pResourceBundle
- - resource bundle path.public boolean isEmailAFriendEnabled()
public void setEmailAFriendEnabled(boolean pEmailAFriendEnabled)
pEmailAFriendEnabled
- - true to enable
e-mail a friend flag, false - otherwise.public boolean getAtgSearchInstalled()
public void setAtgSearchInstalled(boolean pAtgSearchInstalled)
pAtgSearchInstalled
- - true if ATG search is installed,
false - otherwise.public boolean getUseSearchForSubcategoryProductList()
public void setUseSearchForSubcategoryProductList(boolean pUseSearchForSubcategoryProductList)
pUseSearchForSubcategoryProductList
- - true if search for
subcategory product list should be used.public java.util.Map getFavoriteProductFeatures()
public void setFavoriteProductFeatures(java.util.Map pFavoriteProductFeatures)
pFavoriteProductFeatures
- - the favorite
product features.public java.lang.String getDefaultCountry()
public void setDefaultCountry(java.lang.String pDefaultCountry)
pDefaultCountry
- - the default country name to set.public java.lang.String getBackInStockFromAddress()
public void setBackInStockFromAddress(java.lang.String pBackInStockFromAddress)
pBackInStockFromAddress
- - the sender's address
for back in stock email messages.public java.lang.String getCustomerServiceEmailAddress()
public void setCustomerServiceEmailAddress(java.lang.String pCustomerServiceEmailAddress)
pCustomerServiceEmailAddress
- - the customer service
e-mail address.public java.lang.String getGiftCertificateFromAddress()
public void setGiftCertificateFromAddress(java.lang.String pGiftCertificateFromAddress)
pGiftCertificateFromAddress
- - the sender's address
for gift certificate delivery email messages.public java.lang.String getNewPasswordFromAddress()
public void setNewPasswordFromAddress(java.lang.String pNewPasswordFromAddress)
pNewPasswordFromAddress
- - the sender's address
for new password email messages.public java.lang.String getOrderConfirmationFromAddress()
public void setOrderConfirmationFromAddress(java.lang.String pOrderConfirmationFromAddress)
pOrderConfirmationFromAddress
- - the sender's address
for order confirmation email messages.public java.lang.String getOrderShippedFromAddress()
public void setOrderShippedFromAddress(java.lang.String pOrderShippedFromAddress)
pOrderShippedFromAddress
- - the sender's address
for order shipped email messages.public java.lang.String getPromotionEmailAddress()
public void setPromotionEmailAddress(java.lang.String pPromotionEmailAddress)
pPromotionEmailAddress
- - the recipient's address
for promotionalContent with mailto links.public boolean isRequireCreditCardVerification()
Many credit cards have a card verification number printed, not embossed, on the card. This number is never transferred during card swipes and should be known only by the cardholder. Each card association has its own name for this number. Visa calls it the Card Verification Value (CVV2), and MasterCard calls it the Card Validation Code (CVC2). Visa and MasterCard print the number on the back of the card. American Express and Discover call it the Card Identification Digits (CID).
public void setRequireCreditCardVerification(boolean pRequireCreditCardVerification)
pRequireCreditCardVerification
- - true if credit card
verification is required, false - otherwise.public java.lang.String getDojoUrl()
public void setDojoUrl(java.lang.String pDojoUrl)
pDojoUrl
- - the DojoUrl to set.public boolean isDojoDebug()
true
to enable dojo debugging, false
otherwisepublic void setDojoDebug(boolean pDojoDebug)
pDojoDebug
- - the Dojo debug to setpublic java.util.List getMandatoryStateCountryList()
public void setMandatoryStateCountryList(java.util.List pMandatoryStateCountryList)
pMandatoryStateCountryList
- - the List of code of mandatory states.public long getNewProductThresholdDays()
public void setNewProductThresholdDays(long pNewProductThresholdDays)
pNewProductThresholdDays
- - new product threshold days.public java.lang.Integer getDefaultPageSize()
public void setDefaultPageSize(java.lang.Integer pDefaultPageSize)
pDefaultPageSize
- products per page
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |