|
||||||||||
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.commerce.csr.approvals.order.UpdateOrderApprovalCustomerEmailFormHandler
public class UpdateOrderApprovalCustomerEmailFormHandler
Form Handler used to update the customer email address on an Order Approval object
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected java.lang.String |
mApprovalId
|
protected java.lang.String |
mCustomerEmail
|
protected atg.web.messaging.MessageTools |
mMessageTools
|
protected OrderApprovalTools |
mOrderApprovalTools
|
protected javax.transaction.TransactionManager |
mTransactionManager
|
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 | |
---|---|
UpdateOrderApprovalCustomerEmailFormHandler()
|
Method Summary | |
---|---|
java.lang.String |
getApprovalId()
Returns the approval id. |
java.lang.String |
getCustomerEmail()
Returns the customer email value |
atg.web.messaging.MessageTools |
getMessageTools()
Returns the MessageTools component |
OrderApprovalTools |
getOrderApprovalTools()
Returns the Order Approval Tools component. |
javax.transaction.TransactionManager |
getTransactionManager()
Returns the transaction manager |
protected java.util.Locale |
getUserLocale()
This method gets the current Locale |
boolean |
handleUpdateCustomerEmail(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Updates the confirmation email address associated with the order approval record |
protected boolean |
postUpdateCustomerEmail(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
If there are no errors, adds an 'update successful' message to the message bar |
protected boolean |
preUpdateCustomerEmail(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Executed before the customer's email is updated |
void |
setApprovalId(java.lang.String pApprovalId)
Sets the approval id. |
void |
setCustomerEmail(java.lang.String pCustomerEmail)
Sets the customer email value |
void |
setMessageTools(atg.web.messaging.MessageTools pMessageTools)
Sets the Message Tools component. |
void |
setOrderApprovalTools(OrderApprovalTools pOrderApprovalTools)
Sets the Order Approval Tools component. |
void |
setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
Sets the Transaction Manager |
protected boolean |
updateCustomerEmail(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Executes the customer email update for the approval |
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, 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 java.lang.String CLASS_VERSION
protected java.lang.String mApprovalId
protected java.lang.String mCustomerEmail
protected javax.transaction.TransactionManager mTransactionManager
protected OrderApprovalTools mOrderApprovalTools
protected atg.web.messaging.MessageTools mMessageTools
Constructor Detail |
---|
public UpdateOrderApprovalCustomerEmailFormHandler()
Method Detail |
---|
public void setApprovalId(java.lang.String pApprovalId)
pApprovalId
- the ApprovalId to setpublic java.lang.String getApprovalId()
public void setCustomerEmail(java.lang.String pCustomerEmail)
pCustomerEmail
- the CustomerEmail to setpublic java.lang.String getCustomerEmail()
public void setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
pTransactionManager
- public javax.transaction.TransactionManager getTransactionManager()
public void setOrderApprovalTools(OrderApprovalTools pOrderApprovalTools)
pOrderApprovalTools
- the OrderApprovalTools to setpublic OrderApprovalTools getOrderApprovalTools()
public atg.web.messaging.MessageTools getMessageTools()
public void setMessageTools(atg.web.messaging.MessageTools pMessageTools)
pMessageTools
- the MessageTools to setprotected java.util.Locale getUserLocale()
protected boolean preUpdateCustomerEmail(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- pResponse
-
javax.servlet.ServletException
java.io.IOException
protected boolean updateCustomerEmail(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException, ApprovalsException
pRequest
- pResponse
-
javax.servlet.ServletException
java.io.IOException
ApprovalsException
protected boolean postUpdateCustomerEmail(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- pResponse
-
javax.servlet.ServletException
java.io.IOException
public boolean handleUpdateCustomerEmail(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- pResponse
-
javax.servlet.ServletException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |