|
|||||||||
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.CartModifierFormHandler
atg.commerce.csr.order.CSRCartModifierFormHandler
public class CSRCartModifierFormHandler
This form handler is used to handle the management of new and existing orders in the CSR application.
CartModifierFormHandler
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static java.lang.String |
COMMERCE_ITEM_TYPE
|
static java.lang.String |
CSR_PRICE_ADJUSTMENT_DESCRIPTION
|
static java.lang.String |
DEFAULT_KEY
|
static java.lang.String |
ERROR_WHILE_FETCHING_PRICE_LIST
|
protected atg.commerce.catalog.CatalogTools |
mCatalogTools
|
protected CSRAgentTools |
mCSRAgentTools
|
static java.lang.String |
MSG_ERROR_CHANGING_SKU
|
static java.lang.String |
MSG_ERROR_PRICING_ITEM
|
static java.lang.String |
MSG_NO_PAYMENT_GROUP
|
static java.lang.String |
MSG_NO_SUCH_SKU
|
static java.lang.String |
MSG_UNABLE_TO_COPY_ADDRESS
|
static java.lang.String |
MSG_UNABLE_TO_CREDIT_PAYMENT_GROUP
|
static java.lang.String |
MY_RESOURCE_NAME
|
static java.lang.String |
SHIPPING_GROUP_TYPE
|
Fields inherited from class atg.commerce.order.purchase.CartModifierFormHandler |
---|
MSG_AMBIGUOUS_INPUT_FOR_ADD, MSG_ERROR_ADDING_TO_ORDER, MSG_ERROR_MOVE_TO_PURCHASE_INFO, MSG_ERROR_REMOVING_ITEM, MSG_ERROR_UPDATE_ORDER, MSG_INVALID_QUANTITY, MSG_NO_ITEMS_TO_ADD, MSG_NO_ORDER_TO_MODIFY, MSG_QUANTITY_LESSTHAN_OR_EQUALTO_ZERO, MSG_QUANTITY_LESSTHAN_ZERO, MSG_UNSUPPORTED_RELATIONSHIP |
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 | |
---|---|
CSRCartModifierFormHandler()
|
Method Summary | |
---|---|
protected java.util.Map |
applyItemPriceOverrides(atg.commerce.order.Order pOrder,
java.util.Map pPriceOverrides)
Overrides the prices of the commerce items in the order based on the values in the price override property. |
protected void |
applyOverrides(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse,
java.util.Map pQuantityChangedItems,
java.util.Map pRemovedItems)
Apply item and shipping group price overrides, save any overridden items to the context. |
protected java.util.Map |
applyShippingGroupPriceOverrides(atg.commerce.order.Order pOrder,
java.util.Map pShippingGroupPriceOverrides)
Overrides the prices of the shipping groups in the order based on the request parameters. |
protected void |
changePrice(atg.commerce.order.Order pOrder,
atg.commerce.pricing.AmountInfo pAmountInfo,
double pNewAmount,
java.util.Map pChangedItemMap,
atg.commerce.order.CommerceIdentifier pItem,
java.lang.String pComponentType)
Sees if the new price is different from the price in the AmountInfo. |
protected void |
changeSku(atg.commerce.order.Order pOrder,
atg.commerce.order.CommerceItem pItem,
java.lang.String pNewSkuId,
java.util.Map pChangedItems)
Change Sku in specified item to new Sku and add the item to the map of changed items. |
protected java.util.Map |
changeSkus(java.util.Map pSkuChanges)
Perform Sku changes on the specified commerce items in the order. |
boolean |
clearItemPriceOverride(atg.commerce.order.CommerceItem pItem)
Clear the price override on specified item |
protected void |
clearItemPriceOverrides(java.util.Collection pCommerceItems)
Clear price overrides of specified commerce items. |
void |
commonPostSetOrder(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
If persistOrder is true, call CSRAgentTools.persistOrder() |
void |
creditPaymentGroup(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
credits a specified payment group |
void |
editCreditCard(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
credits a specified payment group |
void |
editShippingGroup(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
credits a specified payment group |
java.lang.String[] |
getAddressProperties()
|
CSRAgentMessagingTools |
getAgentMessagingTools()
Returns component for sending agent messages |
java.lang.Double |
getAmount(java.util.Map pAmountMap,
java.lang.String pItemId)
Retrieve a price override value to be used for the given catalog reference id or commerce item id. |
atg.commerce.catalog.CatalogTools |
getCatalogTools()
|
java.lang.String |
getChangeSkusErrorURL()
Returns property ChangeSkusErrorURL |
java.lang.String |
getChangeSkusSuccessURL()
Returns property ChangeSkusSuccessURL |
java.lang.String |
getComment()
Return the comment property. |
protected java.util.Map |
getCommerceItemRequestParameters(java.lang.String pPrefix)
|
double |
getCreditAmount()
Return the creditAmount property. |
java.lang.String |
getCreditCardId()
Return the creditCardId property. |
java.lang.String |
getCreditPaymentGroupErrorURL()
Get the URL to redirect to after an error is detected in handleCreditPaymentGroup |
java.lang.String |
getCreditPaymentGroupSuccessURL()
Get the URL to redirect to after handleChangeShippingAddress is successfully invoked. |
CSRAgentTools |
getCSRAgentTools()
|
java.lang.String |
getEditCreditCardErrorURL()
Get the URL to redirect to after an error is detected in handleEditCreditCard |
java.lang.String |
getEditCreditCardSuccessURL()
Get the URL to redirect to after handleEditCreditCard is successfully invoked. |
java.lang.String |
getEditShippingGroupErrorURL()
Get the URL to redirect to after an error is detected in handleEditShippingGroup |
java.lang.String |
getEditShippingGroupSuccessURL()
Get the URL to redirect to after handleEditShippingGroup is successfully invoked. |
java.lang.String |
getHardgoodShippingGroupId()
Return the hardgoodShippingGroupId property. |
protected java.util.Map |
getItemPriceOverrides()
Get the map of ID to item price override values. |
atg.commerce.payment.PaymentManager |
getPaymentManager()
Returns property PaymentManager |
protected atg.repository.RepositoryItem |
getPriceList()
This method over-rides the core commerce form handler method. |
atg.commerce.pricing.PricingTools |
getPricingTools()
Returns property PricingTools |
java.lang.String |
getRecalculatePaymentGroupAmountsChainId()
|
java.lang.String |
getShippingGroupId()
Get the Id of the shipping group whose address is to be changed |
java.util.Map |
getShippingGroupPriceOverrides()
Get the map of ID to item price override values. |
java.lang.String |
getShippingMethodPropertyName()
Get the name of the shippingMethod property in a ShippingGroup |
protected java.util.Map |
getSkuChange()
Property for use when changing the Sku of one or more items in the order. |
static java.lang.String |
getStringResource(java.lang.String pResourceName)
|
SubmittedOrderPricingModelHolder |
getSubmittedOrderPricingModels()
Returns property SubmittedOrderPricingModels |
java.lang.String |
getTicketId()
Returns the Id of the current ticket |
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. |
atg.commerce.pricing.PricingModelHolder |
getUserPricingModels()
Returns the userPricingModels if the order is in one of the incomplete states define by CSRAgentTools. |
boolean |
handleChangeSkus(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This handler method is used to change the Sku of one or more commerce items in the current order. |
boolean |
handleCreditPaymentGroup(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Credits a specified payment group. |
boolean |
handleEditCreditCard(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Edits the attributes of a given credit card payment group |
boolean |
handleEditShippingGroup(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Edits the attributes of a given credit card payment group |
boolean |
isPersistOrder()
|
boolean |
isRecalculatePaymentGroupAmounts()
|
protected boolean |
modifyCommerceItemsProperties(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse,
java.util.Map pChangedItems,
java.util.Map pRemovedItems)
This method is invoked from the modifyOrder*() methods in order to allow subclasses an opportunity to implement additional processing after the quantity of items in the order has been changed. |
protected void |
modifyOrderPostReprice(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse,
java.util.Map pChangedItems,
java.util.Map pRemovedItems)
|
void |
postAddItemToOrder(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This is called after all processing is done by the handleAddItemsToOrder method. |
void |
postChangeSkus(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Called by handleChangeSkus() after Skus have been changed on zero or more order commerce items. |
void |
postCreditPaymentGroup(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This is called after all processing is done by the handleCreditPaymentGroup method. |
void |
postEditCreditCard(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This is called after all processing is done by the handleEditCreditCard method. |
void |
postEditShippingGroup(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This is called after all processing is done by the handleEditShippingGroup method. |
void |
postSetOrder(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Calls commonPostSetOrder() |
void |
postSetOrderByCommerceId(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Calls commonPostSetOrder() |
void |
postSetOrderByRelationshipId(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This is called after all processing is done by the handleSetOrderByRelationshipId method. |
void |
preAddItemToOrder(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Called before any work is done by the handleAddItemToOrder method. |
void |
preChangeSkus(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Called before any work is done by the handleChangeSkus method. |
void |
preCreditPaymentGroup(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This is called before any processing is done by the handleCreditPaymentGroup method. |
void |
preEditCreditCard(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This is called before any processing is done by the handleEditCreditCard method. |
void |
preEditShippingGroup(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This is called before any processing is done by the handleEditShippingGroup method. |
protected void |
processChangedSkus(java.util.Map pChangedItems)
Process commerced items for which the Sku value has changed. |
protected void |
runProcessRecalcPaymentGroupAmounts(atg.commerce.order.Order pOrder,
atg.commerce.pricing.PricingModelHolder pPricingModels,
java.util.Locale pLocale,
atg.repository.RepositoryItem pProfile,
java.util.Map pExtraParameters)
Run the pipeline which recalculates the payment group amounts |
protected void |
runProcessSendScenarioEvent(atg.commerce.order.Order pOrder,
atg.commerce.order.CommerceItem pItem,
long pQuantity,
java.lang.String pType)
The runProcessSendScenarioEvent method sends a scenario event. |
void |
setAddressProperties(java.lang.String[] pAddressProperties)
Set the properties of the billingAddress of a credit card whose edits should be logged |
void |
setAgentMessagingTools(CSRAgentMessagingTools pAgentMessagingTools)
Sets the component for sending agent messages |
void |
setCatalogTools(atg.commerce.catalog.CatalogTools pCatalogTools)
Sets the property CatalogTools. |
void |
setChangeSkusErrorURL(java.lang.String pChangeSkusErrorURL)
Sets property ChangeSkusErrorURL |
void |
setChangeSkusSuccessURL(java.lang.String pChangeSkusSuccessURL)
Sets property ChangeSkusSuccessURL |
void |
setComment(java.lang.String pComment)
Set the comment property. |
void |
setCreditAmount(double pCreditAmount)
Set the creditAmount property. |
void |
setCreditCardId(java.lang.String pCreditCardId)
Set the credit card id property. |
void |
setCreditPaymentGroupErrorURL(java.lang.String pCreditPaymentGroupErrorURL)
Set the URL to redirect to after an error is detected in handleCreditPaymentGroup |
void |
setCreditPaymentGroupSuccessURL(java.lang.String pCreditPaymentGroupSuccessURL)
Set the URL to redirect to after handleCreditPaymentGroup is successfully invoked. |
void |
setCSRAgentTools(CSRAgentTools pCSRAgentTools)
Sets the property CSRAgentTools. |
void |
setEditCreditCardErrorURL(java.lang.String pEditCreditCardErrorURL)
Set the URL to redirect to after an error is detected in handleEditCreditCard |
void |
setEditCreditCardSuccessURL(java.lang.String pEditCreditCardSuccessURL)
Set the URL to redirect to after editCreditCard is successfully invoked. |
void |
setEditShippingGroupErrorURL(java.lang.String pEditShippingGroupErrorURL)
Set the URL to redirect to after an error is detected in handleEditShippingGroup |
void |
setEditShippingGroupSuccessURL(java.lang.String pEditShippingGroupSuccessURL)
Set the URL to redirect to after handleEditShippingGroup is successfully invoked. |
void |
setHardgoodShippingGroupId(java.lang.String pHardgoodShippingGroupId)
Set the hardgoodShippingGroupId property. |
void |
setPaymentManager(atg.commerce.payment.PaymentManager pPaymentManager)
Sets property PaymentManager |
void |
setPersistOrder(boolean pPersistOrder)
If true, call CSRAgentTools.persistOrder() |
void |
setPricingTools(atg.commerce.pricing.PricingTools pPricingTools)
Sets property PricingTools |
void |
setRecalculatePaymentGroupAmounts(boolean pRecalculatePaymentGroupAmounts)
Boolean indicating if the payment group amounts should be recalculated after a price override. |
void |
setRecalculatePaymentGroupAmountsChainId(java.lang.String pRecalculatePaymentGroupAmountsChainId)
The name of the pipeline chain that will recalculate the payment group amounts |
void |
setShippingGroupId(java.lang.String pShippingGroupId)
Set the Id of the shipping group whose address is to be changed |
void |
setShippingGroupPriceOverrides(java.util.Map pShippingGroupPriceOverrides)
Set the map of item price overrides. |
void |
setShippingMethodPropertyName(java.lang.String pShippingMethodPropertyName)
Set the name of the shippingMethod property in a ShippingGroup |
void |
setSubmittedOrderPricingModels(SubmittedOrderPricingModelHolder pSubmittedOrderPricingModels)
Sets property SubmittedOrderPricingModels |
boolean |
shouldClearOverride(java.util.Map pAmountMap,
java.lang.String pId)
Return true if entry in override amount map indicates that the price override should be cleared. |
protected long |
valueAsLong(java.lang.Object pValue)
Convert an object to a long if possible, otherwise throw a NumberFormatException. |
Methods inherited from class atg.commerce.order.purchase.CartModifierFormHandler |
---|
addConfigurableItemToOrder, addConfigurableItemToOrder, addItemToOrder, addItemToOrder, addItemToShippingGroup, addMultipleItemsToOrder, addMultipleItemsToOrder, applyValueDictionary, createCommerceItem, createConfigurableSubitems, deleteItems, deleteItemsByRelationshipId, doAddItemsToOrder, getAddItemCount, getAddItemInfoClass, getAddItemToOrderChainId, getAddItemToOrderErrorURL, getAddItemToOrderPricingOp, getAddItemToOrderSuccessURL, getAddMultipleItemsToOrderErrorURL, getAddMultipleItemsToOrderSuccessURL, getCatalogKey, getCatalogRefIds, getCommerceIds, getCommerceItemType, getConfigurableItemTypeName, getCreditCard, getDeletedSkus, getDeleteItemsFromOrderPricingOp, getGiftCertificate, getGiftlistId, getGiftlistItemId, getHardgoodShippingGroup, getInvalidQuantityCancelsAdd, getItems, getModifyOrderPricingOp, getMoveToPurchaseInfoByRelIdErrorURL, getMoveToPurchaseInfoByRelIdSuccessURL, getMoveToPurchaseInfoChainId, getMoveToPurchaseInfoErrorURL, getMoveToPurchaseInfoSuccessURL, getPaymentGroup, getProductId, getProductIds, getQuantity, getQuantity, getRemovalCatalogRefIds, getRemovalCommerceIds, getRemovalRelationshipIds, getRemoveAndAddItemToOrderErrorURL, getRemoveAndAddItemToOrderSuccessURL, getRemoveItemFromOrderByRelationshipIdErrorURL, getRemoveItemFromOrderByRelationshipIdSuccessURL, getRemoveItemFromOrderErrorURL, getRemoveItemFromOrderSuccessURL, getRepriceOrderErrorURL, getRepriceOrderSuccessURL, getSetOrderByRelationshipIdErrorURL, getSetOrderByRelationshipIdSuccessURL, getSetOrderChainId, getSetOrderErrorURL, getSetOrderSuccessURL, getShippingGroup, getShippingGroupCommerceItemRelationships, getValue, handleAddConfigurableItemToOrder, handleAddItemToOrder, handleAddMultipleItemsToOrder, handleMoveToPurchaseInfo, handleMoveToPurchaseInfoByCommerceId, handleMoveToPurchaseInfoByRelId, handleRemoveAndAddItemToOrder, handleRemoveItemFromOrder, handleRemoveItemFromOrderByRelationshipId, handleSetOrder, handleSetOrderByCommerceId, handleSetOrderByRelationshipId, isCheckForChangedQuantity, mergeItemInputForAdd, mergeValueDictionaries, modifyOrder, modifyOrderByCommerceId, modifyOrderByRelationshipId, postAddMultipleItemsToOrder, postMoveToPurchaseInfo, postRemoveAndAddItemToOrder, postRemoveItemFromOrder, postRemoveItemFromOrderByRelationshipId, preAddMultipleItemsToOrder, preMoveToPurchaseInfo, preRemoveAndAddItemToOrder, preRemoveItemFromOrder, preRemoveItemFromOrderByRelationshipId, preSetOrder, preSetOrderByCommerceId, preSetOrderByRelationshipId, processGiftAddition, runProcessAddItemToOrder, runProcessAddItemToOrder, runProcessMoveToPurchaseInfo, runProcessSendScenarioEvent, runProcessSetOrder, setAddItemCount, setAddItemInfoClass, setAddItemToOrderChainId, setAddItemToOrderErrorURL, setAddItemToOrderPricingOp, setAddItemToOrderSuccessURL, setAddMultipleItemsToOrderErrorURL, setAddMultipleItemsToOrderSuccessURL, setCatalogRefIds, setCheckForChangedQuantity, setCommerceIds, setCommerceItemProperties, setCommerceItemType, setConfigurableItemTypeName, setCreditCard, setDeletedSkus, setDeleteItemsFromOrderPricingOp, setGiftCertificate, setGiftlistId, setGiftlistItemId, setHardgoodShippingGroup, setInvalidQuantityCancelsAdd, setModifyOrderPricingOp, setMoveToPurchaseInfoByRelIdErrorURL, setMoveToPurchaseInfoByRelIdSuccessURL, setMoveToPurchaseInfoChainId, setMoveToPurchaseInfoErrorURL, setMoveToPurchaseInfoSuccessURL, setPaymentGroup, setProductId, setProductIds, setQuantity, setRemovalCatalogRefIds, setRemovalCommerceIds, setRemovalRelationshipIds, setRemoveAndAddItemToOrderErrorURL, setRemoveAndAddItemToOrderSuccessURL, setRemoveItemFromOrderByRelationshipIdErrorURL, setRemoveItemFromOrderByRelationshipIdSuccessURL, setRemoveItemFromOrderErrorURL, setRemoveItemFromOrderSuccessURL, setRepriceOrderErrorURL, setRepriceOrderSuccessURL, setSetOrderByRelationshipIdErrorURL, setSetOrderByRelationshipIdSuccessURL, setSetOrderChainId, setSetOrderErrorURL, setSetOrderSuccessURL, setShippingGroup, updateOrder, validateShippingGroupForAdd |
Methods inherited from class atg.commerce.order.purchase.PurchaseProcessFormHandler |
---|
acquireTransactionLock, acquireTransactionLock, afterSet, beforeSet, checkFormRedirect, commitTransaction, copyConfiguration, createRepriceParameterMap, 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, getPriceListId, getPriceListManager, getProfile, getProfileRepository, getPurchaseProcessHelper, getRepeatingRequestMonitor, getRepriceOrderChainId, getResourceBundle, getResourceBundleName, getSessionExpirationURL, getShippingGroupManager, getShippingGroupMapContainer, getShoppingCart, getTransactionManager, getUserLocale, 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 CLASS_VERSION
public static final java.lang.String MY_RESOURCE_NAME
public static final java.lang.String MSG_ERROR_CHANGING_SKU
public static final java.lang.String DEFAULT_KEY
public static final java.lang.String CSR_PRICE_ADJUSTMENT_DESCRIPTION
public static final java.lang.String SHIPPING_GROUP_TYPE
public static final java.lang.String COMMERCE_ITEM_TYPE
public static final java.lang.String MSG_NO_PAYMENT_GROUP
public static final java.lang.String MSG_UNABLE_TO_COPY_ADDRESS
public static final java.lang.String MSG_UNABLE_TO_CREDIT_PAYMENT_GROUP
public static final java.lang.String MSG_NO_SUCH_SKU
public static final java.lang.String ERROR_WHILE_FETCHING_PRICE_LIST
public static final java.lang.String MSG_ERROR_PRICING_ITEM
protected atg.commerce.catalog.CatalogTools mCatalogTools
protected CSRAgentTools mCSRAgentTools
Constructor Detail |
---|
public CSRCartModifierFormHandler()
Method Detail |
---|
protected long valueAsLong(java.lang.Object pValue) throws java.lang.NumberFormatException
pValue
- a Number or a String object
java.lang.NumberFormatException
public void setChangeSkusErrorURL(java.lang.String pChangeSkusErrorURL)
pChangeSkusErrorURL
- a String
valuepublic java.lang.String getChangeSkusErrorURL()
String
valuepublic void setChangeSkusSuccessURL(java.lang.String pChangeSkusSuccessURL)
pChangeSkusSuccessURL
- a String
valuepublic java.lang.String getChangeSkusSuccessURL()
String
valueprotected java.util.Map getSkuChange()
protected java.util.Map getItemPriceOverrides()
public java.util.Map getShippingGroupPriceOverrides()
public void setShippingGroupPriceOverrides(java.util.Map pShippingGroupPriceOverrides)
pShippingGroupPriceOverrides
- the override valuespublic atg.commerce.pricing.PricingModelHolder getUserPricingModels()
getUserPricingModels
in class atg.commerce.order.purchase.PurchaseProcessFormHandler
PricingModelHolder
valuepublic void setPersistOrder(boolean pPersistOrder)
public boolean isPersistOrder()
public void setSubmittedOrderPricingModels(SubmittedOrderPricingModelHolder pSubmittedOrderPricingModels)
pSubmittedOrderPricingModels
- a SubmittedOrderPricingModels
valuepublic SubmittedOrderPricingModelHolder getSubmittedOrderPricingModels()
SubmittedOrderPricingModels
valuepublic void setCatalogTools(atg.commerce.catalog.CatalogTools pCatalogTools)
public atg.commerce.catalog.CatalogTools getCatalogTools()
public void setCSRAgentTools(CSRAgentTools pCSRAgentTools)
public CSRAgentTools getCSRAgentTools()
public java.lang.String[] getAddressProperties()
public void setAddressProperties(java.lang.String[] pAddressProperties)
pAddressProperties
- the properties of the billingAddress of a credit card whose
edits should be loggedpublic void setAgentMessagingTools(CSRAgentMessagingTools pAgentMessagingTools)
pAgentMessagingTools
- public CSRAgentMessagingTools getAgentMessagingTools()
public void setComment(java.lang.String pComment)
pComment
- a String
valuepublic java.lang.String getComment()
String
valuepublic void setCreditAmount(double pCreditAmount)
pCreditAmount
- a double
valuepublic double getCreditAmount()
double
valuepublic void setCreditCardId(java.lang.String pCreditCardId)
pCreditCardId
- a String
valuepublic java.lang.String getCreditCardId()
String
valuepublic java.lang.String getCreditPaymentGroupErrorURL()
public void setCreditPaymentGroupErrorURL(java.lang.String pCreditPaymentGroupErrorURL)
pCreditPaymentGroupErrorURL
- the URL to redirect to after
an error is detected in handleCreditPaymentGrouppublic java.lang.String getCreditPaymentGroupSuccessURL()
public void setCreditPaymentGroupSuccessURL(java.lang.String pCreditPaymentGroupSuccessURL)
pCreditPaymentGroupSuccessURL
- the URL to redirect to after
handleCreditPaymentGroup is successfully invoked.public java.lang.String getEditCreditCardErrorURL()
public void setEditCreditCardErrorURL(java.lang.String pEditCreditCardErrorURL)
pEditCreditCardErrorURL
- the URL to redirect to after
an error is detected in handleEditCreditCardpublic java.lang.String getEditCreditCardSuccessURL()
public void setEditCreditCardSuccessURL(java.lang.String pEditCreditCardSuccessURL)
pEditCreditCardSuccessURL
- the URL to redirect to after
handleEditCreditCard is successfully invoked.public java.lang.String getEditShippingGroupErrorURL()
public void setEditShippingGroupErrorURL(java.lang.String pEditShippingGroupErrorURL)
pEditShippingGroupErrorURL
- the URL to redirect to after
an error is detected in handleEditShippingGrouppublic java.lang.String getEditShippingGroupSuccessURL()
public void setEditShippingGroupSuccessURL(java.lang.String pEditShippingGroupSuccessURL)
pEditShippingGroupSuccessURL
- the URL to redirect to after
handleEditShippingGroup is successfully invoked.public void setHardgoodShippingGroupId(java.lang.String pHardgoodShippingGroupId)
pHardgoodShippingGroupId
- a String
valuepublic java.lang.String getHardgoodShippingGroupId()
String
valuepublic void setPricingTools(atg.commerce.pricing.PricingTools pPricingTools)
pPricingTools
- a PricingTools
valuepublic atg.commerce.pricing.PricingTools getPricingTools()
PricingTools
valuepublic void setPaymentManager(atg.commerce.payment.PaymentManager pPaymentManager)
pPaymentManager
- a PaymentManager
valuepublic atg.commerce.payment.PaymentManager getPaymentManager()
PaymentManager
valuepublic void setRecalculatePaymentGroupAmounts(boolean pRecalculatePaymentGroupAmounts)
pRecalculatePaymentGroupAmounts
- boolean indicating if the payment group
amounts should be recalculated after a price overridepublic boolean isRecalculatePaymentGroupAmounts()
public void setRecalculatePaymentGroupAmountsChainId(java.lang.String pRecalculatePaymentGroupAmountsChainId)
pRecalculatePaymentGroupAmountsChainId
- the name of the pipeline chain
that will recalculate the payment group amountspublic java.lang.String getRecalculatePaymentGroupAmountsChainId()
public java.lang.String getShippingGroupId()
public void setShippingGroupId(java.lang.String pShippingGroupId)
pShippingGroupId
- the Id of the shipping group whose address is to be changedpublic java.lang.String getShippingMethodPropertyName()
public void setShippingMethodPropertyName(java.lang.String pShippingMethodPropertyName)
pShippingMethodPropertyName
- the name of the shippingMethod property in a ShippingGrouppublic void preCreditPaymentGroup(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a value of type 'DynamoHttpServletRequest'pResponse
- a value of type 'DynamoHttpServletResponse'
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void postCreditPaymentGroup(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a value of type 'DynamoHttpServletRequest'pResponse
- a value of type 'DynamoHttpServletResponse'
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic boolean handleCreditPaymentGroup(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 iopublic void creditPaymentGroup(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
protected java.util.Map getCommerceItemRequestParameters(java.lang.String pPrefix)
public void preEditCreditCard(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a value of type 'DynamoHttpServletRequest'pResponse
- a value of type 'DynamoHttpServletResponse'
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void postEditCreditCard(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a value of type 'DynamoHttpServletRequest'pResponse
- a value of type 'DynamoHttpServletResponse'
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic boolean handleEditCreditCard(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 iopublic void editCreditCard(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
public void preEditShippingGroup(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a value of type 'DynamoHttpServletRequest'pResponse
- a value of type 'DynamoHttpServletResponse'
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void postEditShippingGroup(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a value of type 'DynamoHttpServletRequest'pResponse
- a value of type 'DynamoHttpServletResponse'
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic boolean handleEditShippingGroup(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 iopublic void editShippingGroup(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
public boolean clearItemPriceOverride(atg.commerce.order.CommerceItem pItem)
protected void clearItemPriceOverrides(java.util.Collection pCommerceItems)
pCommerceItems
- the items to clearprotected void applyOverrides(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse, java.util.Map pQuantityChangedItems, java.util.Map pRemovedItems) throws javax.servlet.ServletException, java.io.IOException
pContext
- the hook contextpOrder
- the orderpQuantityChangedItems
- a map of items who's quantities have
been changed. They map key is the commerce item, and the value is
the old item quantity.pRemovedItems
- a map of items that have been removed from
the order because their quantity was set to something less than
zero. 1. They key is the commerce item and the value is the old
quantity.pRequest
- the Dynamo requestpResponse
- the Dynamo response
javax.servlet.ServletException
java.io.IOException
protected boolean modifyCommerceItemsProperties(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse, java.util.Map pChangedItems, java.util.Map pRemovedItems) throws java.io.IOException, atg.commerce.CommerceException, javax.servlet.ServletException, atg.service.pipeline.RunProcessException
modifyCommerceItemsProperties
in class atg.commerce.order.purchase.CartModifierFormHandler
pRequest
- the requestpResponse
- the responsepChangedItems
- a map of items who's quantities have been
changed. The map key is the commerce item, and the value is the
old item quantity.pRemovedItems
- a map of items that have been removed from
the order because their quantity was set to something less than
or equal to zero. 1. The key is the commerce item and the value
is the old quantity. This parameter may be null.
java.io.IOException
atg.commerce.CommerceException
javax.servlet.ServletException
atg.service.pipeline.RunProcessException
protected void modifyOrderPostReprice(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse, java.util.Map pChangedItems, java.util.Map pRemovedItems) throws java.io.IOException, atg.commerce.CommerceException, javax.servlet.ServletException, atg.service.pipeline.RunProcessException
modifyOrderPostReprice
in class atg.commerce.order.purchase.CartModifierFormHandler
pRequest
- the requestpResponse
- the responsepChangedItems
- a map of items who's quantities have been
changed. The map key is the commerce item, and the value is the
old item quantity.pRemovedItems
- a map of items that have been removed from
the order because their quantity was set to something less than
zero. 1. The key is the commerce item and the value is the old
quantity. This parameter may be null.
java.io.IOException
atg.commerce.CommerceException
javax.servlet.ServletException
atg.service.pipeline.RunProcessException
public java.lang.Double getAmount(java.util.Map pAmountMap, java.lang.String pItemId) throws javax.servlet.ServletException, java.io.IOException, java.lang.NumberFormatException
pItemId
- String
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurs
java.lang.NumberFormatException
- if an error occurspublic boolean shouldClearOverride(java.util.Map pAmountMap, java.lang.String pId)
pAmountMap
- the input map for the price overridepId
- the ID of the item in the mapprotected java.util.Map applyItemPriceOverrides(atg.commerce.order.Order pOrder, java.util.Map pPriceOverrides) throws javax.servlet.ServletException, java.io.IOException, java.lang.NumberFormatException
pOrder
- the orderpPriceOverrieds
- a commerceItemId -> new price map
javax.servlet.ServletException
java.io.IOException
java.lang.NumberFormatException
protected java.util.Map applyShippingGroupPriceOverrides(atg.commerce.order.Order pOrder, java.util.Map pShippingGroupPriceOverrides) throws javax.servlet.ServletException, java.io.IOException, java.lang.NumberFormatException
pOrder
- the order
javax.servlet.ServletException
java.io.IOException
java.lang.NumberFormatException
protected void changePrice(atg.commerce.order.Order pOrder, atg.commerce.pricing.AmountInfo pAmountInfo, double pNewAmount, java.util.Map pChangedItemMap, atg.commerce.order.CommerceIdentifier pItem, java.lang.String pComponentType)
pOrder
- the order containing the item whose price is being changedpAmountInfo
- the Amount info objectpNewAmount
- the new amout of the itempChangedItemMap
- a map that holds information on items in the order whose
prices have changed, or null if not requiredpItem
- the item whose price is changingpComponentType
- the type of object (commerceItem, shippingGroup) whose price
is being changedpublic void preAddItemToOrder(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
preAddItemToOrder
in class atg.commerce.order.purchase.CartModifierFormHandler
pRequest
- the request objectpResponse
- the response object
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void postAddItemToOrder(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
postAddItemToOrder
in class atg.commerce.order.purchase.CartModifierFormHandler
pRequest
- a value of type 'DynamoHttpServletRequest'pResponse
- a value of type 'DynamoHttpServletResponse'
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void commonPostSetOrder(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a value of type 'DynamoHttpServletRequest'pResponse
- a value of type 'DynamoHttpServletResponse'
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void postSetOrderByCommerceId(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
postSetOrderByCommerceId
in class atg.commerce.order.purchase.CartModifierFormHandler
pRequest
- a value of type 'DynamoHttpServletRequest'pResponse
- a value of type 'DynamoHttpServletResponse'
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void postSetOrder(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
postSetOrder
in class atg.commerce.order.purchase.CartModifierFormHandler
pRequest
- a value of type 'DynamoHttpServletRequest'pResponse
- a value of type 'DynamoHttpServletResponse'
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void postSetOrderByRelationshipId(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
postSetOrderByRelationshipId
in class atg.commerce.order.purchase.CartModifierFormHandler
pRequest
- a value of type 'DynamoHttpServletRequest'pResponse
- a value of type 'DynamoHttpServletResponse'
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void runProcessRecalcPaymentGroupAmounts(atg.commerce.order.Order pOrder, atg.commerce.pricing.PricingModelHolder pPricingModels, java.util.Locale pLocale, atg.repository.RepositoryItem pProfile, java.util.Map pExtraParameters) throws atg.service.pipeline.RunProcessException
pOrder
- the order to repricepPricingModels
- the set of all pricing models for the user (item, order, shipping, tax)pLocale
- the locale that the order should be priced withinpProfile
- the user who owns the orderpExtraParameters
- A Map of extra parameters to be used in the pricing
atg.service.pipeline.RunProcessException
protected void runProcessSendScenarioEvent(atg.commerce.order.Order pOrder, atg.commerce.order.CommerceItem pItem, long pQuantity, java.lang.String pType) throws atg.service.pipeline.RunProcessException
runProcessSendScenarioEvent
method sends a scenario event.
runProcessSendScenarioEvent
in class atg.commerce.order.purchase.CartModifierFormHandler
pOrder
- an Order
valuepItem
- a CommerceItem
valuepQuantity
- the quantity affectedpType
- a String
value
atg.service.pipeline.RunProcessException
- if an error occurspublic static java.lang.String getStringResource(java.lang.String pResourceName) throws java.util.MissingResourceException
java.util.MissingResourceException
public java.lang.String getTicketId()
protected atg.repository.RepositoryItem getPriceList()
CSREnvironmentTools.getCurrentPriceList()
and returns the current
pricelist.
getPriceList
in class atg.commerce.order.purchase.PurchaseProcessFormHandler
RepositoryItem
atg.commerce.csr.util.CSREnvironmentTools.getCurrentPriceList()
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()
protected void changeSku(atg.commerce.order.Order pOrder, atg.commerce.order.CommerceItem pItem, java.lang.String pNewSkuId, java.util.Map pChangedItems) throws atg.commerce.CommerceException
pOrder
- the current orderpItem
- the itempNewSkuId
- the new Sku for the itempChangedItems
- a map of items in which the Sku has been
changed. The key is the CommerceItem with the new Sku value, and
the associated value is the old Sku String.pRemovedItems
- a map of items in which the Sku has been
removed. The key is the CommerceItem with the old Sku value, and
the associated value is an Long representing the old quantity
value.
atg.commerce.CommerceException
protected java.util.Map changeSkus(java.util.Map pSkuChanges) throws atg.commerce.CommerceException
pSkuChanges
- non-null map of commerce item ID String keys
associated with Sku ID Strings.
atg.commerce.CommerceException
protected void processChangedSkus(java.util.Map pChangedItems) throws atg.commerce.CommerceException, atg.service.pipeline.RunProcessException
pChangedItems
- the map key is the CommerceItem with the new
SKU value. The associated value is the old SKU.
atg.commerce.CommerceException
atg.service.pipeline.RunProcessException
public void preChangeSkus(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the request objectpResponse
- the response object
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void postChangeSkus(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the request objectpResponse
- the response object
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic boolean handleChangeSkus(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the requestpResponse
- the response
javax.servlet.ServletException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |