The updateOrder pipeline saves the Order supplied to it. The updateOrder pipeline chain is executed by the updateOrder() method in the OrderManager. The updateOrder() method adds the given Order and the OrderManager to its parameter list, which is supplied to the executing chain. The pipeline chain’s transaction mode is TX_REQUIRED.

The following list describes each processor in the pipeline chain:

  1. PipelineLink Name:updateOrderObject
    This processor saves the properties in the Order object.
    Transactional mode: TX_MANDATORY
    Nucleus component:/atg/commerce/order/processor/SaveOrderObject
    PipelineProcessor object:atg.commerce.order.processor.ProcSaveOrderObject
    Transitions: return value of 1 will execute updateCommerceItemObjects next

  2. PipelineLink Name:updateCommerceItemObjects
    This processor saves the properties in the CommerceItem objects in the Order.
    Transactional mode: TX_MANDATORY
    Nucleus component:/atg/commerce/order/processor/SaveCommerceItemObjects
    PipelineProcessor object:atg.commerce.order.processor.ProcSaveCommerceItemObjects
    Transitions: return value of 1 will execute updateShippingGroupObjects next

  3. PipelineLink Name:updateShippingGroupObjects
    This processor saves the properties in the ShippingGroup objects in the Order.
    Transactional mode: TX_MANDATORY
    Nucleus component:/atg/commerce/order/processor/SaveShippingGroupObjects
    PipelineProcessor object:atg.commerce.order.processor.ProcSaveShippingGroupObjects
    Transitions: return value of 1 will execute updateHandlingInstructionObjects next

  4. PipelineLink Name:updateHandlingInstructionObjects
    This processor saves the properties in the HandlingInstruction objects in all the ShippingGroups in the Order.
    Transactional mode: TX_MANDATORY
    Nucleus component:/atg/commerce/order/processor/SaveHandlingInstructionObjects
    PipelineProcessor object:atg.commerce.order.processor.ProcSaveHandlingInstructionObjects
    Transitions: return value of 1 will execute updatePaymentGroupObjects next

  5. PipelineLink Name:updatePaymentGroupObjects
    This processor saves the properties in the PaymentGroup objects in the Order.
    Transactional mode: TX_MANDATORY
    Nucleus component:/atg/commerce/order/processor/SavePaymentGroupObjects
    PipelineProcessor object:atg.commerce.order.processor.ProcSavePaymentGroupObjects
    Transitions: return value of 1 will execute updatePaymentStatusObjects next

  6. PipelineLink Name:updatePaymentStatusObjects
    This processor saves the properties in the PaymentStatus objects in all the PaymentGroups in the Order.
    Transactional mode: TX_MANDATORY
    Nucleus component:/atg/commerce/order/processor/SavePaymentStatusObjects
    PipelineProcessor object:atg.commerce.order.processor.ProcSavePaymentStatusObjects
    Transitions: return value of 1 will execute updateRelationshipObjects next

  7. PipelineLink Name:updateRelationshipObjects
    This processor saves the properties in the Relationship objects in the Order.
    Transactional mode: TX_MANDATORY
    Nucleus component:/atg/commerce/order/processor/SaveRelationshipObjects
    PipelineProcessor object:atg.commerce.order.processor.ProcSaveRelationshipObjects
    Transitions: return value of 1 will execute updatePriceInfoObjects next

  8. PipelineLink Name:updatePriceInfoObjects
    This processor saves the properties in the OrderPriceInfo and TaxPriceInfo objects in the Order, the ShippingPriceInfo object in the ShippingGroups, and the ItemPriceInfo object in the CommerceItems.
    Transactional mode: TX_MANDATORY
    Nucleus component:/atg/commerce/order/processor/SavePriceInfoObjects
    PipelineProcessor object:atg.commerce.order.processor.ProcSavePriceInfoObjects
    Transitions: return value of 1 will execute setLastModifiedTime next

  9. PipelineLink Name:setLastModifiedTime
    This processor sets the lastModifiedTime property of an Order to the current time if any changes were made to an Order.
    Transactional mode: TX_MANDATORY
    Nucleus component:/atg/commerce/order/processor/SetLastModifiedTime
    PipelineProcessor object:atg.commerce.order.processor.ProcSetLastModifiedTime
    Transitions: None, this is the last link in the chain and causes the PipelineManager to return to the caller.

 
loading table of contents...