The handleRelationshipModification chain is executed when called by the HandleIdTargetModification chain.

The following sections describe each processor in the pipeline chain.

handleModificationType2

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 addRelationship. If the ModificationType is REMOVE_MODIFICATION, control passes to removeRelationship. If the ModificationType is neither of these, control passes to updateRelationshipChain.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/HandleModificationType

Object

atg.commerce.fulfillment.processor.ProcHandleModificationType

Transitions

Return value of 1 executes the addRelationship processor. Return value of 2 executes the removeRelationship processor. Return value of 3 executes the updateRelationshipChain processor.

addRelationship

This type of modification is currently not supported. This processor logs an error. Execution of this chain then stops.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/EmptyProcessor

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.

removeRelationship

This type of modification is currently not supported. This processor logs an error. Execution of this chain then stops.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/EmptyProcessor

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.

updateRelationshipChain

This processor executes the updateRelationship chain.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/UpdateRelationshipChain

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