public class CSRCustomerProfileFormHandler
extends atg.svc.agent.ui.formhandlers.CustomerProfileFormHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
protected atg.commerce.profile.CommerceProfileTools |
mCommerceProfileTools |
protected boolean |
mIsProfileSaved |
protected boolean |
mIsSaveCreditCards |
protected java.lang.String |
mOrderId |
static java.lang.String |
MY_RESOURCE_NAME
Resources file
|
static java.lang.String |
NO_ORDER_ID_ERROR |
static java.lang.String |
NO_SUCH_ORDER_ERROR |
static java.lang.String |
PROFILE_UPDATE_FAILURE |
static java.lang.String |
PROFILE_UPDATE_OK |
CUSTOMER_LOCALE, LOGIN_PARAM_NAME, mAgentMessagingTools, mEnvironmentTools, mSaveOnUpdate, PASSWORD_PARAM_NAMECONFIRMPASSWORD_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, mAuthenticationMessageTrigger, 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_INVALID_PASSWORD, 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_RULE_CHECK_FAILED, 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, PROXY_FACTORY_PATH, REPOSITORY_ID_PROPERTY_NAME, RESOURCE_BUNDLE_NAME, sResourceBundle, STATUS_ERROR_REDIRECT, STATUS_ERROR_STAY, STATUS_SUCCESSPARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDS| Constructor and Description |
|---|
CSRCustomerProfileFormHandler() |
| Modifier and Type | Method and Description |
|---|---|
atg.commerce.profile.CommerceProfileTools |
getCommerceProfileTools() |
java.lang.String |
getOrderId() |
boolean |
isProfileSaved() |
boolean |
isSaveCreditCards() |
protected void |
postUpdateUser(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse) |
void |
setCommerceProfileTools(atg.commerce.profile.CommerceProfileTools pCommerceProfileTools)
Sets the property CommerceProfileTools.
|
void |
setIsProfileSaved(boolean pIsProfileSaved)
Property for determining whether or not a profile has been saved in the current request.
|
void |
setOrderId(java.lang.String pOrderId)
Sets the OrderId property.
|
void |
setSaveCreditCards(boolean pIsSaveCreditCards)
Property for determining whether or not to save credit cards to the profile.
|
generateNewAccountEmailParameters, generateNewAccountEmailParameters, generateResetPasswordEmailParameters, generateResetPasswordEmailParameters, getAgentCommentId, getAgentMessagingTools, getAgentProfile, getAgentTools, getApplicationName, getDeleteProfileCommentSuccessUrl, getEditProfileCommentErrorUrl, getEditValue, getEnvironmentTools, getErrorUrl, getMutableProfileItem, getNewAccountTemplateEmailInfo, getProfile, getPropertyUpdates, getRepositoryId, getResetPasswordTemplateEmailInfo, getSuccessUrl, getTemplateEmailSender, getUpdateErrorURL, getUpdateSuccessURL, handleCancel, handleClear, handleDeleteProfileComment, handleEditProfileComment, handleResetPassword, handleUpdate, isBackToTicketAfterCreate, isPersistNewAccountEmails, isPersistResetPasswordEmails, isSaveOnUpdate, isSendNewAccountEmailInSeparateThread, isSendNewAccountEmails, isSendResetPasswordEmailInSeparateThread, isSendResetPasswordEmails, isViewMode, preUpdateUser, setAgentCommentId, setAgentMessagingTools, setAgentProfile, setAgentTools, setApplicationName, setBackToTicketAfterCreate, setDeleteProfileCommentErrorUrl, setEditProfileCommentSuccessUrl, setEnvironmentTools, setErrorUrl, setNewAccountTemplateEmailInfo, setPersistNewAccountEmails, setPersistResetPasswordEmails, setProfile, setPropertyUpdates, setResetPasswordTemplateEmailInfo, setSaveOnUpdate, setSendNewAccountEmailInSeparateThread, setSendNewAccountEmails, setSendResetPasswordEmailInSeparateThread, setSendResetPasswordEmails, setSuccessUrl, setTemplateEmailSender, setViewModeaddMulti, addPropertiesOnLogin, addProperty, addSwapEventListener, addUser, changePassword, checkFormError, checkFormSuccess, checkForRequiredParameters, checkForRequiredProperties, checkForRequiredProperties, commitTransaction, copyPropertiesOnLogin, copyProperty, copyPropertyValue, createProfileItem, createUser, doStartService, ensureTransaction, findUser, findUser, formatUserMessage, formatUserMessage, formatUserMessage, formatUserMessage, generatePropertyPath, getAddMultiPropertyName, getAddMultiPropertyValue, getAuthenticationMessageTrigger, getBadPasswordDelay, getChangePasswordErrorURL, getChangePasswordSuccessURL, getCheckForRequiredParameters, getCheckForRequiredProperties, getCheckForRequiredPropertiesAfterUpdate, getCreateErrorURL, getCreateProfileType, getCreateSuccessURL, getCurrentDataSource, getDeleteErrorURL, getDeleteSuccessURL, getDescriptor, getExpireSessionOnLogout, getLoginErrorURL, getLoginProfileType, getLoginSuccessURL, getLogoutErrorURL, getLogoutProfileType, getLogoutSuccessURL, getProcessPropertyNames, getProfileItem, getProfileRealmManager, getProfileTools, getPropertiesToAddOnLogin, getPropertiesToCopyOnLogin, getRealmSessionTracker, getStringValueProperty, getTransactionDemarcation, getTransactionManager, getTrimProperties, getUserLocale, getUserLoginManager, getValue, getValueFromArrayString, getValueFromObject, getValueFromObjectArray, getValueFromString, getValueFromStringArray, getValueMap, getValueProperty, handleAddMulti, handleChangePassword, handleCreate, handleDelete, handleLogin, handleLogout, handleValueDictionaryByParameters, isCompareValueInCopyPropertiesOnLogin, isConfirmOldPassword, isConfirmPassword, isExtractDefaultValuesFromProfile, isInvalidateAllChildSessions, isTrimProperty, isUsingLdapProfile, postAddMulti, postChangePassword, postCreateUser, postDeleteUser, postLoginUser, postLogoutUser, postValueDictionaryByParameters, preAddMulti, preChangePassword, preCreateUser, preDeleteUser, preLoginUser, preLogoutUser, preValueDictionaryByParameters, removeSwapEventListener, removeUser, sendProfileSwapEvent, setAuthenticationMessageTrigger, setBadPasswordDelay, setChangePasswordErrorURL, setChangePasswordSuccessURL, setCheckForRequiredParameters, setCheckForRequiredProperties, setCheckForRequiredPropertiesAfterUpdate, setCompareValueInCopyPropertiesOnLogin, setConfirmOldPassword, setConfirmPassword, setCreateErrorURL, setCreateProfileType, setCreateSuccessURL, setDeleteErrorURL, setDeleteSuccessURL, setExpireSessionOnLogout, setExtractDefaultValuesFromProfile, setInvalidateAllChildSessions, setLoginErrorURL, setLoginProfileType, setLoginSuccessURL, setLogoutErrorURL, setLogoutProfileType, setLogoutSuccessURL, setProfileTools, setPropertiesToAddOnLogin, setPropertiesToCopyOnLogin, setRepositoryId, setTrimProperties, setUpdateErrorURL, setUpdateSuccessURL, setUserLoginManager, setUsingLdapProfile, setValueDictionaryByParameters, setValueProperty, updateLDAPProfileAttributes, updatePasswordValue, updateProfileAttributes, updateProfileAttributes, updateUser, updateUser, userAlreadyExists, valueIsEmptyaddFormException, 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, setUseForwardsaddLogListener, clearAbsoluteNameAndContext, createAdminServlet, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, isStartServiceComplete, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService, toStringvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static java.lang.String CLASS_VERSION
public static final java.lang.String MY_RESOURCE_NAME
public static final java.lang.String NO_ORDER_ID_ERROR
public static final java.lang.String NO_SUCH_ORDER_ERROR
public static final java.lang.String PROFILE_UPDATE_OK
public static final java.lang.String PROFILE_UPDATE_FAILURE
protected boolean mIsSaveCreditCards
protected java.lang.String mOrderId
protected atg.commerce.profile.CommerceProfileTools mCommerceProfileTools
protected boolean mIsProfileSaved
public boolean isSaveCreditCards()
public void setSaveCreditCards(boolean pIsSaveCreditCards)
pIsSaveCreditCards - new value to setpublic java.lang.String getOrderId()
public void setOrderId(java.lang.String pOrderId)
pOrderId - the new value to set.public atg.commerce.profile.CommerceProfileTools getCommerceProfileTools()
public void setCommerceProfileTools(atg.commerce.profile.CommerceProfileTools pCommerceProfileTools)
public boolean isProfileSaved()
public void setIsProfileSaved(boolean pIsProfileSaved)
pIsProfileSaved - the new value to setprotected void postUpdateUser(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
throws javax.servlet.ServletException,
java.io.IOException
postUpdateUser in class atg.svc.agent.ui.formhandlers.CustomerProfileFormHandlerpRequest - the servlet's requestpResponse - the servlet's responsejavax.servlet.ServletException - if there was an error while executing the codejava.io.IOException - if there was an error with servlet ioThis method performs the additional step of saving credit card details to the profile, after the profile has been created.