The updateShippingGroup chain is executed when called by the handleShippingGroupModification chain.

The following sections describe each processor in the pipeline chain.

handleShippingGroupState

Checks the newValue property of the modification to determine what state the modification is requesting that the shipping group be set to. If the value is REMOVED, control passes to completeRemoveOrderChain. If the value is NO_PENDING_ACTION, control passes to completeOrderChain. If the value is PENDING_MERCHANT_ACTION, control passes to failOrder. If the value is anything else then execution of this chain stops.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/HandleShippingGroupState

Object

atg.commerce.pricing.processor.ProcSendScenarioEvent

Transitions

Return value of 1 executes the completeRemoveOrderChain processor. Return value of 2 executes the completeOrderChain processor. Return value of 3 executes the failOrder processor.

completeRemoveOrderChain

This processor executes the completeRemoveOrder chain. After execution, execution of this chain then stops.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/CompleteRemoveOrderChain

Object

atg.commerce.pricing.processor.ProcSendScenarioEvent

Transitions

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

completeOrderChain

This processor executes the completeOrder chain. After execution, execution of this chain then stops.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/CompleteOrderChain

Object

atg.commerce.pricing.processor.ProcSendScenarioEvent

Transitions

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

failOrder

Sets the state of the order to PENDING_MERCHANT_ACTION, and adds this modification to the list of modifications.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/FailOrder

Object

atg.commerce.pricing.processor.ProcSendScenarioEvent

Transitions

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


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