The handleElectronicModifyOrder chain is executed when a ElectronicFulfiller receives a ModifyOrder message.

The following sections describe each processor in the pipeline chain.

extractOrderId7

This processor attempts to extract the ID of the order from the OrderId property of the ModifyOrder message.

Transactional mode: TX_MANDATORY

Nucleus component: /atg/commerce/fulfillment/processor/ExtractOrderId

PipelineProcessor object: atg.commerce.fulfillment.processor.ProcExtractOrderId

Transitions: Return value of 1 executes the loadOrder9 processor.

loadOrder9

This processor loads the given order from the repository.

Transactional mode: TX_MANDATORY

Nucleus component: /atg/commerce/fulfillment/processor/LoadOrderRepository

PipelineProcessor object: atg.commerce.fulfillment.processor.ProcLoadOrderRepository

Transitions: Return value of 1 executes the handleModificationClassType4 processor.

handleModificationClassType4

This processor determines if the modifications listed in the ModifyOrder message are valid. If so, it calls the appropriate processor chains. Currently, ElectronicFulfiller does not support handling of ModifyOrder messages, so this processor will always pass control to modificationNotSupported6.

Transactional mode: TX_MANDATORY

Nucleus component: /atg/commerce/fulfillment/processor/HandleModificationClassType

PipelineProcessor object: atg.commerce.pricing.processor.ProcSendScenarioEvent

Transitions: Return value of 2 executes the modificationNotSupported6 processor.

modificationNotSupported6

This processor sets the status of the modification to STATUS_FAILED, and adds the modification to the list to be sent out in a ModifyOrderNotification message.

Transactional mode: TX_MANDATORY

Nucleus component: /atg/commerce/fulfillment/processor/ModificationNotSupported

PipelineProcessor object: atg.commerce.fulfillment.processor.ProcModificationUnsupported

Transitions: Return value of 1 executes the sendModifyOrderNotification9 processor.

sendModifyOrderNotification9

This processor sends a ModifyOrderNotification message with the list of modifications performed during the execution of this chain using JMS.

Transactional mode: TX_MANDATORY

Nucleus component: /atg/commerce/fulfillment/processor/SendModifyOrderNotification

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.


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