The prepareReplacementOrder pipeline chain performs pre-submission processes on the replacement order. The pipeline chain’s transaction mode is TX_REQUIRED.

The following section describes the processor in the pipeline chain.

validateReplacementOrder

This processor validates that the order is ready for checkout.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/order/processor/ExecuteValidateForCheckoutChain

Object

atg.commerce.order.processor.ProcExecuteChain

Transitions

If the processor returns 1, call the removeEmptyShippingGroupsFromReplacementOrder processor.

removeEmptyShippingGroupsFromReplacementOrder

This processor removes empty shipping groups from the order.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/order/processor/RemoveEmptyShippingGroups

Object

atg.commerce.order.processor.ProcRemoveEmptyShippingGroups

Transitions

If the processor returns 1, call the removeEmptyPaymentGroupsFromReplacementOrder processor.

removeEmptyPaymentGroupsFromReplacementOrder

This processor removes empty payment groups from the order.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/order/processor/RemoveEmptyPaymentGroups

Object

atg.commerce.order.processor.ProcRemoveEmptyPaymentGroups

Transitions

If the processor returns 1, call the createImplicitRelationshipsOnReplacementOrder processor.

createImplicitRelationshipsOnReplacementOrder

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/order/processor/CreateImplicitRelationships

Object

atg.commerce.order.processor.ProcCreateImplicitRelationships

Transitions

If the processor returns 1, call the setPaymentGroupAmountOnReplacementOrder processor.

setPaymentGroupAmountOnReplacementOrder

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/order/processor/SetPaymentGroupAmount

Object

atg.commerce.order.processor.ProcSetPaymentGroupAmount

Transitions

If the processor returns 1, call the authorizeReplacementOrderPayment processor.

authorizeReplacementOrderPayment

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/order/processor/AuthorizePayment

Object

atg.commerce.order.processor.ProcAuthorizePayment

Transitions

If the processor returns 1, call the setSalesChannelOnReplacementOrder processor.

setSaleChannelOnReplacementOrder

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/order/processor/SetSalesChannel

Object

atg.commerce.order.processor.ProcSetSalesChannel

Transitions

If the processor returns 1, call the updateReplacementOrderState processor.

updateReplacementOrderState

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/
  UpdateReplacementOrderStateOnConfirm

Object

atg.commerce.csr.returns.processor.
  ProcUpdateReplacementOrderStateOnConfirm

Transitions

If the processor returns 1, call the addReplacementOrderToRepository processor.

addReplacementOrderToRepository

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/order/processor/AddOrderToRepository

Object

atg.commerce.order.processor.ProcAddOrderToRepository

Transitions

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


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