The performHardgoodRelationshipModification
chain is executed when called by the performHardgoodIdTargetModification
chain.
The following sections describe each processor in the pipeline chain.
handleModificationType5
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 addHardgoodRelationship
. If the ModificationType
is REMOVE_MODIFICATION, control passes to removeHardgoodRelationship
. If the ModificationType
is neither of these, control passes to update
HardgoodRelationship
.
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 addHardgoodRelationship
processor. Return value of 2 executes the removeHardGoodRelationship
processor. Return value of 3 executes the updateHardGoodRelationship
.
addHardgoodRelationship
This type of modification is not currently supported. 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. Execution of this chain then stops.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/ModificationNotSupported
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.
removeHardgoodRelationship
This type of modification is not currently supported. 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. Execution of this chain then stops.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/ModificationNotSupported
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.
updateHardgoodRelationship
This type of modification is not currently supported. 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. Execution of this chain then stops.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/ModificationNotSupported
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.