|
|||||||||
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.userprofiling.ProfileForm atg.userprofiling.ProfileFormHandler atg.scenario.userprofiling.ScenarioProfileFormHandler atg.commerce.profile.CommerceProfileFormHandler atg.projects.b2cstore.B2CProfileFormHandler
public class B2CProfileFormHandler
Before creating the user, check whether the user has requested that her/his billing address be used as the shipping address. If so, copy the billing address fields into the shipping address.
After creating the user, update current user's secondaryAddressMap (in the profile repository) to include the shipping address, indexed with the nickname provided.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class atg.userprofiling.ProfileForm |
---|
ProfileForm.ProfileFormHashtableWrapper |
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
static java.lang.String |
RESOURCE_BUNDLE
|
Fields inherited from class atg.userprofiling.ProfileFormHandler |
---|
mClearValuesOnCreate, mClearValuesOnLogin, mClearValuesOnUpdate |
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 | |
---|---|
B2CProfileFormHandler()
Constructs an instanceof B2CProfileFormHandler |
Method Summary | |
---|---|
java.lang.String[] |
getAddressProperties()
Returns property addressProperties, naming the properties in a secondary address record. |
java.util.List |
getAddressPropertyList()
If the address property list is null, the initializeAddressPropertyList method is called to create a list from the appropriate property manager class. |
java.lang.String[] |
getCardProperties()
Returns property cardProperties, naming the properties in a credit card entry. |
java.util.List |
getCardPropertyList()
If the CardPropertyList is null, the initializeCardPropertyList method is called to create a list from the appropriate property manager class. |
java.lang.String |
getChangeAddressNicknameErrorURL()
Returns property changeAddressNicknameErrorURL, used to redirect user in case of an error updating an address nickname. |
java.lang.String |
getChangeAddressNicknameSuccessURL()
Returns property changeAddressNicknameSuccessURL, used to redirect user when an address nickname is successfully updated. |
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. |
java.lang.String |
getDefaultCarrier()
|
java.lang.String |
getDefaultCreditCardID()
|
java.lang.String |
getEditAddress()
Returns property editAddress, naming the address to be edited in the edit_secondary_address.jhtml page. |
java.util.Map |
getEditValue()
|
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 |
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.lang.String[] |
getRequiredAddressProperties()
Returns property requiredAddressProperties, naming the properties considered mandatory when creating a secondary address record. |
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. |
boolean |
handleChangeAddressNickname(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Changes the key in the secondaryAddresses map for the given address. |
boolean |
handleCreateNewCreditCard(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Creates a new credit card using the entries entered in the editValue map by the credit_card.jhtml page |
boolean |
handleEditAddress(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Copy the named seconary address into the editValue map, allowing the user to edit them in the edit_secondary_address.jhtml page. |
boolean |
handleNewAddress(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Creates a new shipping address using the entries entered in the editValue map by the new_shipping_address.jhtml page. |
boolean |
handleRemoveAddress(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This handler deletes a secondary address named in the removeAddress property. |
boolean |
handleRemoveCard(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Delete a specified credit card for the current user. |
boolean |
handleSelectDefaultAddress(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Copy the contents of a secondary address (identified in the editValue map by the entry defaultAddressNickname) to the default shipping address. |
boolean |
handleSetExpressCheckout(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Enable or disable express checkout If disabling, clear the default credit card in the user's profile so that that credit card may be safely deleted. |
boolean |
handleSetExpressCheckoutPreferences(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Set values used for express checkout |
boolean |
handleUpdateAddress(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Update the secondary address as modified by the user. |
boolean |
handleUpdateAddressAndMakeDefault(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Update the secondary address as modified by the user, and copy its contents to the default shipping address. |
java.util.List |
initializeAddressPropertyList()
This method initializes the list of properties that are used for the Address information. |
java.util.List |
initializeCardPropertyList()
This method initializes the list of properties that are used for the Credit card information. |
boolean |
isCompatibilityMode()
Return the value of the CompatibilityMode property. |
boolean |
isShipToBillingAddress()
Returns property shipToBillingAddress, indicating that the billing address should be copied to the shipping address. |
protected boolean |
makeCreditCardDefault(Profile pProfile,
java.lang.String pCreditCardID)
Make the credit card identified by pCreditCardID default in the given profile. |
protected void |
postCreateUser(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Set the registration date to 'now'. |
protected void |
preCreateUser(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Before creating the user, this method: Copies the first, middle, and last names to the billing address. |
void |
setAddressProperties(java.lang.String[] pAddressProperties)
Sets property addressProperties, naming the properties in a secondary address record. |
void |
setAddressPropertyList(java.util.List pAddressPropertyList)
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 |
setCardPropertyList(java.util.List pCardPropertyList)
Sets the Card property list, which is a list that mirrors the original design of the AddressProperties property with the proeprty names defined in a configuration file. |
void |
setChangeAddressNicknameErrorURL(java.lang.String pChangeAddressNicknameErrorURL)
Sets property changeAddressNicknameErrorURL, used to redirect user in case of an error updating an address nickname. |
void |
setChangeAddressNicknameSuccessURL(java.lang.String pChangeAddressNicknameSuccessURL)
Sets property changeAddressNicknameSuccessURL, used to redirect user when an address nickname is successfully updated. |
void |
setCompatibilityMode(boolean pCompatibilityMode)
Sets the compatibility Mode property. |
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 |
setDefaultCarrier(java.lang.String pShipper)
|
void |
setDefaultCreditCardID(java.lang.String pID)
|
void |
setEditAddress(java.lang.String pEditAddress)
Sets property editAddress, naming the address to be edited in the edit_secondary_address.jhtml page. |
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 |
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 |
setRequiredAddressProperties(java.lang.String[] pRequiredAddressProperties)
Sets property requiredAddressProperties, naming the properties considered mandatory when creating a secondary address record. |
void |
setShipToBillingAddress(boolean pShipToBillingAddress)
Sets property shipToBillingAddress, indicating that the billing address should be copied to the shipping address. |
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. |
protected boolean |
validateCreditCard(java.util.HashMap card,
java.util.ResourceBundle bundle)
Validate the credit card number entered and the expiration date (must be later than today). |
Methods inherited from class atg.commerce.profile.CommerceProfileFormHandler |
---|
addProperty, getDefaultLocale, getOrderManager, getPromotionTools, getShoppingCart, getUserLocale, getUserPricingModels, postLoginUser, setDefaultLocale, setOrderManager, setPromotionTools, setShoppingCart, 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.droplet.EmptyFormHandler |
---|
afterGet, beforeGet |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
public static java.lang.String RESOURCE_BUNDLE
Constructor Detail |
---|
public B2CProfileFormHandler()
Method Detail |
---|
public java.util.Map getEditValue()
public void setShipToBillingAddress(boolean pShipToBillingAddress)
public boolean isShipToBillingAddress()
public void setDefaultCreditCardID(java.lang.String pID)
pID
- The credit card ID to be used as the default credit
cardpublic java.lang.String getDefaultCreditCardID()
public void setDefaultCarrier(java.lang.String pShipper)
public java.lang.String getDefaultCarrier()
public void setAddressProperties(java.lang.String[] pAddressProperties)
public java.lang.String[] getAddressProperties()
public void setCompatibilityMode(boolean pCompatibilityMode)
pCompatibilityMode
- - true will cause the behavior to be identical to previous
versions (pre 5.5), false is the new behavior. Defaults is false
.public boolean isCompatibilityMode()
public void setAddressPropertyList(java.util.List pAddressPropertyList)
the
- Address property list that needs to be set.public java.util.List getAddressPropertyList()
public java.util.List initializeAddressPropertyList()
true
or whether the property manager should be
used false
. This is the method that should be overriden if new properties
are added to the list of Address properties. The easiest way to add new properties is to
do the following:
List newList = super.initializeAddressPropertyList();
newList.add("yourownproperty");
public void setRequiredAddressProperties(java.lang.String[] pRequiredAddressProperties)
public java.lang.String[] getRequiredAddressProperties()
public void setCardProperties(java.lang.String[] pCardProperties)
public java.lang.String[] getCardProperties()
public void setCardPropertyList(java.util.List pCardPropertyList)
the
- CardPropertyList list that needs to be set.public java.util.List getCardPropertyList()
public java.util.List initializeCardPropertyList()
true
or whether the property
manager should be used false
. This is the method that should be overriden
if new properties are added to the list of Credit card properties. The easiest way to
add new properties is to do the following:
List newList = super.initializeCardPropertyList();
newList.add("yourownproperty");
public void setEditAddress(java.lang.String pEditAddress)
public java.lang.String getEditAddress()
public void setRemoveAddress(java.lang.String pRemoveAddress)
public java.lang.String getRemoveAddress()
public void setRemoveCard(java.lang.String pRemoveCard)
public java.lang.String getRemoveCard()
public void setNewAddressSuccessURL(java.lang.String pNewAddressSuccessURL)
public java.lang.String getNewAddressSuccessURL()
public void setNewAddressErrorURL(java.lang.String pNewAddressErrorURL)
public java.lang.String getNewAddressErrorURL()
public void setUpdateAddressSuccessURL(java.lang.String pUpdateAddressSuccessURL)
public java.lang.String getUpdateAddressSuccessURL()
public void setUpdateAddressErrorURL(java.lang.String pUpdateAddressErrorURL)
public java.lang.String getUpdateAddressErrorURL()
public void setChangeAddressNicknameSuccessURL(java.lang.String pChangeAddressNicknameSuccessURL)
public java.lang.String getChangeAddressNicknameSuccessURL()
public void setChangeAddressNicknameErrorURL(java.lang.String pChangeAddressNicknameErrorURL)
public java.lang.String getChangeAddressNicknameErrorURL()
public void setCreateCardSuccessURL(java.lang.String pCreateCardSuccessURL)
public java.lang.String getCreateCardSuccessURL()
public void setCreateCardErrorURL(java.lang.String pCreateCardErrorURL)
public java.lang.String getCreateCardErrorURL()
public void setRemoveCardSuccessURL(java.lang.String pRemoveCardSuccessURL)
public java.lang.String getRemoveCardSuccessURL()
public void setRemoveCardErrorURL(java.lang.String pRemoveCardErrorURL)
public java.lang.String getRemoveCardErrorURL()
protected void preCreateUser(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
preCreateUser
in class ProfileForm
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet ioprotected void postCreateUser(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
postCreateUser
in class CommerceProfileFormHandler
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet iopublic boolean handleNewAddress(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet iopublic boolean handleEditAddress(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet iopublic boolean handleUpdateAddress(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws RepositoryException, javax.servlet.ServletException, java.io.IOException
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet io
RepositoryException
public boolean handleUpdateAddressAndMakeDefault(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws RepositoryException, javax.servlet.ServletException, java.io.IOException
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet io
RepositoryException
public boolean handleChangeAddressNickname(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet iopublic boolean handleRemoveAddress(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet iopublic boolean handleSelectDefaultAddress(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet iopublic boolean handleSetExpressCheckout(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet iopublic boolean handleSetExpressCheckoutPreferences(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet ioprotected boolean makeCreditCardDefault(Profile pProfile, java.lang.String pCreditCardID)
pProfile
- The Profile objectpCreditCardID
- The ID of the credit card to be default
pjepublic boolean handleCreateNewCreditCard(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet ioprotected boolean validateCreditCard(java.util.HashMap card, java.util.ResourceBundle bundle)
card
- A hashmap containing the user-entered credit card databundle
- A ResourceBundle providing the error message text
public boolean handleRemoveCard(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet io
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |