© 2001 BEA Systems, Inc.

com.beasys.commerce.ebusiness.shipping.pipeline
Class AddShippingAddressPC

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

public class AddShippingAddressPC
extends UpdateUserPC

Updates the customer profile by adding the new shipping address.


Constructor Summary
AddShippingAddressPC()
           
 
Method Summary
 void updateCustomer(PipelineSession pipelineSession, Customer customer, CustomerValue customerValue)
          Updates customer's list of shipping address by adding the new shipping address.
 
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

AddShippingAddressPC

public AddShippingAddressPC()
Method Detail

updateCustomer

public void updateCustomer(PipelineSession pipelineSession,
                           Customer customer,
                           CustomerValue customerValue)
                    throws PipelineFatalException
Updates customer's list of shipping address by adding the new shipping address. This method is called by the UpdateUserPC's process method.
Overrides:
updateCustomer in class UpdateUserPC
Parameters:
pipelineSession - the PipelineSession.
customer - Customer object for current user.
customerValue - CusotmerValue object for current user.
Throws:
PipelineFatalException - if the shipping address is missing in the PipelineSession.

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved