Saturday, October 13, 2012

Important Pipeline Chains To Remember :ATG


moveToConfirmation Pipeline Chain


The moveToConfirmation pipeline chain prices the Order and validates it. The moveToConfirmation pipeline chain is executed by the handleMoveToConfirmation() method in the PaymentGroupFormHandler. The pipeline chain’s transaction mode is TX_REQUIRED.


The following list describes each processor in the pipeline chain:


1.PipelineLink Name: executeRepriceOrderChain
This processor causes the repriceOrder pipeline chain to be executed.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/order/processor/ExecuteRepriceOrderChain
PipelineProcessor object: atg.commerce.pricing.processor.ProcExecuteChain
Transitions: return value of 1 will execute executeValidateForCheckoutChain2 next

2.PipelineLink Name: executeValidateForCheckoutChain2
This processor causes the validateForCheckout chain to be executed.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/order/processor/ExecuteValidateForCheckoutChain
PipelineProcessor object: atg.commerce.pricing.processor.ProcExecuteChain
Transitions: None, this is the only link in the chain and will cause the PipelineManager to return to the caller.



moveToPurchaseInfo Pipeline Chain



The moveToPurchaseInfo pipeline chain validates the Order. The moveToPurchaseInfo pipeline chain is executed by the handleMoveToPurchaseInfo() method in the CartModifierFormHandler. The pipeline chain’s transaction mode is TX_REQUIRED.

The moveToPurchaseInfo pipeline chain contains the following processor:


PipelineLink Name: validateOrderForCheckout2
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/order/processor/ValidateOrderForCheckout
PipelineProcessor object: atg.commerce.pricing.processor.ProcExecuteChain
Transitions: None, this is the only link in the chain and will cause the PipelineManager to return to the caller.
Notes: This processor causes the validateForCheckout chain to be executed.



validateShippingInfo Pipeline Chain


The validateShippingInfo pipeline chain validates the ShippingGroups in the Order. The validateShippingInfo pipeline chain is executed by the validateShippingGroupsChainId() method in the ShippingGroupFormHandler. The pipeline chain’s transaction mode is TX_REQUIRED.

The validateShippingInfo pipeline chain contains the following processor:


1.PipelineLink Name: validateShippingGroupsInfo
This processor validates ShippingGroups before checking an Order out. The two main things which are checked for are that all CommerceItems in the Order are assigned to ShippingGroups and that all the required fields in all the ShippingGroups, regardless of type, are not null or empty String.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/order/processor/ValidateShippingGroupsForCheckout
PipelineProcessor object: atg.commerce.pricing.processor.ProcValidateShippingGroupsForCheckout
Transitions: None, this is the only link in the chain and will cause the PipelineManager to return to the caller.



sendScenarioEvent Pipeline Chain


The sendScenarioEvent pipeline chain sends a message to the Dynamo Message System. The sendScenarioEvent pipeline chain is used in various areas of ATG Commerce. The pipeline chain’s transaction mode is TX_REQUIRED.

The sendScenarioEvent pipeline chain contains the following processor:


1.PipelineLink Name: sendScenarioEvent
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/order/processor/SendScenarioEvent
PipelineProcessor object: atg.commerce.pricing.processor.ProcSendScenarioEvent
Transitions: None, this is the only link in the chain and will cause the PipelineManager to return to the caller.
Notes: This processor sends scenario action events to the scenario server.

No comments:

Popular Posts