com.beasys.commerce.ebusiness.customer.webflow
Class  UpdateBasicInfoIP
java.lang.Object
  |
  +--com.beasys.commerce.webflow.CommerceInputProcessor
        |
        +--com.beasys.commerce.ebusiness.customer.webflow.UpdateBasicInfoIP
- All Implemented Interfaces: 
- InputProcessor, UserManagementConstants
- public class UpdateBasicInfoIP- extends CommerceInputProcessor
UpdateBasicInfoIP processes the input from HttpServletRequest and allows customer
 to update basic information.
 
 
 It does the following
 
 
 -  Extracts and validates the customer's basic information from HTTP request 
-  Uses above information and constructs the CustomerValueobject.
-  Puts the CustomerValue object into the PipelineSession 
 
| Fields inherited from interface com.beasys.commerce.axiom.contact.UserManagementConstants | 
| ANONYMOUS_PROFILE, CACHED_PROFILE, DEFAULT_SCOPE, DEFAULT_SUCCESSOR, DEFAULT_SUCCESSOR_HOME, DEFAULT_SUCCESSOR_JNDI, DEFAULT_SUCCESSOR_PK, DEFAULT_USER, DEFAULT_USER_HOME, DEFAULT_USER_JNDI, DEFAULT_USER_PK, GROUP, GROUP_ENTITY_HOME, PROFILE_MGR, PROFILE_SUCCESSOR, PROFILE_USER, REALM_CONFIG, RESERVED_SCOPE, USER, USER_ENTITY_HOME, USER_MGR | 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
UpdateBasicInfoIP
public UpdateBasicInfoIP()
process
public String process(HttpServletRequest request)
               throws ProcessingException
- See the class documentation above.- 
- Parameters:
- req- the HttpServletRequest object associated with current HTTP request.
- Returns:
- upon method completion always returns String "success"
- Throws:
- InvalidInputException- If any of the required fields were empty or invalid.
- InvalidSessionStateException- If the session is new.
- ProcessingException- If there customer id in the pipeline session was invalid.
 
getCustomerBasicInfo
protected CustomerValue getCustomerBasicInfo(HttpServletRequest request,
                                             ValidatedValues validatedValues,
                                             ValidationStatus invalidFieldIsPresent)
- Extracts and validates all HttpServletRequest parameters associated with customer's basic information.- 
- Parameters:
- req- the- HttpServletRequestobject associated with current HTTP request.
- validatedValues-- ValidatedValuesobject to keep the status of all HttpServletRequest parameters.
- invalidFieldIsPresent- validation status of the field values.
- Returns:
- The CustomerValueobject which is used to update the customer's profile