© 2001 BEA Systems, Inc.

com.beasys.commerce.ebusiness.customer.pipeline
Class UpdateDemographicInfoPC

java.lang.Object
  |
  +--com.beasys.commerce.foundation.pipeline.CommercePipelineComponent
        |
        +--com.beasys.commerce.ebusiness.customer.pipeline.UpdateUserPC
              |
              +--com.beasys.commerce.ebusiness.customer.pipeline.UpdateDemographicInfoPC
All Implemented Interfaces:
PipelineComponent

public class UpdateDemographicInfoPC
extends UpdateUserPC

UpdateDemographicInfoPC Updates the customer's demographic profile information using a CustomerValue object from the PipelineSession.

CustomerValue object contains all the attributes associated with customer's demographic profile information.


Constructor Summary
UpdateDemographicInfoPC()
           
 
Method Summary
 void updateCustomer(PipelineSession pSession, Customer customer, CustomerValue customerValue)
          See the class documentation above.
 
Methods inherited from class com.beasys.commerce.ebusiness.customer.pipeline.UpdateUserPC
process, setCustomerProperty, setCustomerProperty, setPropertyIntoCache
 
Methods inherited from class com.beasys.commerce.foundation.pipeline.CommercePipelineComponent
getConnection, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateDemographicInfoPC

public UpdateDemographicInfoPC()
Method Detail

updateCustomer

public void updateCustomer(PipelineSession pSession,
                           Customer customer,
                           CustomerValue customerValue)
                    throws PipelineFatalException
See the class documentation above.
Overrides:
updateCustomer in class UpdateUserPC
Parameters:
pSession - PipelineSession from where it gets CustomerValue object.
customer - Customer object for current user.
customerValue - CusotmerValue object for current user.
Throws:
PipelineFatalException - If unable to set the the customer's basic profile information.

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved