The actual loading of an Order object occurs by calling the loadOrder() method in the OrderManager. The loadOrder() method calls into the PipelineManager to execute the loadOrder pipeline, which creates and populates the Order object.
The following table describes the individual processors in the loadOrder pipeline. They are listed in order of execution.
| PipelineLink name | Description | 
|---|
| loadOrderObject
 | Given an OrderID supplied by thePipelineManager, this processor creates anOrderobject and loads its properties from the Order Repository. Note that while the Orderobject is loaded, none of the contained objects, such as theCommerceItemsorShippingGroups, are loaded. Later, when anOrderproperty is accessed (for example, by calling a method likegetCommerceItems()orgetShippingGroups()in theOrder), the rest of the objects in theOrderare loaded. See Refreshing Orders below for details. The atg.commerce.order.processor.ProcLoadOrderObjectclass implements this functionality. | 
| loadPriceInfoObjects
 | Creates OrderPriceInfoandTaxPriceInfoobjects for the givenOrderand loads their properties from the Order Repository. Note that only the OrderPriceInfoandTaxPriceInfoobjects are loaded at this point. Later, when anOrderproperty is accessed (for example, by callinggetPriceInfo()orgetCommerceItems()in theOrder), the rest of theAmountInfoobjects in theOrderare loaded, such as theItemPriceInfoobjects in theCommerceItemsand theShippingPriceInfoobjects in theShippingGroups. See Refreshing Orders below for details. The atg.commerce.order.processor.ProcLoadPriceInfoObjectsclass implements this functionality. For more information about PriceInfoobjects, see the Commerce Pricing Engines chapter. | 
For more information about the OrderManager, see the Working With Purchase Process Objects chapter. For more information about pipelines, the PipelineManager, and the transactional modes and transitions of the processors in the loadOrder pipeline, see Appendix F,   Pipeline Chains.