atg.projects.store.profile
Class StoreProfileFormHandler

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.droplet.EmptyFormHandler
              extended by atg.droplet.GenericFormHandler
                  extended by atg.userprofiling.ProfileForm
                      extended by atg.userprofiling.ProfileFormHandler
                          extended by atg.scenario.userprofiling.ScenarioProfileFormHandler
                              extended by atg.commerce.profile.CommerceProfileFormHandler
                                  extended by atg.projects.store.profile.StoreProfileFormHandler
All Implemented Interfaces:
atg.droplet.DropletFormHandler, atg.naming.NameContextBindingListener, atg.naming.NameContextElement, atg.naming.NameResolver, atg.nucleus.AdminableService, atg.nucleus.logging.ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, atg.nucleus.naming.ComponentNameResolver, atg.nucleus.Service, atg.nucleus.ServiceListener, atg.process.ProcessConstants, atg.scenario.ScenarioConstants, atg.scenario.targeting.SlotConstants, java.util.EventListener

public class StoreProfileFormHandler
extends atg.commerce.profile.CommerceProfileFormHandler

Profile form handler.

See Also:
CommerceProfileFormHandler

Nested Class Summary
 
Nested classes/interfaces inherited from class atg.userprofiling.ProfileForm
atg.userprofiling.ProfileForm.ProfileFormHashtableWrapper
 
Field Summary
static java.lang.String CLASS_VERSION
          Class version string.
 
Fields inherited from class atg.userprofiling.ProfileFormHandler
mClearValuesOnCreate, mClearValuesOnLogin, mClearValuesOnUpdate
 
Fields inherited from class atg.userprofiling.ProfileForm
CONFIRMPASSWORD_PARAM, DEFAULT_CREATE_PROFILE_TYPE, DEFAULT_LOGIN_PROFILE_TYPE, DEFAULT_LOGOUT_PROFILE_TYPE, HANDLE_CREATE, HANDLE_CREATE_PARAM, HANDLE_FAILURE, HANDLE_LOGIN, HANDLE_LOGIN_PARAM, HANDLE_SUCCESS, ID_NAME, mBadPasswordDelay, mChangePasswordErrorURL, mChangePasswordSuccessURL, mCheckForRequiredParameters, mCheckForRequiredProperties, mCheckForRequiredPropertiesAfterUpdate, mCompareValueInCopyPropertiesOnLogin, mConfirmOldPassword, mConfirmPassword, mCreateErrorURL, mCreateProfileType, mCreateSuccessURL, mDeleteErrorURL, mDeleteSuccessURL, mExpireSessionOnLogout, mExtractDefaultValuesFromProfile, mLoginErrorURL, mLoginProfileType, mLoginSuccessURL, mLogoutErrorURL, mLogoutProfileType, mLogoutSuccessURL, mProfileTools, mPropertiesToAddOnLogin, mPropertiesToCopyOnLogin, mRepositoryId, MSG_ERR_CREATING_PROFILE, MSG_ERR_DELETING_PROFILE, MSG_ERR_UPDATING_PROFILE, MSG_ILLEGAL_ARGUMENT, MSG_INVALID_ADD_PROPERTY, MSG_INVALID_LOGIN, MSG_MISSING_LOGIN, MSG_MISSING_OLD_PASSWORD, MSG_MISSING_PASSWORD, MSG_MISSING_PROFILE, MSG_MISSING_PROFILE_TOOLS, MSG_MISSING_REQUIRED_PROPERTY, MSG_NO_SUCH_PROFILE_PROPERTY, MSG_NO_TYPE_CONVERTER, MSG_PASSWORD_SAME_AS_OLD_PASSWORD, MSG_PASSWORDS_DO_NOT_MATCH, MSG_PERMISSION_DEFINED_PASSWORD_CHANGE, MSG_READ_ONLY_PROFILE_PROPERTY, MSG_TYPE_CONVERSION_ERR, MSG_USER_ALREADY_EXISTS, MSG_WARNING_PROFILE_TOOLS, mSwapEventListeners, mTrimProperties, mUpdateErrorURL, mUpdateSuccessURL, mUserLoginManager, mUsingLdapProfile, mValue, NULL_SENTINEL, OLDPASSWORD_PARAM, REPOSITORY_ID_PROPERTY_NAME, RESOURCE_BUNDLE_NAME, STATUS_ERROR_REDIRECT, STATUS_ERROR_STAY, STATUS_SUCCESS
 
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.scenario.ScenarioConstants
ATTR_SCENARIO_REDIRECT, PROPERTY_REFERENCE_TARGET, PROPERTY_REFERENCE_TYPE, PROPERTY_SCENARIO_INSTANCES, PROPERTY_SLOT_INSTANCES
 
Fields inherited from interface atg.process.ProcessConstants
COLLECTIVE_CLONE_PROPERTIES, DEFAULT_INITIAL_TIME_DELAY, DEFAULT_MAX_BATCH_SIZE, DEFAULT_PROCESS_FILE_EXTENSION, DEFAULT_TEMPLATE_FILE_EXTENSION, INDIVIDUAL_CLONE_PROPERTIES, INPUT_PORT_BATCH_TIMER, INPUT_PORT_COLLECTIVE_TIMER, INPUT_PORT_DISABLE_PROCESS, INPUT_PORT_GLOBAL_EVENT, INPUT_PORT_INDIVIDUAL_EVENT, INPUT_PORT_INDIVIDUAL_TIMER, INPUT_PORT_MIGRATION_UPDATE, INPUT_PORT_PROCESS_UPDATE, INPUT_PORT_SEGMENT_START_TIMER, JMS_TYPE_BATCH_TIMER, JMS_TYPE_COLLECTIVE_TIMER, JMS_TYPE_DISABLE_PROCESS, JMS_TYPE_INDIVIDUAL_TIMER, JMS_TYPE_MIGRATION_DELETE, JMS_TYPE_MIGRATION_UPDATE, JMS_TYPE_PROCESS_UPDATE, MIGRATION_STATUS_DONE, MIGRATION_STATUS_IN_PROGRESS, OUTPUT_PORT_BATCH_TIMER, OUTPUT_PORT_COLLECTIVE_TIMER, OUTPUT_PORT_INDIVIDUAL_TIMER, OUTPUT_PORT_MIGRATION_UPDATE, OUTPUT_PORT_PROCESS_UPDATE, OUTPUT_PORT_SEGMENT_START_TIMER, PROPERTY_AUTHOR, PROPERTY_COLLECTIVE_INSTANCE, PROPERTY_CONTEXT_BOOLEANS, PROPERTY_CONTEXT_DATES, PROPERTY_CONTEXT_DOUBLES, PROPERTY_CONTEXT_LONGS, PROPERTY_CONTEXT_STRINGS, PROPERTY_COUNT, PROPERTY_CREATED_BY_RECURRING_EVENT, PROPERTY_CREATION_TIME, PROPERTY_CREATOR_ID, PROPERTY_EVENT_TYPE, PROPERTY_ID, PROPERTY_LAST_MODIFIED_BY, PROPERTY_LAST_QUERY_ID, PROPERTY_MESSAGE_BEAN, PROPERTY_MIGRATION_INFO, PROPERTY_MIGRATION_INFOS, PROPERTY_MIGRATION_STATUS, PROPERTY_MODIFICATION_TIME, PROPERTY_NEW_MODIFICATION_TIME, PROPERTY_NUM_TRANSITION_RETRIES, PROPERTY_OLD_MODIFICATION_TIME, PROPERTY_PDL, PROPERTY_PROCESS_INFO, PROPERTY_PROCESS_NAME, PROPERTY_PROCESS_STATUS, PROPERTY_SEGMENT_NAME, PROPERTY_SEGMENT_NAMES, PROPERTY_SERVER_ID, PROPERTY_SERVER_TYPE, PROPERTY_STATE, PROPERTY_STATE_MACHINE_VERSION, PROPERTY_STEP, PROPERTY_SUBJECT, PROPERTY_TEMPLATE_NAME, STEP_ACTIONS_1, STEP_ACTIONS_2, STEP_NEXT_STATE_1, STEP_NEXT_STATE_2, UNDEFINED_TIMESTAMP_VALUE, WILDCARD_MATCH_ALL
 
Fields inherited from interface atg.scenario.targeting.SlotConstants
PROFILE_SLOT_TYPE, PROPERTY_ID, PROPERTY_SLOT_ITEMS, PROPERTY_SLOT_NAME, PROPERTY_SLOT_OFFSET, PROPERTY_SLOT_PRIORITIES, PROPERTY_SLOT_PROFILE, TRANS_MGR
 
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
StoreProfileFormHandler()
           
 
Method Summary
protected  void checkForDuplicateAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse, java.lang.String pNickname, java.util.List<java.lang.String> pIgnoredNames)
          Checks if the given nickname already exists in the secondary address map.
 atg.repository.RepositoryItem createUser(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Override OOTB method so that the user's email addres is copied over to their login field.
 java.lang.String evalEmailAddress()
          This method eval appropriate email address depends on selected checkoutLoginOption.
protected  atg.repository.RepositoryItem findUser(java.lang.String pLogin, java.lang.String pPassword, atg.repository.Repository pProfileRepository, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
           
protected  void generateFormException(java.lang.String pWhatException, java.lang.Object[] pArgs, atg.repository.RepositoryException pRepositoryExc, atg.servlet.DynamoHttpServletRequest pRequest)
          Create a form exception, by looking up the exception code in a resource file identified by the RESOURCE_BUNDLE constant (defined above).
protected  void generateFormException(java.lang.String pWhatException, java.lang.Object[] pArgs, java.lang.String pPath, atg.servlet.DynamoHttpServletRequest pRequest)
          Creates a form exception, by looking up the exception code in a resource file identified by the RESOURCE_BUNDLE constant (defined above).
protected  void generateFormException(java.lang.String pWhatException, atg.repository.RepositoryException pRepositoryExc, atg.servlet.DynamoHttpServletRequest pRequest)
          Create a form exception, by looking up the exception code in a resource file identified by the RESOURCE_BUNDLE constant (defined above).
protected  void generateFormException(java.lang.String pWhatException, java.lang.String pPath, atg.servlet.DynamoHttpServletRequest pRequest)
          Creates a form exception, by looking up the exception code in a resource file identified by the RESOURCE_BUNDLE constant (defined above).
 java.util.List getAddCommerceItemInfos()
           
 java.lang.String getAddressIdValueMapKey()
           
 java.lang.String[] getAddressProperties()
          Returns property addressProperties, naming the properties in a secondary address record.
 java.lang.String getAnonymousEmailAddress()
           
 java.util.Map getBillAddrValue()
           
 java.util.List getBillingAddressPropertyList()
          Returns the BillingAddressPropertyList.
 java.lang.String[] getCardProperties()
          Returns property cardProperties, naming the properties in a credit card entry.
 java.lang.String getCheckoutLoginOption()
           
 java.lang.String getCreateCardErrorURL()
          Returns property createCardErrorURL, used to redirect user in case of an error adding a new credit card.
 java.lang.String getCreateCardSuccessURL()
          Returns property createCardSuccessURL, used to redirect user if a new credit card was successfully added.
 atg.payment.creditcard.ExtendableCreditCardTools getCreditCardTools()
           
protected  java.lang.String getDateByFormat(java.lang.Object pDate, java.lang.String pFormat)
          Operation called to get the Date on the basis of locale format.
 java.lang.String getDateFormat()
           
 java.lang.String getDateOfBirth()
           
 java.lang.String getDefaultCard()
          Returns property editCard, naming the credit card to be edited.
 java.lang.String getDefaultShippingAddress()
           
 java.lang.String getEditAddress()
          Returns property editAddress, naming the address to be edited
 java.lang.String getEditCard()
          Returns property editCard, naming the credit card to be edited.
 java.util.Map getEditValue()
           
 java.lang.String getEmailAddress()
           
 atg.commerce.gifts.GiftlistManager getGiftlistManager()
           
 java.lang.String[] getImmutableCardProperties()
          Returns immutableCardProperties property value.
protected  java.util.Locale getLocale(atg.servlet.DynamoHttpServletRequest pRequest)
          Determine the user's current locale, if available.
 java.lang.String getLoginEmailAddress()
           
 java.lang.String getNewAddressErrorURL()
          Returns property newAddressErrorURL, used to redirect user in case of an error creating an address.
 java.lang.String getNewAddressSuccessURL()
          Returns property newAddressSuccessURL, used to redirect user after successfully creating an address.
 java.lang.String getNewCustomerEmailAddress()
           
 java.lang.String getNewNicknameValueMapKey()
           
 java.lang.String getNicknameValueMapKey()
           
 atg.commerce.order.Order getOrder()
          Return the Order property.
 java.lang.String getPreRegisterErrorURL()
           
 java.lang.String getPreRegisterSuccessURL()
           
 java.lang.String getRemoveAddress()
          Returns property removeAddress, naming the address to be removed by handleRemoveAddress().
 java.lang.String getRemoveCard()
          Returns property removeCard, naming the address to be removed by handleRemoveCard().
 java.lang.String getRemoveCardErrorURL()
          Returns property removeCardErrorURL, used to redirect user in case of an error removing a credit card.
 java.lang.String getRemoveCardSuccessURL()
          Returns property removeCardSuccessURL, used to redirect user in a credit card is successfully removed.
 java.util.List getRequiredBillingAddressPropertyList()
           
static java.util.ResourceBundle getResourceBundle(java.util.Locale pLocale)
          Returns a ResourceBundle specific for the given locale.
 SessionBean getSessionBean()
           
 java.lang.String getShippingAddressNicknameMapKey()
           
 atg.commerce.order.purchase.ShippingGroupMapContainer getShippingGroupMapContainer()
          Return the ShippingGroupMapContainer property.
 atg.commerce.order.OrderHolder getShoppingCart()
          Returns property ShoppingCart.
 java.lang.String getSourceCode()
           
protected  StorePropertyManager getStorePropertyManager()
          Utility method to retrieve the StorePropertyManager.
static java.lang.String getString(java.lang.String pKey, java.util.Locale pLocale)
          Return a String message specific for the given locale.
 java.lang.String getUpdateAddressErrorURL()
          Returns property updateAddressErrorURL, used to redirect user in case of an error updating an address.
 java.lang.String getUpdateAddressSuccessURL()
          Returns property updateAddressSuccessURL, used to redirect user when an address is successfully updated.
 java.lang.String getUpdateCardErrorURL()
          Returns property updateCardErrorURL, used to redirect user in case of an error updating a new credit card.
 java.lang.String getUpdateCardSuccessURL()
          Returns property updateCardSuccessURL.
 UserItems getUserItems()
           
protected  java.util.Locale getUserLocale(atg.servlet.DynamoHttpServletRequest pRequest)
          Returns the Locale for the user given the request.
 boolean handleCheckoutDefaults(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Handles changes on the 'Checkout Defaults' page - default credit card, shipping address and shipping method.
 boolean handleClear(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Override to prevent clear if there are form errors.
 boolean handleClearForm(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Override to prevent clear if there are form errors.
 boolean handleCreateNewCreditCard(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Creates a new credit card using the entries entered in the editValue map
 boolean handleCreateNewCreditCardAndAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Creates a new credit card using the entries entered in the editValue map
 boolean handleDefaultCard(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Deprecated.  
 boolean handleDefaultShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Deprecated.  
 boolean handleEditAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Copy the named secondary address into the editValue map, allowing the user to edit them.
 boolean handleEditCard(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Copy the named credit card into the editValue map, allowing the user to edit them.
 boolean handleLoginDuringCheckout(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Handle login during the checkout process.
 boolean handleNewAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Creates a new shipping address using the entries entered in the editValue map.
 boolean handlePreRegister(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Perform pre-registration actions before user actually registered.
 boolean handleRemoveAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This handler deletes a secondary address named in the removeAddress property.
 boolean handleRemoveCard(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Removes specified in removeCard property credit card from user's credit cards map.
 boolean handleUpdateAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Update the secondary address as modified by the user.
 boolean handleUpdateCard(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Updates the credit card as modified by the user.
 boolean isEmailOptIn()
           
 boolean isNewUser()
          Checks if user is not exists, i.e.
 boolean isPreviousOptInStatus()
           
 boolean isUseShippingAddressAsDefault()
           
protected  void postCreateUser(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Override OOTB method so that if the profile has receiveEmail=yes, create an EmailRecipient repository item for Email Campaigns.
protected  void postLoginUser(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
           
 void postLogoutUser(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Operation called just after the user is logged out.
protected  void postUpdateUser(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          
protected  void preChangePassword(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Override the OOTB method to that a password length check is performed.
protected  void preCreateUser(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Operation called just before the user creation process is started.
protected  void preLoginUser(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Override OOTB method so that auto-logged in user is not logged out if they provide an invalid password.
 void preRemoveAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Address that we'd like to remove could be associated with a gift list.
protected  void preUpdateCard(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Called before handleUpdateCard logic is applied.
protected  void preUpdateUser(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This overriding method will check to see if a new email address that is being submitted in an update already belongs to another user profile.
 void setAddCommerceItemInfos(java.util.List pAddCommerceItemInfos)
           
 void setAddressIdValueMapKey(java.lang.String pAddressIdValueMapKey)
           
 void setAddressProperties(java.lang.String[] pAddressProperties)
          Sets property addressProperties, naming the properties in a secondary address record.
 void setAnonymousEmailAddress(java.lang.String pAnonymousEmailAddress)
           
 void setBillingAddressPropertyList(java.util.List pBillingAddressPropertyList)
          Sets the Address property list, which is a list that mirrors the original design of the AddressProperties property with the property names defined in a configuration file.
 void setCardProperties(java.lang.String[] pCardProperties)
          Sets property cardProperties, naming the properties in a credit card entry.
 void setCheckoutLoginOption(java.lang.String pCheckoutLoginOption)
          Sets property mCheckoutLoginOption.
 void setCreateCardErrorURL(java.lang.String pCreateCardErrorURL)
          Sets property createCardErrorURL, used to redirect user in case of an error adding a new credit card.
 void setCreateCardSuccessURL(java.lang.String pCreateCardSuccessURL)
          Sets property createCardSuccessURL, used to redirect user if a new credit card was successfully added.
 void setCreditCardTools(atg.payment.creditcard.ExtendableCreditCardTools pCreditCardTools)
           
 void setDateFormat(java.lang.String pDateFormat)
           
 void setDateOfBirth(java.lang.String pDateOfBirth)
           
 void setDefaultCard(java.lang.String pDefaultCard)
          Sets property efaultCard, naming the credit card to be the default.
 void setDefaultShippingAddress(java.lang.String pDefaultShippingAddress)
           
 void setEditAddress(java.lang.String pEditAddress)
          Sets property editAddress, naming the address to be edited
 void setEditCard(java.lang.String pEditCard)
          Sets property editCard, naming the credit card to be edited.
 void setEmailAddress(java.lang.String pEmailAddress)
           
 void setEmailOptIn(boolean pEmailOptIn)
           
 void setGiftlistManager(atg.commerce.gifts.GiftlistManager pGiftlistManager)
           
 void setImmutableCardProperties(java.lang.String[] pImmutableCardProperties)
          Sets immutableCardProperties property value.
 void setLoginEmailAddress(java.lang.String pLoginEmailAddress)
           
 void setNewAddressErrorURL(java.lang.String pNewAddressErrorURL)
          Sets property newAddressErrorURL, used to redirect user in case of an error creating an address.
 void setNewAddressSuccessURL(java.lang.String pNewAddressSuccessURL)
          Sets property newAddressSuccessURL, used to redirect user after successfully creating an address.
 void setNewCustomerEmailAddress(java.lang.String pNewCustomerEmailAddress)
           
 void setNewNicknameValueMapKey(java.lang.String pNewNicknameValueMapKey)
           
 void setNicknameValueMapKey(java.lang.String pNicknameValueMapKey)
           
 void setOrder(atg.commerce.order.Order pOrder)
          Set the Order property.
 void setPreRegisterErrorURL(java.lang.String pPreRegisterErrorURL)
           
 void setPreRegisterSuccessURL(java.lang.String pPreRegisterSuccessURL)
           
 void setPreviousOptInStatus(boolean pPreviousOptInStatus)
           
 void setRemoveAddress(java.lang.String pRemoveAddress)
          Sets property removeAddress, naming the address to be removed by handleRemoveAddress().
 void setRemoveCard(java.lang.String pRemoveCard)
          Sets property removeCard, naming the address to be removed by handleRemoveCard().
 void setRemoveCardErrorURL(java.lang.String pRemoveCardErrorURL)
          Sets property removeCardErrorURL, used to redirect user in case of an error removing a credit card.
 void setRemoveCardSuccessURL(java.lang.String pRemoveCardSuccessURL)
          Sets property removeCardSuccessURL, used to redirect user when a credit card is successfully removed.
 void setRequiredBillingAddressPropertyList(java.util.List pRequiredBillingAddressPropertyList)
           
 void setSessionBean(SessionBean pSessionBean)
           
 void setShippingAddressNicknameMapKey(java.lang.String pShippingAddressNicknameMapKey)
           
 void setShippingGroupMapContainer(atg.commerce.order.purchase.ShippingGroupMapContainer pShippingGroupMapContainer)
          Set the ShippingGroupMapContainer property.
 void setShoppingCart(atg.commerce.order.OrderHolder pShoppingCart)
          Sets property ShoppingCart.
 void setSourceCode(java.lang.String pSourceCode)
           
 void setUpdateAddressErrorURL(java.lang.String pUpdateAddressErrorURL)
          Sets property updateAddressErrorURL, used to redirect user in case of an error updating an address.
 void setUpdateAddressSuccessURL(java.lang.String pUpdateAddressSuccessURL)
          Sets property updateAddressSuccessURL, used to redirect user when an address is successfully updated.
 void setUpdateCardErrorURL(java.lang.String pUpdateCardErrorURL)
          Sets property updateCardErrorURL, used to redirect user in case of an error updating a new credit card.
 void setUpdateCardSuccessURL(java.lang.String pUpdateCardSuccessURL)
          Sets property updateCardSuccessURL.
 void setUserItems(UserItems pUserItems)
           
 void setUseShippingAddressAsDefault(boolean pUseShippingAddressAsDefault)
           
protected  void updateSecondaryAddressName(atg.repository.RepositoryItem pProfile, java.lang.String pOldAddressName, java.lang.String pNewAddressName)
          Updates an address nickname
protected  void updateSecondaryInfo(atg.core.util.Address pTargetAddress, atg.core.util.Address pSourceAddress)
          Updates all the properties of an address that don't effect where the item is shipped to - e.g the phone number.
protected  boolean validateAddress(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Validates new address fields entered by user: all required fields are specified for new address country/state combination is valid for new address not duplicate address nickname is used for create address or update address operation
protected  boolean validateBillingAddressFields(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Validates that all required fields are entered for billing address
protected  void validateCountryStateCombination(java.util.Map pAddress, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Validate country-state combination.
protected  void validateCountryStateCombination(java.lang.String pCountry, java.lang.String pState, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Validate country-state combination.
protected  boolean validateCreateCreditCardInformation(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse, boolean pIsNewAddress)
          Validates credit card information entered by user: all required fields are specified for credit card all required fields are specified for new address country/state combination is valid for new address card number and expiry date are valid not duplicate credit card nickname is used
protected  boolean validateCreditCard(java.util.HashMap pCard, java.util.ResourceBundle pBundle)
          Validates the credit card information using CreditCardTools.
protected  boolean validateCreditCardFields(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Validates that all required credit card's fields are entered by user
protected  java.util.Date validateDateFormat(java.lang.String pDate, java.lang.String pFormat)
          Operation called to validate the Date on the basis of locale format
protected  boolean validatePassword(java.lang.String pPassword, atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Validates password.
protected  boolean validateUpdateCreditCardInformation(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          Validates updated credit card information entered by user: country/state combination is valid for billing address card expiry date are valid not duplicate credit card nickname is used
 
Methods inherited from class atg.commerce.profile.CommerceProfileFormHandler
addProperty, getDefaultLocale, getOrderManager, getPromotionTools, getUserLocale, getUserPricingModels, setDefaultLocale, setOrderManager, setPromotionTools, setUserPricingModels
 
Methods inherited from class atg.scenario.userprofiling.ScenarioProfileFormHandler
addScenarioInstances, addSlotInstances, getScenarioManager, handleCreate, handleDelete, handleLogin, handleLogout, handleUpdate, isOverrideFormHandlerRedirect, setOverrideFormHandlerRedirect, setScenarioManager
 
Methods inherited from class atg.userprofiling.ProfileFormHandler
addProfileUpdateListener, checkFormError, createProfileItem, getClearValuesOnCreate, getClearValuesOnLogin, getClearValuesOnUpdate, getExpiredPasswordService, getProfile, getProfileUpdateEvent, getProfileUpdateTrigger, getRepositoryId, getRequestLocale, getTestPassword, getUpdateRepositoryId, getVerifyPasswordSuccessURL, handleCancel, handleVerifyPassword, isCreateNewUser, isGenerateProfileUpdateEvents, isSendCookie, preLogoutUser, propagateLocale, removeProfileUpdateListener, sendProfileUpdateEvent, setClearValuesOnCreate, setClearValuesOnLogin, setClearValuesOnUpdate, setCreateNewUser, setExpiredPasswordService, setGenerateProfileUpdateEvents, setProfile, setProfileUpdateEvent, setProfileUpdateTrigger, setRepositoryId, setRequestLocale, setTestPassword, setUpdateRepositoryId, setVerifyPasswordSuccessURL, shouldCreateNewUser
 
Methods inherited from class atg.userprofiling.ProfileForm
addMulti, addPropertiesOnLogin, addSwapEventListener, addUser, changePassword, checkFormSuccess, checkForRequiredParameters, checkForRequiredProperties, checkForRequiredProperties, commitTransaction, copyPropertiesOnLogin, doStartService, ensureTransaction, findUser, formatUserMessage, formatUserMessage, formatUserMessage, formatUserMessage, generatePropertyPath, getAddMultiPropertyName, getAddMultiPropertyValue, getBadPasswordDelay, getChangePasswordErrorURL, getChangePasswordSuccessURL, getCheckForRequiredParameters, getCheckForRequiredProperties, getCheckForRequiredPropertiesAfterUpdate, getCreateErrorURL, getCreateProfileType, getCreateSuccessURL, getDeleteErrorURL, getDeleteSuccessURL, getDescriptor, getExpireSessionOnLogout, getLoginErrorURL, getLoginProfileType, getLoginSuccessURL, getLogoutErrorURL, getLogoutProfileType, getLogoutSuccessURL, getProcessPropertyNames, getProfileItem, getProfileTools, getPropertiesToAddOnLogin, getPropertiesToCopyOnLogin, getStringValueProperty, getTransactionDemarcation, getTransactionManager, getTrimProperties, getUpdateErrorURL, getUpdateSuccessURL, getUserLoginManager, getValue, getValueFromArrayString, getValueFromObject, getValueFromObjectArray, getValueFromString, getValueFromStringArray, getValueMap, getValueProperty, handleAddMulti, handleChangePassword, handleValueDictionaryByParameters, isCompareValueInCopyPropertiesOnLogin, isConfirmOldPassword, isConfirmPassword, isExtractDefaultValuesFromProfile, isTrimProperty, isUsingLdapProfile, postAddMulti, postChangePassword, postDeleteUser, postValueDictionaryByParameters, preAddMulti, preDeleteUser, preValueDictionaryByParameters, removeSwapEventListener, removeUser, sendProfileSwapEvent, setBadPasswordDelay, setChangePasswordErrorURL, setChangePasswordSuccessURL, setCheckForRequiredParameters, setCheckForRequiredProperties, setCheckForRequiredPropertiesAfterUpdate, setCompareValueInCopyPropertiesOnLogin, setConfirmOldPassword, setConfirmPassword, setCreateErrorURL, setCreateProfileType, setCreateSuccessURL, setDeleteErrorURL, setDeleteSuccessURL, setExpireSessionOnLogout, setExtractDefaultValuesFromProfile, setLoginErrorURL, setLoginProfileType, setLoginSuccessURL, setLogoutErrorURL, setLogoutProfileType, setLogoutSuccessURL, setProfileTools, setPropertiesToAddOnLogin, setPropertiesToCopyOnLogin, setTrimProperties, setUpdateErrorURL, setUpdateSuccessURL, setUserLoginManager, setUsingLdapProfile, setValueDictionaryByParameters, setValueProperty, updateLDAPProfileAttributes, updatePasswordValue, updateProfileAttributes, updateProfileAttributes, updateUser, userAlreadyExists, valueIsEmpty
 
Methods inherited from class atg.droplet.GenericFormHandler
addFormException, addUncheckedFormException, afterSet, beforeSet, checkFormRedirect, 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

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string.

Constructor Detail

StoreProfileFormHandler

public StoreProfileFormHandler()
Method Detail

getSessionBean

public SessionBean getSessionBean()

setSessionBean

public void setSessionBean(SessionBean pSessionBean)

getGiftlistManager

public atg.commerce.gifts.GiftlistManager getGiftlistManager()

setGiftlistManager

public void setGiftlistManager(atg.commerce.gifts.GiftlistManager pGiftlistManager)

getNicknameValueMapKey

public java.lang.String getNicknameValueMapKey()
Returns:
the String

setNicknameValueMapKey

public void setNicknameValueMapKey(java.lang.String pNicknameValueMapKey)
Parameters:
NicknameValueMapKey - the String to set

getAddressIdValueMapKey

public java.lang.String getAddressIdValueMapKey()
Returns:
the String

setAddressIdValueMapKey

public void setAddressIdValueMapKey(java.lang.String pAddressIdValueMapKey)
Parameters:
AddressIdValueMapKey - the String to set

getNewNicknameValueMapKey

public java.lang.String getNewNicknameValueMapKey()
Returns:
the String

setNewNicknameValueMapKey

public void setNewNicknameValueMapKey(java.lang.String pNewNicknameValueMapKey)
Parameters:
NewNicknameValueMapKey - the String to set

getShippingAddressNicknameMapKey

public java.lang.String getShippingAddressNicknameMapKey()
Returns:
the String

setShippingAddressNicknameMapKey

public void setShippingAddressNicknameMapKey(java.lang.String pShippingAddressNicknameMapKey)
Parameters:
ShippingAddressNicknameMapKey - the String to set

getEditValue

public java.util.Map getEditValue()
Returns:
The value of the property EditValue. This is a map that stores the pending values for an editing operations on the B2CStore profile

setAddressProperties

public void setAddressProperties(java.lang.String[] pAddressProperties)
Sets property addressProperties, naming the properties in a secondary address record.


getAddressProperties

public java.lang.String[] getAddressProperties()
Returns property addressProperties, naming the properties in a secondary address record.


setCardProperties

public void setCardProperties(java.lang.String[] pCardProperties)
Sets property cardProperties, naming the properties in a credit card entry.


getCardProperties

public java.lang.String[] getCardProperties()
Returns property cardProperties, naming the properties in a credit card entry.


getImmutableCardProperties

public java.lang.String[] getImmutableCardProperties()
Returns immutableCardProperties property value. This property contains names of credit card's immutable properties.

Returns:
immutableCardProperties

setImmutableCardProperties

public void setImmutableCardProperties(java.lang.String[] pImmutableCardProperties)
Sets immutableCardProperties property value.

Parameters:
pImmutableCardProperties - property names to be immutable.

setRemoveAddress

public void setRemoveAddress(java.lang.String pRemoveAddress)
Sets property removeAddress, naming the address to be removed by handleRemoveAddress().


getRemoveAddress

public java.lang.String getRemoveAddress()
Returns property removeAddress, naming the address to be removed by handleRemoveAddress().


setEditAddress

public void setEditAddress(java.lang.String pEditAddress)
Sets property editAddress, naming the address to be edited


getEditAddress

public java.lang.String getEditAddress()
Returns property editAddress, naming the address to be edited


setRemoveCard

public void setRemoveCard(java.lang.String pRemoveCard)
Sets property removeCard, naming the address to be removed by handleRemoveCard().


getRemoveCard

public java.lang.String getRemoveCard()
Returns property removeCard, naming the address to be removed by handleRemoveCard().


getDateOfBirth

public java.lang.String getDateOfBirth()
Returns:
date of birth.

setDateOfBirth

public void setDateOfBirth(java.lang.String pDateOfBirth)
Parameters:
pDateBirth - - date of birth.

getDateFormat

public java.lang.String getDateFormat()
Returns:
date format.

setDateFormat

public void setDateFormat(java.lang.String pDateFormat)
Parameters:
pDateFormat - - date format.

setBillingAddressPropertyList

public void setBillingAddressPropertyList(java.util.List pBillingAddressPropertyList)
Sets the Address property list, which is a list that mirrors the original design of the AddressProperties property with the property names defined in a configuration file. This List will be created by the initializeAddressPropertyList method creating the appropriate list containing the values from the property manager.

Parameters:
pBillingAddressPropertyList - - Billing address property list

getBillingAddressPropertyList

public java.util.List getBillingAddressPropertyList()
Returns the BillingAddressPropertyList.

Returns:
a List that contains the Address properties that are available

setDefaultCard

public void setDefaultCard(java.lang.String pDefaultCard)
Sets property efaultCard, naming the credit card to be the default.

Parameters:
pDefaultCard - - nickname of default credit card

getDefaultCard

public java.lang.String getDefaultCard()
Returns property editCard, naming the credit card to be edited.

Returns:
Default credit card nickname

setEditCard

public void setEditCard(java.lang.String pEditCard)
Sets property editCard, naming the credit card to be edited.

Parameters:
pEditCard - - nickname of card being edited

getEditCard

public java.lang.String getEditCard()
Returns property editCard, naming the credit card to be edited.

Returns:
The nickname of the credit card being edited

getBillAddrValue

public java.util.Map getBillAddrValue()
Returns:
The value of the property EditValue. This is a map that stores the pending values for an editing operations on the B2CStore profile.

setDefaultShippingAddress

public void setDefaultShippingAddress(java.lang.String pDefaultShippingAddress)
Parameters:
pDefaultShippingAddress - - default shipping address.

getDefaultShippingAddress

public java.lang.String getDefaultShippingAddress()
Returns:
default shipping address.

isUseShippingAddressAsDefault

public boolean isUseShippingAddressAsDefault()

setUseShippingAddressAsDefault

public void setUseShippingAddressAsDefault(boolean pUseShippingAddressAsDefault)

getSourceCode

public java.lang.String getSourceCode()
Returns:
source code.

setSourceCode

public void setSourceCode(java.lang.String pSourceCode)
Parameters:
pSourceCode - - source code.

setCheckoutLoginOption

public void setCheckoutLoginOption(java.lang.String pCheckoutLoginOption)
Sets property mCheckoutLoginOption.

Parameters:
pCheckoutLoginOption - - true if login should be checked, false - otherwise

getCheckoutLoginOption

public java.lang.String getCheckoutLoginOption()
Returns:
true if login should be checked, false - otherwise.

getLoginEmailAddress

public java.lang.String getLoginEmailAddress()
Returns:
login e-mail address.

setLoginEmailAddress

public void setLoginEmailAddress(java.lang.String pLoginEmailAddress)
Parameters:
pLoginEmailAddress - - login e-mail address.

getEmailAddress

public java.lang.String getEmailAddress()
Returns:
e-mail address.

setEmailAddress

public void setEmailAddress(java.lang.String pEmailAddress)
Parameters:
pEmailAddress - - e-mail address.

getNewCustomerEmailAddress

public java.lang.String getNewCustomerEmailAddress()
Returns:
new customer email address

setNewCustomerEmailAddress

public void setNewCustomerEmailAddress(java.lang.String pNewCustomerEmailAddress)
Parameters:
pNewCustomerEmailAddress - email address

getAnonymousEmailAddress

public java.lang.String getAnonymousEmailAddress()
Returns:
anonymous customer email address

setAnonymousEmailAddress

public void setAnonymousEmailAddress(java.lang.String pAnonymousEmailAddress)
Parameters:
pAnonymousEmailAddress - email address

setOrder

public void setOrder(atg.commerce.order.Order pOrder)
Set the Order property.

Parameters:
pOrder - an Order value

getOrder

public atg.commerce.order.Order getOrder()
Return the Order property.

Returns:
an Order value

getUserItems

public UserItems getUserItems()
Returns:
user items.

setUserItems

public void setUserItems(UserItems pUserItems)
Parameters:
pUserItems - - user items.

setShoppingCart

public void setShoppingCart(atg.commerce.order.OrderHolder pShoppingCart)
Sets property ShoppingCart.

Overrides:
setShoppingCart in class atg.commerce.profile.CommerceProfileFormHandler
Parameters:
pShoppingCart - an OrderHolder value

getShoppingCart

public atg.commerce.order.OrderHolder getShoppingCart()
Returns property ShoppingCart.

Overrides:
getShoppingCart in class atg.commerce.profile.CommerceProfileFormHandler
Returns:
an OrderHolder value

setAddCommerceItemInfos

public void setAddCommerceItemInfos(java.util.List pAddCommerceItemInfos)
Parameters:
pAddCommerceItemInfos - - add commerce item information.

getAddCommerceItemInfos

public java.util.List getAddCommerceItemInfos()
Returns:
add commerce item information.

getRequiredBillingAddressPropertyList

public java.util.List getRequiredBillingAddressPropertyList()
Returns:
required billing address property list.

setRequiredBillingAddressPropertyList

public void setRequiredBillingAddressPropertyList(java.util.List pRequiredBillingAddressPropertyList)
Parameters:
pRequiredBillingAddressPropertyList - - required billing address property list.

isEmailOptIn

public boolean isEmailOptIn()
Returns:
true if e-mail opt in is turned on, false - otherwise.

setEmailOptIn

public void setEmailOptIn(boolean pEmailOptIn)
Parameters:
pEmailOptIn - - true to turn on e-mail opt in, false - otherwise.

isPreviousOptInStatus

public boolean isPreviousOptInStatus()
Returns:
previous opt in status.

setPreviousOptInStatus

public void setPreviousOptInStatus(boolean pPreviousOptInStatus)
Parameters:
pPreviousOptInStatus - - previous opt in status.

getCreditCardTools

public atg.payment.creditcard.ExtendableCreditCardTools getCreditCardTools()
Returns:
ExtendableCreditCardTools

setCreditCardTools

public void setCreditCardTools(atg.payment.creditcard.ExtendableCreditCardTools pCreditCardTools)
Parameters:
pCreditCardTools - new ExtendableCreditCardTools

setNewAddressSuccessURL

public void setNewAddressSuccessURL(java.lang.String pNewAddressSuccessURL)
Sets property newAddressSuccessURL, used to redirect user after successfully creating an address.


getNewAddressSuccessURL

public java.lang.String getNewAddressSuccessURL()
Returns property newAddressSuccessURL, used to redirect user after successfully creating an address.


setNewAddressErrorURL

public void setNewAddressErrorURL(java.lang.String pNewAddressErrorURL)
Sets property newAddressErrorURL, used to redirect user in case of an error creating an address.


getNewAddressErrorURL

public java.lang.String getNewAddressErrorURL()
Returns property newAddressErrorURL, used to redirect user in case of an error creating an address.


setUpdateAddressSuccessURL

public void setUpdateAddressSuccessURL(java.lang.String pUpdateAddressSuccessURL)
Sets property updateAddressSuccessURL, used to redirect user when an address is successfully updated.


getUpdateAddressSuccessURL

public java.lang.String getUpdateAddressSuccessURL()
Returns property updateAddressSuccessURL, used to redirect user when an address is successfully updated.


setUpdateAddressErrorURL

public void setUpdateAddressErrorURL(java.lang.String pUpdateAddressErrorURL)
Sets property updateAddressErrorURL, used to redirect user in case of an error updating an address.


getUpdateAddressErrorURL

public java.lang.String getUpdateAddressErrorURL()
Returns property updateAddressErrorURL, used to redirect user in case of an error updating an address.


setCreateCardSuccessURL

public void setCreateCardSuccessURL(java.lang.String pCreateCardSuccessURL)
Sets property createCardSuccessURL, used to redirect user if a new credit card was successfully added.


getCreateCardSuccessURL

public java.lang.String getCreateCardSuccessURL()
Returns property createCardSuccessURL, used to redirect user if a new credit card was successfully added.


setCreateCardErrorURL

public void setCreateCardErrorURL(java.lang.String pCreateCardErrorURL)
Sets property createCardErrorURL, used to redirect user in case of an error adding a new credit card.


getCreateCardErrorURL

public java.lang.String getCreateCardErrorURL()
Returns property createCardErrorURL, used to redirect user in case of an error adding a new credit card.


setUpdateCardSuccessURL

public void setUpdateCardSuccessURL(java.lang.String pUpdateCardSuccessURL)
Sets property updateCardSuccessURL.

Parameters:
pUpdateCardSuccessURL - - credit card update success URL

getUpdateCardSuccessURL

public java.lang.String getUpdateCardSuccessURL()
Returns property updateCardSuccessURL.

Returns:
mUpdateCardSuccessURL

setUpdateCardErrorURL

public void setUpdateCardErrorURL(java.lang.String pUpdateCardErrorURL)
Sets property updateCardErrorURL, used to redirect user in case of an error updating a new credit card.

Parameters:
pUpdateCardErrorURL - - credit card update error URL

getUpdateCardErrorURL

public java.lang.String getUpdateCardErrorURL()
Returns property updateCardErrorURL, used to redirect user in case of an error updating a new credit card.

Returns:
update credit card error URL

setRemoveCardSuccessURL

public void setRemoveCardSuccessURL(java.lang.String pRemoveCardSuccessURL)
Sets property removeCardSuccessURL, used to redirect user when a credit card is successfully removed.


getRemoveCardSuccessURL

public java.lang.String getRemoveCardSuccessURL()
Returns property removeCardSuccessURL, used to redirect user in a credit card is successfully removed.


setRemoveCardErrorURL

public void setRemoveCardErrorURL(java.lang.String pRemoveCardErrorURL)
Sets property removeCardErrorURL, used to redirect user in case of an error removing a credit card.


getRemoveCardErrorURL

public java.lang.String getRemoveCardErrorURL()
Returns property removeCardErrorURL, used to redirect user in case of an error removing a credit card.


getPreRegisterSuccessURL

public java.lang.String getPreRegisterSuccessURL()

setPreRegisterSuccessURL

public void setPreRegisterSuccessURL(java.lang.String pPreRegisterSuccessURL)

getPreRegisterErrorURL

public java.lang.String getPreRegisterErrorURL()

setPreRegisterErrorURL

public void setPreRegisterErrorURL(java.lang.String pPreRegisterErrorURL)

setShippingGroupMapContainer

public void setShippingGroupMapContainer(atg.commerce.order.purchase.ShippingGroupMapContainer pShippingGroupMapContainer)
Set the ShippingGroupMapContainer property.

Parameters:
pShippingGroupMapContainer - a ShippingGroupMapContainer value

getShippingGroupMapContainer

public atg.commerce.order.purchase.ShippingGroupMapContainer getShippingGroupMapContainer()
Return the ShippingGroupMapContainer property.

Returns:
a ShippingGroupMapContainer value

preLoginUser

protected void preLoginUser(atg.servlet.DynamoHttpServletRequest pRequest,
                            atg.servlet.DynamoHttpServletResponse pResponse)
                     throws javax.servlet.ServletException,
                            java.io.IOException
Override OOTB method so that auto-logged in user is not logged out if they provide an invalid password.

Overrides:
preLoginUser in class atg.userprofiling.ProfileFormHandler
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
ProfileForm.preLoginUser(atg.servlet.DynamoHttpServletRequest, atg.servlet.DynamoHttpServletResponse)

postLoginUser

protected void postLoginUser(atg.servlet.DynamoHttpServletRequest pRequest,
                             atg.servlet.DynamoHttpServletResponse pResponse)
                      throws javax.servlet.ServletException,
                             java.io.IOException
Overrides:
postLoginUser in class atg.commerce.profile.CommerceProfileFormHandler
Throws:
javax.servlet.ServletException
java.io.IOException

handleLoginDuringCheckout

public boolean handleLoginDuringCheckout(atg.servlet.DynamoHttpServletRequest pRequest,
                                         atg.servlet.DynamoHttpServletResponse pResponse)
                                  throws javax.servlet.ServletException,
                                         java.io.IOException
Handle login during the checkout process. This method must allow a logout/login during the checkout process. If the user is recognized and decides they are a new user, then this method must log them out and register them as a new user. It must make sure the correct cart gets delivered.

This method will not allow the carts to merge and will ensure the current 'anonymous' cart is kept current.

Parameters:
pRequest - DynamoHttpServletRequest
pResponse - DynamoHttpServletResponse
Returns:
true if success, false - otherwise
Throws:
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io

evalEmailAddress

public java.lang.String evalEmailAddress()
This method eval appropriate email address depends on selected checkoutLoginOption.

Returns:
email address

isNewUser

public boolean isNewUser()
Checks if user is not exists, i.e. checkoutLoginOption equals CREATE_NEW_USER or CONTINUE_ANONYMOUS

Returns:
true if user is new or anonymous, false - otherwise.

postLogoutUser

public void postLogoutUser(atg.servlet.DynamoHttpServletRequest pRequest,
                           atg.servlet.DynamoHttpServletResponse pResponse)
                    throws javax.servlet.ServletException,
                           java.io.IOException
Operation called just after the user is logged out.

Overrides:
postLogoutUser in class atg.userprofiling.ProfileFormHandler
Parameters:
pRequest - the servlet's request
pResponse - the servlet's response
Throws:
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io

preCreateUser

protected void preCreateUser(atg.servlet.DynamoHttpServletRequest pRequest,
                             atg.servlet.DynamoHttpServletResponse pResponse)
                      throws javax.servlet.ServletException,
                             java.io.IOException
Operation called just before the user creation process is started.

Overrides:
preCreateUser in class atg.userprofiling.ProfileForm
Parameters:
pRequest - the servlet's request
pResponse - the servlet's response
Throws:
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io

postCreateUser

protected void postCreateUser(atg.servlet.DynamoHttpServletRequest pRequest,
                              atg.servlet.DynamoHttpServletResponse pResponse)
                       throws javax.servlet.ServletException,
                              java.io.IOException
Override OOTB method so that if the profile has receiveEmail=yes, create an EmailRecipient repository item for Email Campaigns.

Overrides:
postCreateUser in class atg.commerce.profile.CommerceProfileFormHandler
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
ProfileForm.postCreateUser(atg.servlet.DynamoHttpServletRequest, atg.servlet.DynamoHttpServletResponse)

createUser

public atg.repository.RepositoryItem createUser(atg.servlet.DynamoHttpServletRequest pRequest,
                                                atg.servlet.DynamoHttpServletResponse pResponse)
                                         throws javax.servlet.ServletException,
                                                java.io.IOException
Override OOTB method so that the user's email addres is copied over to their login field.

Overrides:
createUser in class atg.userprofiling.ProfileForm
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
ProfileForm.preCreateUser(atg.servlet.DynamoHttpServletRequest, atg.servlet.DynamoHttpServletResponse)

preUpdateUser

protected void preUpdateUser(atg.servlet.DynamoHttpServletRequest pRequest,
                             atg.servlet.DynamoHttpServletResponse pResponse)
                      throws javax.servlet.ServletException,
                             java.io.IOException
This overriding method will check to see if a new email address that is being submitted in an update already belongs to another user profile.

Overrides:
preUpdateUser in class atg.userprofiling.ProfileFormHandler
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
ProfileForm.preUpdateUser(atg.servlet.DynamoHttpServletRequest, atg.servlet.DynamoHttpServletResponse)

postUpdateUser

protected void postUpdateUser(atg.servlet.DynamoHttpServletRequest pRequest,
                              atg.servlet.DynamoHttpServletResponse pResponse)
                       throws javax.servlet.ServletException,
                              java.io.IOException

Overrides:
postUpdateUser in class atg.userprofiling.ProfileFormHandler
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
ProfileForm.postUpdateUser(atg.servlet.DynamoHttpServletRequest, atg.servlet.DynamoHttpServletResponse)

validateDateFormat

protected java.util.Date validateDateFormat(java.lang.String pDate,
                                            java.lang.String pFormat)
Operation called to validate the Date on the basis of locale format

Parameters:
pDate - User Date
pFormat - the Date Format
Returns:
date from string

preChangePassword

protected void preChangePassword(atg.servlet.DynamoHttpServletRequest pRequest,
                                 atg.servlet.DynamoHttpServletResponse pResponse)
                          throws javax.servlet.ServletException,
                                 java.io.IOException
Override the OOTB method to that a password length check is performed.

Overrides:
preChangePassword in class atg.userprofiling.ProfileForm
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
ProfileForm.preChangePassword(atg.servlet.DynamoHttpServletRequest, atg.servlet.DynamoHttpServletResponse)

validatePassword

protected boolean validatePassword(java.lang.String pPassword,
                                   atg.servlet.DynamoHttpServletRequest pRequest,
                                   atg.servlet.DynamoHttpServletResponse pResponse)
Validates password. If password is not valid adds form exception.

Parameters:
pPassword - password to check
pRequest - http request
pResponse - http response
Returns:
true if password

handleCreateNewCreditCardAndAddress

public boolean handleCreateNewCreditCardAndAddress(atg.servlet.DynamoHttpServletRequest pRequest,
                                                   atg.servlet.DynamoHttpServletResponse pResponse)
                                            throws javax.servlet.ServletException,
                                                   java.io.IOException
Creates a new credit card using the entries entered in the editValue map

Parameters:
pRequest - the servlet's request
pResponse - the servlet's response
Returns:
true if success, false - otherwise
Throws:
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io

handleCreateNewCreditCard

public boolean handleCreateNewCreditCard(atg.servlet.DynamoHttpServletRequest pRequest,
                                         atg.servlet.DynamoHttpServletResponse pResponse)
                                  throws javax.servlet.ServletException,
                                         java.io.IOException
Creates a new credit card using the entries entered in the editValue map

Parameters:
pRequest - the servlet's request
pResponse - the servlet's response
Returns:
true if success, false - otherwise
Throws:
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io

validateCreateCreditCardInformation

protected boolean validateCreateCreditCardInformation(atg.servlet.DynamoHttpServletRequest pRequest,
                                                      atg.servlet.DynamoHttpServletResponse pResponse,
                                                      boolean pIsNewAddress)
                                               throws javax.servlet.ServletException,
                                                      java.io.IOException
Validates credit card information entered by user:

Parameters:
pRequest - http request
pResponse - http response
pIsNewAddress - true if should validate new address
Returns:
true is validation succeeded
Throws:
javax.servlet.ServletException
java.io.IOException

validateCreditCardFields

protected boolean validateCreditCardFields(atg.servlet.DynamoHttpServletRequest pRequest,
                                           atg.servlet.DynamoHttpServletResponse pResponse)
Validates that all required credit card's fields are entered by user

Parameters:
pRequest - http request
pResponse - http response
Returns:
true if all required fields are entered

validateBillingAddressFields

protected boolean validateBillingAddressFields(atg.servlet.DynamoHttpServletRequest pRequest,
                                               atg.servlet.DynamoHttpServletResponse pResponse)
Validates that all required fields are entered for billing address

Parameters:
pRequest - http request
pResponse - http response
Returns:
true if all required fields are entered

validateCreditCard

protected boolean validateCreditCard(java.util.HashMap pCard,
                                     java.util.ResourceBundle pBundle)
Validates the credit card information using CreditCardTools.

See Also:
CreditCardTools.verifyCreditCard(CreditCardInfo)

preUpdateCard

protected void preUpdateCard(atg.servlet.DynamoHttpServletRequest pRequest,
                             atg.servlet.DynamoHttpServletResponse pResponse)
                      throws atg.repository.RepositoryException
Called before handleUpdateCard logic is applied. Adds properties listed in immutableCardProperties property to editValue map.

Parameters:
pRequest - current request
pResponse - current response
Throws:
atg.repository.RepositoryException - if unable to obtain user card's properties.

handleUpdateCard

public boolean handleUpdateCard(atg.servlet.DynamoHttpServletRequest pRequest,
                                atg.servlet.DynamoHttpServletResponse pResponse)
                         throws atg.repository.RepositoryException,
                                javax.servlet.ServletException,
                                java.io.IOException
Updates the credit card as modified by the user.

Parameters:
pRequest - the servlet's request
pResponse - the servlet's response
Returns:
true if success, false - otherwise
Throws:
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io
atg.repository.RepositoryException - if there was an error accessing the repository

validateUpdateCreditCardInformation

protected boolean validateUpdateCreditCardInformation(atg.servlet.DynamoHttpServletRequest pRequest,
                                                      atg.servlet.DynamoHttpServletResponse pResponse)
                                               throws javax.servlet.ServletException,
                                                      java.io.IOException
Validates updated credit card information entered by user:

Parameters:
pRequest - http request
pResponse - http response
Returns:
true is validation succeeded
Throws:
javax.servlet.ServletException
java.io.IOException

handleRemoveCard

public boolean handleRemoveCard(atg.servlet.DynamoHttpServletRequest pRequest,
                                atg.servlet.DynamoHttpServletResponse pResponse)
                         throws javax.servlet.ServletException,
                                java.io.IOException
Removes specified in removeCard property credit card from user's credit cards map.

Parameters:
pRequest - http request
pResponse - http response
Returns:
true if success, false - otherwise
Throws:
javax.servlet.ServletException
java.io.IOException

handleDefaultCard

public boolean handleDefaultCard(atg.servlet.DynamoHttpServletRequest pRequest,
                                 atg.servlet.DynamoHttpServletResponse pResponse)
                          throws atg.repository.RepositoryException,
                                 javax.servlet.ServletException,
                                 java.io.IOException
Deprecated. 

Makes the credit card identified by a nickname, default in the given profile.

Parameters:
pRequest - DynamoHttpServletRequest
pResponse - DynamoHttpServletResponse
Returns:
boolean true/false for success
Throws:
atg.repository.RepositoryException - if there was an error accessing the repository
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io

handleEditCard

public boolean handleEditCard(atg.servlet.DynamoHttpServletRequest pRequest,
                              atg.servlet.DynamoHttpServletResponse pResponse)
                       throws javax.servlet.ServletException,
                              java.io.IOException
Copy the named credit card into the editValue map, allowing the user to edit them.

Parameters:
pRequest - the servlet's request
pResponse - the servlet's response
Returns:
true if success, false - otherwise
Throws:
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io

handleNewAddress

public boolean handleNewAddress(atg.servlet.DynamoHttpServletRequest pRequest,
                                atg.servlet.DynamoHttpServletResponse pResponse)
                         throws javax.servlet.ServletException,
                                java.io.IOException
Creates a new shipping address using the entries entered in the editValue map. The address will be indexed using the nickname provided by the user.

Parameters:
pRequest - the servlet's request
pResponse - the servlet's response
Returns:
boolean returns true/false for success
Throws:
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io
java.beans.IntrospectionException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException

validateAddress

protected boolean validateAddress(atg.servlet.DynamoHttpServletRequest pRequest,
                                  atg.servlet.DynamoHttpServletResponse pResponse)
                           throws javax.servlet.ServletException,
                                  java.io.IOException
Validates new address fields entered by user:

Parameters:
pRequest - http request
pResponse - http response
Returns:
true is validation succeeded
Throws:
javax.servlet.ServletException
java.io.IOException

validateCountryStateCombination

protected void validateCountryStateCombination(java.util.Map pAddress,
                                               atg.servlet.DynamoHttpServletRequest pRequest,
                                               atg.servlet.DynamoHttpServletResponse pResponse)
Validate country-state combination.

Parameters:
pAddress - - address
pRequest - - http address
pResponse - - http response

validateCountryStateCombination

protected void validateCountryStateCombination(java.lang.String pCountry,
                                               java.lang.String pState,
                                               atg.servlet.DynamoHttpServletRequest pRequest,
                                               atg.servlet.DynamoHttpServletResponse pResponse)
Validate country-state combination.

Parameters:
pCountry - country code
pState - county code
pRequest - dynamo request
pResponse - dynamo response

checkForDuplicateAddress

protected void checkForDuplicateAddress(atg.servlet.DynamoHttpServletRequest pRequest,
                                        atg.servlet.DynamoHttpServletResponse pResponse,
                                        java.lang.String pNickname,
                                        java.util.List<java.lang.String> pIgnoredNames)
Checks if the given nickname already exists in the secondary address map. If it does a form error is added.

Parameters:
pRequest - - http request
pResponse - - http response
pProfile - - profile
pNickname - - nickname
pIgnoredNames - - names we wont check for duplicates

handleUpdateAddress

public boolean handleUpdateAddress(atg.servlet.DynamoHttpServletRequest pRequest,
                                   atg.servlet.DynamoHttpServletResponse pResponse)
                            throws atg.repository.RepositoryException,
                                   javax.servlet.ServletException,
                                   java.io.IOException
Update the secondary address as modified by the user.

Parameters:
pRequest - the servlet's request
pResponse - the servlet's response
Returns:
true for successful address update, false - otherwise
Throws:
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io
atg.repository.RepositoryException - if there was an error accessing the repository

updateSecondaryAddressName

protected void updateSecondaryAddressName(atg.repository.RepositoryItem pProfile,
                                          java.lang.String pOldAddressName,
                                          java.lang.String pNewAddressName)
Updates an address nickname

Parameters:
pProfile - The users profile
pOldAddressName - Old address name
pNewAddressName - New address name

updateSecondaryInfo

protected void updateSecondaryInfo(atg.core.util.Address pTargetAddress,
                                   atg.core.util.Address pSourceAddress)
Updates all the properties of an address that don't effect where the item is shipped to - e.g the phone number.

Parameters:
pTargetAddress - The target Address
pSourceAddress - The source Address

handleRemoveAddress

public boolean handleRemoveAddress(atg.servlet.DynamoHttpServletRequest pRequest,
                                   atg.servlet.DynamoHttpServletResponse pResponse)
                            throws javax.servlet.ServletException,
                                   java.io.IOException
This handler deletes a secondary address named in the removeAddress property.

Parameters:
pRequest - the servlet's request
pResponse - the servlet's response
Returns:
boolean true/false for success
Throws:
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io

handleDefaultShippingAddress

public boolean handleDefaultShippingAddress(atg.servlet.DynamoHttpServletRequest pRequest,
                                            atg.servlet.DynamoHttpServletResponse pResponse)
                                     throws atg.repository.RepositoryException,
                                            javax.servlet.ServletException
Deprecated. 

This sets the default shipping address.

Parameters:
pRequest - DynamoHttpServletRequest
pResponse - DynamoHttpServletResponse
Returns:
true for success, false - otherwise
Throws:
atg.repository.RepositoryException
javax.servlet.ServletException

handleEditAddress

public boolean handleEditAddress(atg.servlet.DynamoHttpServletRequest pRequest,
                                 atg.servlet.DynamoHttpServletResponse pResponse)
                          throws javax.servlet.ServletException,
                                 java.io.IOException
Copy the named secondary address into the editValue map, allowing the user to edit them.

Parameters:
pRequest - the servlet's request
pResponse - the servlet's response
Throws:
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io

handleClear

public boolean handleClear(atg.servlet.DynamoHttpServletRequest pRequest,
                           atg.servlet.DynamoHttpServletResponse pResponse)
                    throws javax.servlet.ServletException,
                           java.io.IOException
Override to prevent clear if there are form errors.

This is here because postLogin will do a clear of the value dictionary even if the login fails

Overrides:
handleClear in class atg.userprofiling.ProfileFormHandler
Throws:
javax.servlet.ServletException
java.io.IOException

handleClearForm

public boolean handleClearForm(atg.servlet.DynamoHttpServletRequest pRequest,
                               atg.servlet.DynamoHttpServletResponse pResponse)
                        throws javax.servlet.ServletException,
                               java.io.IOException
Override to prevent clear if there are form errors.

This is here because postLogin will do a clear of the value dictionary even if the login fails

Throws:
javax.servlet.ServletException
java.io.IOException

handlePreRegister

public boolean handlePreRegister(atg.servlet.DynamoHttpServletRequest pRequest,
                                 atg.servlet.DynamoHttpServletResponse pResponse)
                          throws javax.servlet.ServletException,
                                 java.io.IOException
Perform pre-registration actions before user actually registered. Check email address. If it is passed validation, redirect to the registration page with filled in email value. Otherwise, add form error and stays on the same page.

Parameters:
pRequest - Dynamo HTTP request
pResponse - Dynamo HTTP response
Returns:
If redirect to the registration page occurred, return false. If no redirect occurred, return true.
Throws:
javax.servlet.ServletException - if there was an error while executing the code
java.io.IOException - if there was an error with servlet io

findUser

protected atg.repository.RepositoryItem findUser(java.lang.String pLogin,
                                                 java.lang.String pPassword,
                                                 atg.repository.Repository pProfileRepository,
                                                 atg.servlet.DynamoHttpServletRequest pRequest,
                                                 atg.servlet.DynamoHttpServletResponse pResponse)
                                          throws atg.repository.RepositoryException,
                                                 javax.servlet.ServletException,
                                                 java.io.IOException
Overrides:
findUser in class atg.userprofiling.ProfileForm
Throws:
atg.repository.RepositoryException
javax.servlet.ServletException
java.io.IOException

getStorePropertyManager

protected StorePropertyManager getStorePropertyManager()
Utility method to retrieve the StorePropertyManager.

Returns:
property manager

generateFormException

protected void generateFormException(java.lang.String pWhatException,
                                     atg.repository.RepositoryException pRepositoryExc,
                                     atg.servlet.DynamoHttpServletRequest pRequest)
Create a form exception, by looking up the exception code in a resource file identified by the RESOURCE_BUNDLE constant (defined above).

Parameters:
pWhatException - String description of exception
pRepositoryExc - RepositoryException
pRequest - DynamoHttpServletRequest

generateFormException

protected void generateFormException(java.lang.String pWhatException,
                                     java.lang.Object[] pArgs,
                                     atg.repository.RepositoryException pRepositoryExc,
                                     atg.servlet.DynamoHttpServletRequest pRequest)
Create a form exception, by looking up the exception code in a resource file identified by the RESOURCE_BUNDLE constant (defined above).

Parameters:
pWhatException - String description of exception
pArgs - String array with arguments used message formatting
pRepositoryExc - RepositoryException
pRequest - DynamoHttpServletRequest

generateFormException

protected void generateFormException(java.lang.String pWhatException,
                                     java.lang.Object[] pArgs,
                                     java.lang.String pPath,
                                     atg.servlet.DynamoHttpServletRequest pRequest)
Creates a form exception, by looking up the exception code in a resource file identified by the RESOURCE_BUNDLE constant (defined above).

Parameters:
whatException - String description of exception
pArgs - String array with arguments used message formatting
pPath - Full path to form handler property associated with the exception
pRequest - DynamoHttpServletRequest

generateFormException

protected void generateFormException(java.lang.String pWhatException,
                                     java.lang.String pPath,
                                     atg.servlet.DynamoHttpServletRequest pRequest)
Creates a form exception, by looking up the exception code in a resource file identified by the RESOURCE_BUNDLE constant (defined above).

Parameters:
whatException - String description of exception
pPath - Full path to form handler property associated with the exception
pRequest - DynamoHttpServletRequest

getLocale

protected java.util.Locale getLocale(atg.servlet.DynamoHttpServletRequest pRequest)
Determine the user's current locale, if available.

Parameters:
pRequest - DynamoHttpServletRequest
Returns:
Locale Request's Locale

getDateByFormat

protected java.lang.String getDateByFormat(java.lang.Object pDate,
                                           java.lang.String pFormat)
Operation called to get the Date on the basis of locale format.

Parameters:
pDate - getting from database
pFormat - Date Format get by database
Returns:
date in specified format

getString

public static java.lang.String getString(java.lang.String pKey,
                                         java.util.Locale pLocale)
Return a String message specific for the given locale.

Parameters:
pKey - the identifier for the message to retrieve out of the ResourceBundle
pLocale - the locale of the user
Returns:
the localized message

getResourceBundle

public static java.util.ResourceBundle getResourceBundle(java.util.Locale pLocale)
                                                  throws java.util.MissingResourceException
Returns a ResourceBundle specific for the given locale.

Parameters:
pLocale - the locale of the user
Returns:
ResourcerBundle
Throws:
java.util.MissingResourceException - ResourceBundle could not be located

getUserLocale

protected java.util.Locale getUserLocale(atg.servlet.DynamoHttpServletRequest pRequest)
Returns the Locale for the user given the request.

Overrides:
getUserLocale in class atg.userprofiling.ProfileForm
Parameters:
pRequest - the request object which can be used to extract the user's locale
Returns:
Locale

handleCheckoutDefaults

public boolean handleCheckoutDefaults(atg.servlet.DynamoHttpServletRequest pRequest,
                                      atg.servlet.DynamoHttpServletResponse pResponse)
                               throws javax.servlet.ServletException,
                                      java.io.IOException
Handles changes on the 'Checkout Defaults' page - default credit card, shipping address and shipping method.

Parameters:
pRequest - - current HTTP request.
pResponse - - current HTTP response.
Returns:
true if request hasn't been redirected and false otherwise.
Throws:
javax.servlet.ServletException - if something goes wrong.
java.io.IOException - if unable to redirect current request.

preRemoveAddress

public void preRemoveAddress(atg.servlet.DynamoHttpServletRequest pRequest,
                             atg.servlet.DynamoHttpServletResponse pResponse)
Address that we'd like to remove could be associated with a gift list. In this case, we'd like to prevent address removal from the profile.

Parameters:
pRequest - Dynamo http request
pResponse - Dynamo http response