|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.droplet.EmptyFormHandler atg.droplet.GenericFormHandler atg.commerce.order.purchase.PurchaseProcessFormHandler atg.commerce.order.purchase.ShippingGroupFormHandler atg.projects.store.order.purchase.ShippingInfoFormHandler
public class ShippingInfoFormHandler
Form Handler for handling shipping related checkout processes.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string. |
static java.lang.String |
COUNTRY_KEY_PREFIX
|
static java.lang.String |
COUNTRY_STATE_RESOURCES
|
protected java.util.List |
mGiftShippingGroups
property: Gift shipping groups. |
protected static java.lang.String |
MSG_ERROR_MOVE_TO_BILLING
|
protected static java.lang.String |
MSG_ERROR_UPDATE_ORDER
Error Message keys |
protected static java.lang.String |
NICKNAME_SEPARATOR
|
Fields inherited from class atg.commerce.order.purchase.ShippingGroupFormHandler |
---|
mAllHardgoodCommerceItemShippingInfos, mCommerceItemShippingInfoTools, mConsolidateShippingInfosBeforeApply, mElectronicShippingGroups, MSG_ERROR_UPDATE_SHIPPINGGROUP, MSG_INVALID_SHIPPING_SPLIT_NUMBER, MSG_NO_DEFAULT_SHIPPING_GROUP, mValidateShippingGroups |
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 | |
---|---|
ShippingInfoFormHandler()
|
Method Summary | |
---|---|
protected void |
addAddressValidationFormError(java.util.List pMissingProperties,
atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Utility method to add form exception. |
void |
addShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Creates a new shipping group and adds it to the shipping group map container. |
protected java.lang.String |
createPricingErrorMessage(atg.commerce.pricing.PricingException pe,
atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Pulls out the Cybersource error message for invalid address. |
void |
editShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Edits a shipping group address in the container and saves the changes to the profile if the address is in the profile's address map. |
java.lang.String |
getAddAddressAndMoveToMultipleShippingErrorURL()
|
java.lang.String |
getAddAddressAndMoveToMultipleShippingSuccessURL()
|
atg.core.util.Address |
getAddress()
|
java.lang.String |
getAddShippingAddressErrorURL()
|
java.lang.String |
getAddShippingAddressSuccessURL()
|
java.util.List |
getAllHardgoodCommerceItemShippingInfos()
Get the List of all the CommerceItemShippingInfos for hardgoods from the CommerceItemShippingInfoMap. |
CheckoutOptionSelections |
getCheckoutOptionSelections()
|
CheckoutProgressStates |
getCheckoutProgressStates()
|
java.lang.String |
getCouponCode()
|
java.lang.String |
getDefaultShippingMethod()
|
atg.core.util.Address |
getEditAddress()
|
java.lang.String |
getEditShippingAddressErrorURL()
|
java.lang.String |
getEditShippingAddressNickName()
|
java.lang.String |
getEditShippingAddressSuccessURL()
|
java.util.List |
getGiftShippingGroups()
|
java.lang.String |
getMoveToBillingErrorURL()
|
java.lang.String |
getMoveToBillingSuccessURL()
|
java.lang.String |
getNewShipToAddressName()
|
atg.commerce.util.PlaceUtils |
getPlaceUtils()
|
java.lang.String |
getRemoveShippingAddressErrorURL()
|
java.lang.String |
getRemoveShippingAddressNickName()
|
java.lang.String |
getRemoveShippingAddressSuccessURL()
|
boolean |
getSaveShippingAddress()
|
java.lang.String |
getShippingAddressNewNickName()
|
atg.nucleus.ServiceMap |
getShippingGroupInitializers()
Return the ShippingGroupInitializers property. |
StoreShippingProcessHelper |
getShippingHelper()
|
java.lang.String |
getShippingMethod()
|
java.lang.String |
getShipToAddressName()
|
boolean |
getShipToNewAddress()
|
java.lang.String |
getUpdateShippingMethodErrorURL()
|
java.lang.String |
getUpdateShippingMethodSuccessURL()
|
boolean |
getUseShippingForBilling()
|
boolean |
handleAddAddressAndMoveToMultipleShipping(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This handler method will a new shipping group to the ShippingGroupMapContainer if new shipping address is not empty. |
boolean |
handleAddShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Adds a new shipping group to the ShippingGroupMapContainer. |
boolean |
handleCancel(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Override handleCancel to clear form exceptions so that error message about missing required fields is not displayed when a shopper hits "Cancel" |
boolean |
handleCreateAndMoveToBilling(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This handler method will validate new shipping address and apply the shipping groups to the order. |
boolean |
handleEditShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Handler for editing an address. |
boolean |
handleInitEditAddressForm(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Initializes the address property with the shipping group address identified by the editNickName. |
boolean |
handleInitMultipleShippingForm(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Initializes the form handler for multiple shipping group selection. |
boolean |
handleInitSingleShippingForm(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Initializes the form handler for single shipping group selection. |
boolean |
handleMoveToBilling(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This handler method will validate shipping address and apply the shipping groups to the order. |
boolean |
handleRemoveShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Handler for removing a shipping address. |
boolean |
handleUpdateShippingMethod(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Handler for editing shipping group's shipping method. |
boolean |
isEmptyNewAddress(atg.core.util.ContactInfo pAddress)
Checks whether new address is empty. |
boolean |
isMultipleNonGiftHardgoodItems()
Determines if the total quantity of all non-gift hardgood items is more than one. |
boolean |
isSingleShippingGroupCheckout()
|
void |
moveToBilling(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Applies the data in the CommerceItemShippingInfoContainer and ShippingGroupMapContainer to the order. |
void |
postAddShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Copies the new shipping group address to the order's credit card payment group address. |
void |
postEditShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Post edit shipping address processing. |
void |
postMoveToBilling(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This method will reprice the order to catch address problems through CyberSource. |
void |
postRemoveShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Post remove shipping address processing. |
protected void |
postSetupGiftShippingDetails(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Perform any post actions after setting up gift shipping groups |
protected void |
postShipToMultipleAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Sets the profile default shipping method if not set already |
protected void |
postShipToNewAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This method initializes the billing address from the shipping address if the user selected that option. |
protected void |
postShipToProfileAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This method initializes the billing address from the shipping address if the user selected that option. |
void |
postUpdateShippingMethod(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Post edit shipping method processing. |
void |
preAddShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Validates the selected nickname and address properties. |
void |
preEditShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Validates the address properties. |
void |
preMoveToBilling(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This method validates the user inputs for the Move To Billing process |
void |
preRemoveShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Pre remove shipping address processing. |
protected void |
preSetupGiftShippingDetails(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Perfirms validations for Gift Shipping Groups in the order, against the selected shipping method and shipping restrictions |
protected void |
preShipToMultipleAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This method performs input data validations for multiple shipping addresses specified by shopper |
protected void |
preShipToNewAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Performs input data validations for new shipping address specified by shopper |
protected void |
preShipToProfileAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This method provides inputa data validations for a profile shipping address selected by shopper |
void |
preUpdateShippingMethod(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Validates the shipping group's shipping method. |
protected void |
processShippingRestrictionsErrors(java.util.List pshippingValidationResult,
atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Process shipping restriction errors and add them to form exceptions |
void |
removeShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Removes a shipping group address from the container. |
protected void |
repriceOrder(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Logic to reprice order, and parse any errors. |
void |
setAddAddressAndMoveToMultipleShippingErrorURL(java.lang.String pAddAddressAndMoveToMultipleShippingErrorURL)
|
void |
setAddAddressAndMoveToMultipleShippingSuccessURL(java.lang.String pAddAddressAndMoveToMultipleShippingSuccessURL)
|
void |
setAddress(atg.core.util.Address pAddress)
|
void |
setAddShippingAddressErrorURL(java.lang.String pAddShippingAddressErrorURL)
|
void |
setAddShippingAddressSuccessURL(java.lang.String pAddShippingAddressSuccessURL)
|
void |
setCheckoutOptionSelections(CheckoutOptionSelections pCheckoutOptionSelections)
|
void |
setCheckoutProgressStates(CheckoutProgressStates pCheckoutProgressStates)
|
void |
setCouponCode(java.lang.String pCouponCode)
|
void |
setDefaultShippingMethod(java.lang.String pDefaultShippingMethod)
|
void |
setEditAddress(atg.core.util.Address pEditAddress)
|
void |
setEditShippingAddressErrorURL(java.lang.String pEditShippingAddressErrorURL)
|
void |
setEditShippingAddressNickName(java.lang.String pEditShippingAddressNickName)
|
void |
setEditShippingAddressSuccessURL(java.lang.String pEditShippingAddressSuccessURL)
|
void |
setMoveToBillingErrorURL(java.lang.String pMoveToBillingErrorURL)
|
void |
setMoveToBillingSuccessURL(java.lang.String pMoveToBillingSuccessURL)
|
void |
setNewShipToAddressName(java.lang.String pNewShipToAddressName)
|
void |
setPlaceUtils(atg.commerce.util.PlaceUtils pPlaceUtils)
Sets place utils |
void |
setRemoveShippingAddressErrorURL(java.lang.String pRemoveShippingAddressErrorURL)
|
void |
setRemoveShippingAddressNickName(java.lang.String pRemoveShippingAddressNickName)
|
void |
setRemoveShippingAddressSuccessURL(java.lang.String pRemoveShippingAddressSuccessURL)
|
void |
setSaveShippingAddress(boolean pSaveShippingAddress)
|
void |
setShippingAddressNewNickName(java.lang.String pShippingAddressNewNickName)
|
void |
setShippingGroupInitializers(atg.nucleus.ServiceMap pShippingGroupInitializers)
Set the ShippingGroupInitializers property. |
void |
setShippingHelper(StoreShippingProcessHelper pShippingHelper)
|
void |
setShippingMethod(java.lang.String pShippingMethod)
|
void |
setShipToAddressName(java.lang.String pShipToAddressName)
|
void |
setShipToNewAddress(boolean pShipToNewAddress)
|
void |
setSingleShippingGroupCheckout(boolean pSingleShippingGroupCheckout)
|
void |
setUpdateShippingMethodErrorURL(java.lang.String pUpdateShippingMethodErrorURL)
|
void |
setUpdateShippingMethodSuccessURL(java.lang.String pUpdateShippingMethodSuccessURL)
|
protected void |
setupGiftShippingDetails(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Setup shipping details for gift shipping groups |
void |
setUseShippingForBilling(boolean pUseShippingForBilling)
|
protected void |
shipToMultipleAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Setup multi shipping details for shipping to profile addresses |
protected void |
shipToNewAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Setup single shipping details for shipping to a new address |
protected void |
shipToProfileAddress(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Setup single shipping details for shipping to profile addresses |
protected void |
splitShippingGroupsByMethod(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Creates separate shipping groups for the same shipping addresses but with different shipping methods. |
void |
updateShippingMethod(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Save changes to shipping groups. |
protected void |
validateAddressNickname(java.lang.String pNickName,
atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Validate address nickname for duplicacy |
protected void |
validateMultiShippingAddresses(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Validate the shipping addresses on the multi shipping page |
protected void |
validateShippingAddress(atg.core.util.Address pAddress,
atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Validates the new address. |
protected void |
validateShippingMethod(atg.core.util.Address pAddress,
java.lang.String pShippingMethod,
atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Validates the new address - Make sure user isn't trying to Express ship to AK, etc. |
protected void |
validateShippingMethodForContainerShippingGroups(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Validates the shipping group addresses against the provided shipping method. |
protected void |
validateShippingMethodForGiftShippingGroups(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Validate the gift shipping addresses against the shipping methods being used. |
protected void |
validateShippingRestrictions(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Determines if the customer is attempting to ship an item to a country that is restricted. |
Methods inherited from class atg.commerce.order.purchase.ShippingGroupFormHandler |
---|
addShippingGroupToMap, applyCommerceItemShippingInfo, applyDefaultShippingGroup, applyShippingGroups, consolidateShippingInfos, getApplyShippingGroupsErrorURL, getApplyShippingGroupsSuccessURL, getCommerceItemShippingInfoTools, getCurrentList, getCurrentShippingGroup, getDefaultShippingGroupName, getElectronicShippingGroups, getFirstNonGiftHardgoodShippingGroupWithRels, getListId, getLocale, getNonGiftHardgoodShippingGroupCount, getNonGiftHardgoodShippingGroups, getShippingGroup, getShippingGroupId, getSpecifyDefaultShippingGroupErrorURL, getSpecifyDefaultShippingGroupSuccessURL, getSplitShippingInfosErrorURL, getSplitShippingInfosSuccessURL, getValidateShippingGroupsChainId, handleApplyShippingGroups, handleSpecifyDefaultShippingGroup, handleSplitShippingInfos, isAnyElectronicShippingGroups, isAnyHardgoodShippingGroups, isAnyNonGiftHardgoodShippingGroups, isApplyDefaultShippingGroup, isConsolidateShippingInfosBeforeApply, isMultipleHardgoodShippingGroupsWithRelationships, isMultipleNonGiftHardgoodShippingGroups, isShippingGroupInOrder, isValidateShippingGroups, mergeCommerceItemShippingInfos, postApplyShippingGroups, postSpecifyDefaultShippingGroup, postSplitShippingInfos, preApplyShippingGroups, preSpecifyDefaultShippingGroup, preSplitShippingInfos, removeShippingGroupFromMap, runProcessValidateShippingGroups, setApplyDefaultShippingGroup, setApplyShippingGroupsErrorURL, setApplyShippingGroupsSuccessURL, setCommerceItemShippingInfoTools, setConsolidateShippingInfosBeforeApply, setCurrentList, setCurrentShippingGroup, setDefaultShippingGroupName, setListId, setLocale, setShippingGroupId, setSpecifyDefaultShippingGroupErrorURL, setSpecifyDefaultShippingGroupSuccessURL, setSplitShippingInfosErrorURL, setSplitShippingInfosSuccessURL, setValidateShippingGroups, setValidateShippingGroupsChainId, specifyDefaultShippingGroup, splitCommerceItemShippingInfoByQuantity, splitShippingInfos |
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, getPriceList, getPriceListId, getPriceListManager, getProfile, getProfileRepository, getPurchaseProcessHelper, getRepeatingRequestMonitor, getRepriceOrderChainId, getResourceBundle, getResourceBundle, getResourceBundleName, getSessionExpirationURL, getShippingGroupManager, getShippingGroupMapContainer, getShoppingCart, getTransactionManager, getUserLocale, 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, 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, reResolveThis, 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 NICKNAME_SEPARATOR
public static final java.lang.String COUNTRY_KEY_PREFIX
public static final java.lang.String COUNTRY_STATE_RESOURCES
protected static java.lang.String MSG_ERROR_UPDATE_ORDER
protected static java.lang.String MSG_ERROR_MOVE_TO_BILLING
protected java.util.List mGiftShippingGroups
Constructor Detail |
---|
public ShippingInfoFormHandler()
Method Detail |
---|
public CheckoutProgressStates getCheckoutProgressStates()
public void setCheckoutProgressStates(CheckoutProgressStates pCheckoutProgressStates)
public StoreShippingProcessHelper getShippingHelper()
public void setShippingHelper(StoreShippingProcessHelper pShippingHelper)
pShippingHelper
- the shipping helper component to set.public CheckoutOptionSelections getCheckoutOptionSelections()
public void setCheckoutOptionSelections(CheckoutOptionSelections pCheckoutOptionSelections)
pCheckoutOptionSelections
- the CheckoutOptionSelections component to set.public void setShippingGroupInitializers(atg.nucleus.ServiceMap pShippingGroupInitializers)
setShippingGroupInitializers
in class atg.commerce.order.purchase.ShippingGroupFormHandler
pShippingGroupInitializers
- a ServiceMap
valuepublic atg.nucleus.ServiceMap getShippingGroupInitializers()
getShippingGroupInitializers
in class atg.commerce.order.purchase.ShippingGroupFormHandler
ServiceMap
valuepublic java.lang.String getDefaultShippingMethod()
public void setDefaultShippingMethod(java.lang.String pDefaultShippingMethod)
pDefaultShippingMethod
- -
the default shipping method to set.public atg.commerce.util.PlaceUtils getPlaceUtils()
public void setPlaceUtils(atg.commerce.util.PlaceUtils pPlaceUtils)
pPlaceUtils
- public java.lang.String getShippingMethod()
public void setShippingMethod(java.lang.String pShippingMethod)
pShippingMethod
- - the shipping method to set.public boolean isSingleShippingGroupCheckout()
public void setSingleShippingGroupCheckout(boolean pSingleShippingGroupCheckout)
pSingleShippingGroupCheckout
- -
true if single shipping group should be checkouted,
false - otherwise.public boolean getUseShippingForBilling()
public void setUseShippingForBilling(boolean pUseShippingForBilling)
pUseShippingForBilling
- - true if shipping address
should be used for billing, false otherwise.public boolean getSaveShippingAddress()
public void setSaveShippingAddress(boolean pSaveShippingAddress)
pSaveShippingAddress
- - true if shipping address
should be saved, false - otherwise.public boolean getShipToNewAddress()
public void setShipToNewAddress(boolean pShipToNewAddress)
pShipToNewAddress
- - true if shipping will be performed to the new address,
false - otherwise.public java.lang.String getShipToAddressName()
public void setShipToAddressName(java.lang.String pShipToAddressName)
pShipToAddressName
- - shipping address.public java.lang.String getNewShipToAddressName()
public void setNewShipToAddressName(java.lang.String pNewShipToAddressName)
pNewShipToAddressName
- - new shipping address.public java.lang.String getEditShippingAddressNickName()
public void setEditShippingAddressNickName(java.lang.String pEditShippingAddressNickName)
pEditShippingAddressNickName
- -
the edit shipping address nickname to set.public java.lang.String getRemoveShippingAddressNickName()
public void setRemoveShippingAddressNickName(java.lang.String pRemoveShippingAddressNickName)
pRemoveShippingAddressNickName
- -
the remove shipping address nickname to set.public java.lang.String getShippingAddressNewNickName()
public void setShippingAddressNewNickName(java.lang.String pShippingAddressNewNickName)
pShippingAddressNewNickName
- -
the shipping address new nickname to set.public atg.core.util.Address getAddress()
public void setAddress(atg.core.util.Address pAddress)
pAddress
- - the address to set.public atg.core.util.Address getEditAddress()
public void setEditAddress(atg.core.util.Address pEditAddress)
pEditAddress
- - the edit address to set.public java.lang.String getMoveToBillingErrorURL()
public void setMoveToBillingErrorURL(java.lang.String pMoveToBillingErrorURL)
pMoveToBillingErrorURL
- - move to billing
error redirect URL.public java.lang.String getMoveToBillingSuccessURL()
public void setMoveToBillingSuccessURL(java.lang.String pMoveToBillingSuccessURL)
pMoveToBillingSuccessURL
- - move to billing
success redirect URL.public java.lang.String getAddShippingAddressSuccessURL()
public void setAddShippingAddressSuccessURL(java.lang.String pAddShippingAddressSuccessURL)
pAddShippingAddressSuccessURL
- -
the add shipping address success redirect URL to set.public java.lang.String getAddShippingAddressErrorURL()
public void setAddShippingAddressErrorURL(java.lang.String pAddShippingAddressErrorURL)
pAddShippingAddressErrorURL
- -
the add shipping address error redirect URL to set.public java.lang.String getEditShippingAddressSuccessURL()
public void setEditShippingAddressSuccessURL(java.lang.String pEditShippingAddressSuccessURL)
pEditShippingAddressSuccessURL
- -
the edit shipping address success redirect URL to set.public java.lang.String getEditShippingAddressErrorURL()
public void setEditShippingAddressErrorURL(java.lang.String pEditShippingAddressErrorURL)
pEditShippingAddressErrorURL
- -
the edit shipping address error redirect URL to set.public java.lang.String getRemoveShippingAddressSuccessURL()
public void setRemoveShippingAddressSuccessURL(java.lang.String pRemoveShippingAddressSuccessURL)
pRemoveShippingAddressSuccessURL
- -
the remove shipping address success redirect URL to set.public java.lang.String getRemoveShippingAddressErrorURL()
public void setRemoveShippingAddressErrorURL(java.lang.String pRemoveShippingAddressErrorURL)
pRemoveShippingAddressErrorURL
- -
the remove shipping address error redirect URL to set.public java.lang.String getAddAddressAndMoveToMultipleShippingSuccessURL()
public void setAddAddressAndMoveToMultipleShippingSuccessURL(java.lang.String pAddAddressAndMoveToMultipleShippingSuccessURL)
pAddAddressAndMoveToMultipleShippingSuccessURL
- -
the Add Shipping Address and Move to Multiple Shipping success redirect URL to set.public java.lang.String getAddAddressAndMoveToMultipleShippingErrorURL()
public void setAddAddressAndMoveToMultipleShippingErrorURL(java.lang.String pAddAddressAndMoveToMultipleShippingErrorURL)
pAddAddressAndMoveToMultipleShippingErrorURL
- -
the Add Shipping Address and Move to Multiple Shipping error redirect URL to set.public java.lang.String getUpdateShippingMethodSuccessURL()
public void setUpdateShippingMethodSuccessURL(java.lang.String pUpdateShippingMethodSuccessURL)
pUpdateShippingMethodSuccessURL
- -
the update shipping method success redirect URL to set.public java.lang.String getUpdateShippingMethodErrorURL()
public void setUpdateShippingMethodErrorURL(java.lang.String pUpdateShippingMethodErrorURL)
pUpdateShippingMethodErrorURL
- -
the update shipping method error redirect URL to set.public java.util.List getGiftShippingGroups()
getGiftShippingGroups
in class atg.commerce.order.purchase.ShippingGroupFormHandler
public java.util.List getAllHardgoodCommerceItemShippingInfos()
getAllHardgoodCommerceItemShippingInfos
in class atg.commerce.order.purchase.ShippingGroupFormHandler
List
value - All hardgood commerce item shipping information.public boolean isMultipleNonGiftHardgoodItems()
public boolean handleCancel(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
handleCancel
in class atg.droplet.GenericFormHandler
javax.servlet.ServletException
java.io.IOException
public boolean handleCreateAndMoveToBilling(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
boolean
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic boolean handleMoveToBilling(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
boolean
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic java.lang.String getCouponCode()
public void setCouponCode(java.lang.String pCouponCode)
public void preMoveToBilling(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void moveToBilling(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursShippingGroupFormHandler.applyShippingGroups(DynamoHttpServletRequest, DynamoHttpServletResponse)
public void postMoveToBilling(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
Initializes the billing address from the shipping address if the user selected that option.
Saves addresses in the profile, if the user selected that option.
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void preShipToProfileAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void shipToProfileAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void postShipToProfileAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void preShipToMultipleAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void validateMultiShippingAddresses(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void shipToMultipleAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void splitShippingGroupsByMethod(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws atg.commerce.CommerceException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
atg.commerce.CommerceException
protected void postShipToMultipleAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void preShipToNewAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void shipToNewAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void postShipToNewAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void preSetupGiftShippingDetails(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void setupGiftShippingDetails(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void postSetupGiftShippingDetails(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void repriceOrder(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic boolean handleAddShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if servlet error occurs
java.io.IOException
- if IO error occurspublic void preAddShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void addShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void postAddShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic boolean handleEditShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if servlet error occurs
java.io.IOException
- if IO error occurspublic void preEditShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void editShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void postEditShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic boolean handleRemoveShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if servlet error occurs
java.io.IOException
- if IO error occurspublic void preRemoveShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void removeShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void postRemoveShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic boolean handleAddAddressAndMoveToMultipleShipping(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
boolean
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic boolean isEmptyNewAddress(atg.core.util.ContactInfo pAddress)
pAddress
- address to check
protected void validateShippingRestrictions(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void validateAddressNickname(java.lang.String pNickName, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pNickName
- - nicknamepRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void validateShippingAddress(atg.core.util.Address pAddress, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
pAddress
- - addresspRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void validateShippingMethod(atg.core.util.Address pAddress, java.lang.String pShippingMethod, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
pAddress
- - addresspRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void validateShippingMethodForGiftShippingGroups(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occursprotected void validateShippingMethodForContainerShippingGroups(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic boolean handleInitSingleShippingForm(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
This method expects that the ShippingGroupMapContainer has been initialized with shipping groups.
The following form properties are initialized:
NEW_ADDRESS
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if servlet error occurs
java.io.IOException
- if IO error occurspublic boolean handleInitMultipleShippingForm(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
The following form properties are initialized:
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if servlet error occurs
java.io.IOException
- if IO error occurspublic boolean handleInitEditAddressForm(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
Initialization only takes place if there aren't any form errors.
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if servlet error occurs
java.io.IOException
- if IO error occursprotected void processShippingRestrictionsErrors(java.util.List pshippingValidationResult, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
pshippingValidationResult
- shipping validation resultspRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
java.io.IOException
javax.servlet.ServletException
protected java.lang.String createPricingErrorMessage(atg.commerce.pricing.PricingException pe, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
pe
- - pricing exceptionpRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
protected void addAddressValidationFormError(java.util.List pMissingProperties, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
pMissingProperties
- - missing properties listpRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
valuepublic boolean handleUpdateShippingMethod(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if servlet error occurs
java.io.IOException
- if IO error occurspublic void preUpdateShippingMethod(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void updateShippingMethod(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurspublic void postUpdateShippingMethod(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- a DynamoHttpServletRequest
valuepResponse
- a DynamoHttpServletResponse
value
javax.servlet.ServletException
- if an error occurs
java.io.IOException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |