|
||||||||||
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.order.purchase.PurchaseProcessFormHandler
atg.commerce.order.purchase.CommitOrderFormHandler
atg.commerce.csr.order.CSRCommitOrderFormHandler
public class CSRCommitOrderFormHandler
This extends the CommitOrderFormHandler to allow the CSR to log a comment when committing a new order.
CommitOrderFormHandler
,
PurchaseProcessFormHandler
Fields inherited from class atg.commerce.order.purchase.CommitOrderFormHandler |
---|
MSG_COMMIT_ERROR, MSG_ORDER_ALREADY_SUBMITTED, MSG_ORDER_EMPTY, MSG_ORDER_NOT_CURRENT |
Fields inherited from class atg.commerce.order.purchase.PurchaseProcessFormHandler |
---|
LOCK_NAME_ATTRIBUTE_NAME, PARAM_TRANSACTION_CREATED, PARAM_VALUE_TRUE |
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 | |
---|---|
CSRCommitOrderFormHandler()
Creates a new CommitOrderFormHandler instance. |
Method Summary | |
---|---|
void |
commitOrderUpdates()
Reconciles the clone with the original order |
protected java.util.Map |
createDuplicateOrderForTemplatePropExceptionsMap()
This method is a helper method which is used when duplicating an order as part of the submit process It creates a Map that will be used by the cloneItem method in RepositoryUtils class as a PropExceptions parameter. |
protected java.util.Map |
createRepriceParameterMap()
Creates the extra parameter map that is used when the order is repriced after form handler modifications to the order. |
protected java.util.Map |
generateProcessTemplateExtraParams()
Generated the extra parameters map that's passed to the process template pipeline. |
CSRAgentMessagingTools |
getAgentMessagingTools()
Returns component for sending agent messages |
CSRCloneEditManager |
getCloneEditManager()
|
java.lang.String |
getComment()
Return the Comment property. |
java.lang.String |
getCommitOrderUpdatesErrorURL()
Returns property CommitOrderUpdatesErrorURL |
java.lang.String |
getCommitOrderUpdatesSuccessURL()
Returns property CommitOrderUpdatesSuccessURL |
java.lang.String |
getConcurrentUpdateErrorURL()
returns the URL used when there's an concurrent update exception during the reconciliation process. |
ConfirmationInfo |
getConfirmationInfo()
Returns the confirmation info object used for sending email confirmations. |
java.lang.String |
getConfirmationToAddress()
Deprecated. |
CSRAgentTools |
getCSRAgentTools()
|
CSRScheduledOrderTools |
getCSRScheduledOrderTools()
Returns a reference to the CSRScheduledOrderTools component |
java.util.Properties |
getDuplicateOrderForTemplateExcludedProperties()
Returns the excluded order properties when duplicating an order |
java.util.Map |
getDuplicateOrderForTemplateExcludedPropertiesMap()
Generates an the excluded property map based on the duplicateOrderExcludedProperties property. |
java.lang.String |
getProcessTemplateErrorURL()
Returns property ProcessTemplateErrorURL |
java.lang.String |
getProcessTemplatePipelineId()
Returns the id of the pipeline used to validate an order can be saved as a scheduled order template. |
java.lang.String |
getProcessTemplateSuccessURL()
Returns property ProcessTemplateSuccessURL |
atg.commerce.csr.returns.ReturnsDataHolder |
getReturnsDataHolder()
Resolves the requested dataholder |
java.lang.String |
getReturnsDataHolderPath()
Gets the ReturnsDataHolderPath |
java.util.Locale |
getUserLocale(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This method over-rides the core commerce method and calls CSRAgentTools.getActiveCustomerPricingLocale()
to get the locale. |
boolean |
handleCommitOrderUpdates(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Reconciles a clone order with the original. |
boolean |
handlePersistOrder(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Persists the current order in the cart. |
boolean |
handleProcessTemplate(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This handler processes a order that will be saved as a scheduled order template. |
boolean |
handleSendConfirmationMessage(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Sends a confirmation email message |
protected void |
initializeConfirmationInfoForNewOrder(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Initializes the confirmation info object when a new order is submitted |
protected void |
initializeConfirmationInfoForUpdateOrder(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Initializes the confirmation info object after order updates are reconciled/committed |
boolean |
isAutoEmailSent()
Deprecated. |
boolean |
isAutoSendEmail()
Gets the AutoSendEmail |
boolean |
isCreateTemplateFromSubmittedOrder()
This flag determines if a submitted order is duplicated into a scheduled order template and loaded into global context after submitting an order. |
void |
persistOrder(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Called to persist the current order. |
void |
postCommitOrder(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Called after any processing is done by the handleCommitOrder method. |
void |
postCommitOrderUpdates(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
If there are no errors, this method initializes a new order in the order holder. |
void |
postPersistOrder(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Called after persisting the order |
void |
postProcessTemplate(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Executed after the template is processed. |
void |
postSendConfirmationMessage(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Called after a confirmation email is sent |
void |
preCommitOrder(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Called before any processing is done by the handleCommitOrder method. |
void |
preCommitOrderUpdates(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Called prior to committing the order updates |
void |
prePersistOrder(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Called prior to persisting the order |
void |
preProcessTemplate(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Executed prior to processing the template |
void |
preSendConfirmationMessage(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Called before a confirmation email is sent |
protected void |
processConcurrentUpdateException(java.lang.Exception pException)
Adds a form error specific to concurrent update problem, puts new order is put into global context and sets the error url from property concurrentUpdateErrorURL |
protected void |
processTemplate(atg.commerce.order.Order pTemplateOrder,
atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This method verifies the order is ready to be used as a scheduled order template. |
void |
sendConfirmationMessage(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Send the confirmation message using the the CSRAgentTools component. |
void |
setAgentMessagingTools(CSRAgentMessagingTools pAgentMessagingTools)
Sets the component for sending agent messages |
void |
setAutoEmailSent(boolean pAutoEmailSent)
Deprecated. |
void |
setAutoSendEmail(boolean pAutoSendEmail)
Sets the AutoSendEmail |
void |
setCloneEditManager(CSRCloneEditManager pCloneEditManager)
|
void |
setComment(java.lang.String pComment)
Set the comment property. |
void |
setCommitOrderUpdatesErrorURL(java.lang.String pCommitOrderUpdatesErrorURL)
Sets property CommitOrderUpdatesErrorURL |
void |
setCommitOrderUpdatesSuccessURL(java.lang.String pCommitOrderUpdatesSuccessURL)
Sets property CommitOrderUpdatesSuccessURL |
void |
setConcurrentUpdateErrorURL(java.lang.String pConcurrentUpdateErrorURL)
|
void |
setConfirmationInfo(ConfirmationInfo pConfirmationInfo)
|
void |
setConfirmationToAddress(java.lang.String pConfirmationToAddress)
Deprecated. |
void |
setCreateTemplateFromSubmittedOrder(boolean pCreateTemplateFromSubmittedOrder)
|
void |
setCSRAgentTools(CSRAgentTools pCSRAgentTools)
Sets the property CSRAgentTools. |
void |
setCSRScheduledOrderTools(CSRScheduledOrderTools pCSRScheduledOrderTools)
|
void |
setDuplicateOrderForTemplateExcludedProperties(java.util.Properties pDuplicateOrderForTemplateExcludedProperties)
set the property DuplicateOrderForTemplateExcludedProperties |
void |
setProcessTemplateErrorURL(java.lang.String pProcessTemplateErrorURL)
Sets property ProcessTemplateErrorURL |
void |
setProcessTemplatePipelineId(java.lang.String pProcessTemplatePipelineId)
|
void |
setProcessTemplateSuccessURL(java.lang.String pProcessTemplateSuccessURL)
Sets property ProcessTemplateSuccessURL |
void |
setReturnsDataHolderPath(java.lang.String pReturnsDataHolderPath)
Sets the ReturnsDataHolderPath |
Methods inherited from class atg.commerce.order.purchase.CommitOrderFormHandler |
---|
commitOrder, getAllowEmptyOrders, getCommitOrderErrorURL, getCommitOrderSuccessURL, getOrderId, getProcessOrderMap, getSalesChannel, handleCommitOrder, setAllowEmptyOrders, setCommitOrderErrorURL, setCommitOrderSuccessURL, setOrderId, setSalesChannel |
Methods inherited from class atg.commerce.order.purchase.PurchaseProcessFormHandler |
---|
acquireTransactionLock, acquireTransactionLock, afterSet, beforeSet, checkFormRedirect, commitTransaction, copyConfiguration, defaultLocalLockManager, defaultUserProfile, doStartService, ensureTransaction, formatUserMessage, formatUserMessage, formatUserMessage, formatUserMessage, generatePropertyPath, getClaimableManager, getCommerceIdentifierPaymentInfoContainer, getCommerceItemManager, getCommerceItemShippingInfoContainer, getCommerceProfileTools, getCommercePropertyManager, getConfiguration, getCurrentTransaction, getDefaultLocale, getGiftlistManager, getHandlingInstructionManager, getLocalLockManager, getOrder, getOrderManager, getPaymentGroupManager, getPaymentGroupMapContainer, getPipelineManager, getPriceList, getPriceListId, getPriceListManager, getProfile, getProfileRepository, getPurchaseProcessHelper, getRepeatingRequestMonitor, getRepriceOrderChainId, getResourceBundle, getResourceBundleName, getSessionExpirationURL, getShippingGroupManager, getShippingGroupMapContainer, getShoppingCart, getTransactionManager, getUserLocale, getUserPricingModels, handlePipelineError, isEnsureTransaction, isFormSubmission, isTransactionCreated, isTransactionMarkedAsRollBack, isUseLocksAroundTransactions, isUseRequestLocale, processException, processPipelineErrors, releaseTransactionLock, releaseTransactionLock, runProcess, runProcess, runProcess, runProcessRepriceOrder, runProcessRepriceOrder, runRepricingProcess, setClaimableManager, setCommerceIdentifierPaymentInfoContainer, setCommerceItemManager, setCommerceItemShippingInfoContainer, setCommerceProfileTools, setCommercePropertyManager, setConfiguration, setCurrentTransaction, setDefaultLocale, setEnsureTransaction, setGiftlistManager, setHandlingInstructionManager, setLocalLockManager, setOrder, setOrderManager, setPaymentGroupManager, setPaymentGroupMapContainer, setPipelineManager, setPriceListId, setPriceListManager, setProfile, setProfileRepository, setPurchaseProcessHelper, setRepeatingRequestMonitor, setRepriceOrderChainId, setSessionExpirationURL, setShippingGroupManager, setShippingGroupMapContainer, setShoppingCart, setTransactionCreated, setTransactionManager, setTransactionToRollbackOnly, setUseLocksAroundTransactions, setUseRequestLocale, setUserLocale, setUserPricingModels, transactionLockName, unsetTransactionCreated |
Methods inherited from class atg.droplet.GenericFormHandler |
---|
addFormException, addUncheckedFormException, 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, 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 MY_RESOURCE_NAME
public static final java.lang.String CLASS_VERSION
public static final java.lang.String ERROR_WHILE_FETCHING_PRICE_LIST
public static final java.lang.String MSG_ORDER_ALREADY_SAVED
public static final java.lang.String NEW_ORDER_TEMPLATE_NAME
public static final java.lang.String ORDER_UPDATE_TEMPLATE_NAME
public static final java.lang.String ORDER_EXCHANGE_TEMPLATE_NAME
public static final java.lang.String ORDER_RETURN_TEMPLATE_NAME
public static final java.lang.String SCHEDULED_ORDER_UPDATE_TEMPLATE_NAME
public static final java.lang.String MSG_ERROR_CREATING_ORDER_COMMENT
public static final java.lang.String MSG_ERROR_SENDING_NEW_ORDER_EMAIL_CONFIRM
public static final java.lang.String MSG_ERROR_SENDING_EXISTING_ORDER_EMAIL_CONFIRM
public static final java.lang.String MSG_ERROR_INITIALIZING_NEW_ORDER
public static final java.lang.String MSG_ERROR_SENDING_EMAIL_CONFIRM
public static final java.lang.String MSG_ERROR_SHOPPING_CART_NOT_IN_CLONE_EDIT_MODE
public static final java.lang.String MSG_ERROR_CONCURRENT_UPDATE_DURING_RECONCILIATION
public static final java.lang.String MSG_ERROR_CANNOT_SAVE_NOT_TRANSIENT_ORDER
public static final java.lang.String MSG_ERROR_PERSISTING_ORDER
public static final java.lang.String MSG_ERROR_COMMITTING_ORDER_CHANGES
public static final java.lang.String MSG_ERROR_SAVING_ORDER_TEMPLATE
public static final java.lang.String MSG_ERROR_VERIFYING_ORDER_TEMPLATE
protected ConfirmationInfo mConfirmationInfo
protected java.lang.String mProcessTemplatePipelineId
protected java.util.Properties mDuplicateOrderForTemplateExcludedProperties
protected java.util.Map mDuplicateOrderForTemplateExcludedPropertiesMap
protected java.lang.String mConcurrentUpdateErrorURL
protected CSRCloneEditManager mCloneEditManager
protected java.lang.String mCommitOrderUpdatesSuccessURL
protected java.lang.String mCommitOrderUpdatesErrorURL
protected java.lang.String mProcessTemplateSuccessURL
protected java.lang.String mProcessTemplateErrorURL
protected CSRAgentMessagingTools mAgentMessagingTools
protected CSRAgentTools mCSRAgentTools
protected CSRScheduledOrderTools mCSRScheduledOrderTools
protected java.lang.String mComment
protected boolean mCreateTemplateFromSubmittedOrder
protected boolean mAutoSendEmail
protected boolean mAutoEmailSent
protected java.lang.String mConfirmationToAddress
protected java.lang.String mTemplateToUse
protected java.lang.String mReturnsDataHolderPath
Constructor Detail |
---|
public CSRCommitOrderFormHandler()
CommitOrderFormHandler
instance.
Method Detail |
---|
public ConfirmationInfo getConfirmationInfo()
public void setConfirmationInfo(ConfirmationInfo pConfirmationInfo)
public java.lang.String getProcessTemplatePipelineId()
public void setProcessTemplatePipelineId(java.lang.String pProcessTemplatePipelineId)
public void setDuplicateOrderForTemplateExcludedProperties(java.util.Properties pDuplicateOrderForTemplateExcludedProperties)
pDuplicateOrderForTemplateExcludedProperties
- the value to set for property DuplicateOrderForTemplateExcludedPropertiespublic java.util.Properties getDuplicateOrderForTemplateExcludedProperties()
protected java.util.Map createDuplicateOrderForTemplatePropExceptionsMap()
This method returns null by default
public java.util.Map getDuplicateOrderForTemplateExcludedPropertiesMap()
duplicateOrderExcludedProperties
property.
public java.lang.String getConcurrentUpdateErrorURL()
public void setConcurrentUpdateErrorURL(java.lang.String pConcurrentUpdateErrorURL)
public CSRCloneEditManager getCloneEditManager()
public void setCloneEditManager(CSRCloneEditManager pCloneEditManager)
public void setCommitOrderUpdatesSuccessURL(java.lang.String pCommitOrderUpdatesSuccessURL)
pCommitOrderUpdatesSuccessURL
- a String
valuepublic java.lang.String getCommitOrderUpdatesSuccessURL()
String
valuepublic void setCommitOrderUpdatesErrorURL(java.lang.String pCommitOrderUpdatesErrorURL)
pCommitOrderUpdatesErrorURL
- a String
valuepublic java.lang.String getCommitOrderUpdatesErrorURL()
String
valuepublic void setProcessTemplateSuccessURL(java.lang.String pProcessTemplateSuccessURL)
pProcessTemplateSuccessURL
- a String
valuepublic java.lang.String getProcessTemplateSuccessURL()
String
valuepublic void setProcessTemplateErrorURL(java.lang.String pProcessTemplateErrorURL)
pProcessTemplateErrorURL
- a String
valuepublic java.lang.String getProcessTemplateErrorURL()
String
valuepublic void setAgentMessagingTools(CSRAgentMessagingTools pAgentMessagingTools)
pAgentMessagingTools
- public CSRAgentMessagingTools getAgentMessagingTools()
public void setCSRAgentTools(CSRAgentTools pCSRAgentTools)
public CSRAgentTools getCSRAgentTools()
public CSRScheduledOrderTools getCSRScheduledOrderTools()
public void setCSRScheduledOrderTools(CSRScheduledOrderTools pCSRScheduledOrderTools)
public void setComment(java.lang.String pComment)
pComment
- a String
valuepublic java.lang.String getComment()
String
valuepublic boolean isCreateTemplateFromSubmittedOrder()
public void setCreateTemplateFromSubmittedOrder(boolean pCreateTemplateFromSubmittedOrder)
public boolean isAutoSendEmail()
public void setAutoSendEmail(boolean pAutoSendEmail)
pAutoSendEmail
- The AutoSendEmail to setpublic boolean isAutoEmailSent()
ConfirmationInfo.isAutoConfirmationSent()
public void setAutoEmailSent(boolean pAutoEmailSent)
pAutoEmailSent
- The IsEmailSent to setConfirmationInfo.setAutoConfirmationSent(boolean)
public java.lang.String getConfirmationToAddress()
ConfirmationInfo.getToEmailAddress()
public void setConfirmationToAddress(java.lang.String pConfirmationToAddress)
pConfirmationToAddress
- The ConfirmationToAddress to setpublic java.lang.String getReturnsDataHolderPath()
public void setReturnsDataHolderPath(java.lang.String pReturnsDataHolderPath)
pReturnsDataHolderPath
- The ReturnsDataHolderPath to setpublic void preCommitOrder(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
preCommitOrder
in class atg.commerce.order.purchase.CommitOrderFormHandler
pRequest
- the request objectpResponse
- the response object
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void postCommitOrder(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
postCommitOrder
in class atg.commerce.order.purchase.CommitOrderFormHandler
pRequest
- the request objectpResponse
- the response object
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void initializeConfirmationInfoForNewOrder(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
pRequest
- pResponse
- protected void initializeConfirmationInfoForUpdateOrder(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
pRequest
- pResponse
- public void preSendConfirmationMessage(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- pResponse
-
javax.servlet.ServletException
java.io.IOException
public void postSendConfirmationMessage(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- pResponse
-
javax.servlet.ServletException
java.io.IOException
public void preCommitOrderUpdates(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- pResponse
-
javax.servlet.ServletException
java.io.IOException
public void postCommitOrderUpdates(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- pResponse
-
javax.servlet.ServletException
java.io.IOException
public void commitOrderUpdates() throws atg.commerce.CommerceException
atg.commerce.CommerceException
CloneEditManager.reconcileOrder(CloneEditState, Map)
public void sendConfirmationMessage(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
atg.userprofiling.email.TemplateEmailException
- - If an error occured sending the message.public boolean handleCommitOrderUpdates(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- pResponse
-
javax.servlet.ServletException
java.io.IOException
protected void processConcurrentUpdateException(java.lang.Exception pException)
concurrentUpdateErrorURL
pException
- public boolean handleSendConfirmationMessage(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- pResponse
-
javax.servlet.ServletException
java.io.IOException
public void prePersistOrder(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- pResponse
-
javax.servlet.ServletException
java.io.IOException
public void postPersistOrder(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- pResponse
-
javax.servlet.ServletException
java.io.IOException
public void persistOrder(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
CSRAgentTools.persistCurrentOrder()
public boolean handlePersistOrder(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- pResponse
-
javax.servlet.ServletException
java.io.IOException
protected java.util.Map createRepriceParameterMap()
This extension adds the current price list and sale price list to the map
createRepriceParameterMap
in class atg.commerce.order.purchase.PurchaseProcessFormHandler
public atg.commerce.csr.returns.ReturnsDataHolder getReturnsDataHolder()
public java.util.Locale getUserLocale(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
CSRAgentTools.getActiveCustomerPricingLocale()
to get the locale.
The CSC agents are working on a customer's orders. Because of the above reason, the application has to load customer's
default locale.
getUserLocale
in class atg.commerce.order.purchase.PurchaseProcessFormHandler
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
Locale
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursCSRAgentTools.getActiveCustomerPricingLocale()
public void preProcessTemplate(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 handleProcessTemplate(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
Called when the schedule option is selected at the end of new order checkout.
pRequest
- pResponse
-
javax.servlet.ServletException
java.io.IOException
protected void processTemplate(atg.commerce.order.Order pTemplateOrder, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
Errors from this process are added as form exceptions.
pTemplateOrder
- the template orderpRequest
- pResponse
- CSRScheduledOrderTools.processTemplate(Order, java.util.Locale, String, Map)
public void postProcessTemplate(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- pResponse
-
javax.servlet.ServletException
java.io.IOException
protected java.util.Map generateProcessTemplateExtraParams()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |