The loadOrder pipeline chain loads the Order from the repository whose ID is supplied as a parameter. The loadOrder pipeline chain is executed by the loadOrder() method in the OrderManager. The loadOrder() method adds the given OrderId, OrderRepository, CatalogTools Nucleus component, 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 sections describe each processor in the pipeline chain.

loadOrderObject

This processor constructs a new Order object and loads the properties from the repository into it.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/order/processor/LoadOrderObject

Object

atg.commerce.order.processor.ProcLoadOrderObject

Transitions

Return value of 1 will execute loadPriceInfoObjectsForOrder next.

loadPriceInfoObjectsForOrder

This processor constructs a new OrderPriceInfo and TaxPriceInfo object for the Order it loads and loads the properties from the repository into it. It then sets the PriceInfo to the corresponding object in the Order.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/order/processor/LoadPriceInfoObjects

Object

atg.commerce.order.processor.ProcLoadPriceInfoObjects

Transitions

None. This is the last link in the chain and will cause the PipelineManager to return to the caller.


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices