The handleShippingGroupModification
chain is executed when called by the handleIdTargetModification
chain.
The following sections describe each processor in the pipeline chain.
handleModificationType1
This processor determines the type of modification requested by looking at the ModificationType
property of the modification. If the ModificationType
is ADD_MODIFICATION, control passes to addShippingGroup
. If the ModificationType
is REMOVE_MODIFICATION, control passes to cancelRemoveOrder
. If the ModificationType
is neither of these, control passes to updateShippingGroupChain
.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/HandleModificationType
PipelineProcessor object: atg.commerce.fulfillment.processor.ProcHandleModificationType
Transitions: Return value of 1 executes the addShippingGroup processor. Return value of 2 executes the cancelRemoveOrder processor. Return value of 3 executes the updateShippingGroupChain processor.
addShippingGroup
This type of modification is currently not supported. This processor logs an error. Execution of this chain then stops.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/EmptyProcessor
PipelineProcessor object: atg.commerce.fulfillment.processor.ProcModificationUnsupported
Transitions: None. This is the last link in the chain and causes the PipelineManager
to return to the caller.
cancelRemoveOrder
Cancels the remove order modification because a component of the order could not be removed. Sets the state of the order to PENDING_MERCHANT_ACTION. Execution of this chain then stops.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/CancelRemoveOrder
PipelineProcessor 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.
updateShippingGroupChain
This processor executes the updateShippingGroup
chain. Execution of this chain then stops.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/UpdateShippingGroupChain
PipelineProcessor 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.