Some commerce processes are executed using the PipelineManager
. The PipelineManager
is a component that executes a series of processors, each of which accomplish a task. This series of processors is called a pipeline. The execution of a pipeline chain is usually wrapped in a method call that eliminates the need for interacting directly with the PipelineManager
.
For information editing pipeline chains, see the Using the Pipeline Editor section and the Adding a Commerce Processor Using XML Combination section in this chapter.
The PipelineManager
Nucleus component for ATG Commerce is located at /atg/commerce/PipelineManager
. In ATG Consumer Commerce, the related XML configuration file is defined in <ATG9dir>/B2CCommerce/config/atg/commerce/commercepipeline.xml
. In ATG Business Commerce, the related XML configuration file is defined in <ATG9dir/B2BCommerce/config/atg/commerce/commercepipeline.xml
.
For information on how to extend a pipeline defined for a PipelineManager
, see the Adding a Commerce Processor Using XML Combination section in this chapter.
The following pipeline chains are defined in commercepipeline.xml
. Each of these chains is described in detail in this chapter:
updateOrder Pipeline Chain: Saves the order supplied to it.
loadOrder Pipeline Chain: Loads the order from the repository whose ID is supplied as a parameter.
refreshOrder Pipeline Chain: Reloads an order after an error and causes the unloaded portion of an Order to be loaded when accessed.
processOrder Pipeline Chain: Submits the given order for checkout.
validateForCheckout Pipeline Chain: Verifies that the order is ready for checkout.
validatePostApproval Pipeline Chain: Revalidates an order after approval.
validatePaymentGroupsPostApproval Pipeline Chain: Validates each payment group in an order after the order has been approved.
validateNoApproval Pipeline Chain: Validates an order that does not require approval.
recalcPaymentGroupAmounts Pipeline Chain: Regenerates the amount that must be assigned to each
PaymentGroup
in the order.repriceOrder Pipeline Chain: Prices the order
moveToConfirmation Pipeline Chain: Prices the order and validates it.
moveToPurchaseInfo Pipeline Chain: Validates the order.
validateShippingInfo Pipeline Chain: Validates the shipping groups in the order.
sendScenarioEvent Pipeline Chain: Sends a message to the Dynamo Message System.