|
||||||||||
| 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.droplet.EmptyFormHandler
atg.droplet.GenericFormHandler
atg.projects.store.inventory.BackInStockFormHandler
public class BackInStockFormHandler
This form handler will take requests from users to be notified when an item is back in stock.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string. |
protected static java.lang.String |
MSG_INVALIDATE_EMAIL_FORMAT
Invalid e-mail format message key. |
| Fields inherited from class atg.droplet.GenericFormHandler |
|---|
PARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDS |
| 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 | |
|---|---|
BackInStockFormHandler()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCatalogRefId()
|
java.lang.String |
getEmailAddress()
|
StoreEmailTools |
getEmailTools()
|
java.lang.String |
getErrorURL()
|
StoreInventoryManager |
getInventoryManager()
|
java.lang.String |
getProductId()
|
atg.repository.MutableRepository |
getProfileRepository()
|
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 |
setProductId(java.lang.String pProductId)
|
void |
setProfileRepository(atg.repository.MutableRepository pProfileRepository)
|
void |
setSuccessURL(java.lang.String pSuccessURL)
|
| Methods inherited from class atg.droplet.GenericFormHandler |
|---|
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, setUseForwards |
| Methods inherited from class atg.droplet.EmptyFormHandler |
|---|
afterGet, beforeGet |
| 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 java.lang.String CLASS_VERSION
protected static java.lang.String MSG_INVALIDATE_EMAIL_FORMAT
| Constructor Detail |
|---|
public BackInStockFormHandler()
| Method Detail |
|---|
public 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)
EmailTools - the StoreEmailTools to setpublic StoreInventoryManager getInventoryManager()
public void setInventoryManager(StoreInventoryManager pInventoryManager)
InventoryManager - the StoreInventoryManager to set
public boolean handleNotifyMe(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the servlet's requestpResponse - 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||