The performOrderModification chain is triggered when called by the performOrderModifcationChain processor of the performIdTargetModification chain.

The following sections describe each processor in the pipeline chain.

handleModificationType

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 addOrder. If the ModificationType is REMOVE_MODIFICATION, control passes to removeOrderChain. If the ModificationType is neither of these, control passes to updateOrder.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/
  HandleModificationType

Object

atg.commerce.fulfillment.processor.
  ProcHandleModificationType

Transitions

Return value of 1 executes the addOrder processor. Return value of 2 executes the removeOrderChain processor. Return value of 3 executes the updateOrder processor.

addOrder

Modifications that add orders are currently not supported, so this processor sets the status of the particular modification to STATUS_FAILED and adds the modification to the list to be sent back in a ModifyOrderNotification message. Execution of this chain then stops.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/
  ModificationNotSupported

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.

removeOrderChain

Executes the removeOrder pipeline. Execution of this chain then stops.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/RemoveOrderChain

Object

atg.commerce.fulfillment.processor.ProcRemoveOrder

Transitions

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

updateOrder

Modifications that update orders are currently not supported, so this processor sets the status of the particular modification to STATUS_FAILED and adds the modification to the list to be sent back in a ModifyOrderNotification message. Execution of this chain then stops.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/
  ModificationNotSupported

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.


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