public class BackInStockFormHandler
extends atg.droplet.GenericFormHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string.
|
java.lang.String |
mNoJavascriptErrorURL
property: noJavascriptErrorURL
|
java.lang.String |
mNoJavascriptSuccessURL
property: noJavascriptSuccessURL
|
protected static java.lang.String |
MSG_INVALIDATE_EMAIL_FORMAT
Invalid e-mail format message key.
|
PARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDS| Constructor and Description |
|---|
BackInStockFormHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCatalogRefId() |
java.lang.String |
getEmailAddress() |
StoreEmailTools |
getEmailTools() |
java.lang.String |
getErrorURL() |
StoreInventoryManager |
getInventoryManager() |
atg.service.localeservice.LocaleService |
getLocaleService() |
java.lang.String |
getNoJavascriptErrorURL() |
java.lang.String |
getNoJavascriptSuccessURL() |
java.lang.String |
getProductId() |
atg.repository.MutableRepository |
getProfileRepository() |
java.util.ResourceBundle |
getResourceBundle(java.util.Locale pLocale)
This method returns ResourceBundle object for specified locale.
|
java.lang.String |
getSuccessURL() |
boolean |
handleNotifyMe(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This method will handle "notify when back in stock" requests.
|
void |
setCatalogRefId(java.lang.String pCatalogRefId) |
void |
setEmailAddress(java.lang.String pEmailAddress) |
void |
setEmailTools(StoreEmailTools pEmailTools) |
void |
setErrorURL(java.lang.String pErrorURL) |
void |
setInventoryManager(StoreInventoryManager pInventoryManager) |
void |
setLocaleService(atg.service.localeservice.LocaleService pLocaleService) |
void |
setNoJavascriptErrorURL(java.lang.String pNoJavascriptErrorURL) |
void |
setNoJavascriptSuccessURL(java.lang.String pNoJavascriptSuccessURL) |
void |
setProductId(java.lang.String pProductId) |
void |
setProfileRepository(atg.repository.MutableRepository pProfileRepository) |
void |
setSuccessURL(java.lang.String pSuccessURL) |
addFormException, addUncheckedFormException, afterSet, beforeSet, checkFormRedirect, createFormSubmissionMessage, getCancelURL, getCheckForValidSession, getFormError, getFormExceptions, getFormName, getMessagePort, getMessageSource, getMessageType, getPropertyExceptions, getSendMessages, getUncheckedFormExceptions, handleCancel, handleFormException, handleUncheckedFormException, hasUncheckedFormExceptions, isDeferForwardsAndRedirects, isRestorableForm, isUseForwards, isValidSession, redirectOrForward, resetFormExceptions, setCancelURL, setCheckForValidSession, setDeferForwardsAndRedirects, setFormName, setMessagePort, setMessageSource, setMessageType, setRestorableForm, setSendMessages, setUseForwardsaddLogListener, 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, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static final java.lang.String CLASS_VERSION
protected static final java.lang.String MSG_INVALIDATE_EMAIL_FORMAT
public java.lang.String mNoJavascriptSuccessURL
public java.lang.String mNoJavascriptErrorURL
public atg.service.localeservice.LocaleService getLocaleService()
public void setLocaleService(atg.service.localeservice.LocaleService pLocaleService)
pLocaleService - the localeService to setpublic java.lang.String getCatalogRefId()
public void setCatalogRefId(java.lang.String pCatalogRefId)
pCatalogRefId - - the catalog reference id.public java.lang.String getEmailAddress()
public void setEmailAddress(java.lang.String pEmailAddress)
pEmailAddress - - the e-mail address to set.public java.lang.String getProductId()
public void setProductId(java.lang.String pProductId)
pProductId - - the product id to set.public atg.repository.MutableRepository getProfileRepository()
public void setProfileRepository(atg.repository.MutableRepository pProfileRepository)
pProfileRepository - - the profile repository to set.public java.lang.String getSuccessURL()
public void setSuccessURL(java.lang.String pSuccessURL)
pSuccessURL - - the success redirect URL to set.public java.lang.String getErrorURL()
public void setErrorURL(java.lang.String pErrorURL)
pErrorURL - - the error redirect URL to set.public StoreEmailTools getEmailTools()
public void setEmailTools(StoreEmailTools pEmailTools)
pEmailTools - - the StoreEmailTools to set.public StoreInventoryManager getInventoryManager()
public void setInventoryManager(StoreInventoryManager pInventoryManager)
pInventoryManager - - the StoreInventoryManager to setpublic java.lang.String getNoJavascriptSuccessURL()
public void setNoJavascriptSuccessURL(java.lang.String pNoJavascriptSuccessURL)
pNoJavascriptSuccessURL - -the No JavaScript Success URL.public java.lang.String getNoJavascriptErrorURL()
public void setNoJavascriptErrorURL(java.lang.String pNoJavascriptErrorURL)
pNoJavascriptErrorURL - - the No JavaScript Error URL.public java.util.ResourceBundle getResourceBundle(java.util.Locale pLocale)
pLocale - - The locale used to retrieve the resource bundle. If null
then the default resource bundle is returned.public boolean handleNotifyMe(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the servlet's request.pResponse - the servlet's response.javax.servlet.ServletException - if there was an error while executing the code.java.io.IOException - if there was an error with servlet io.