The allocateElectronicGood chain is executed when called by the processElectronicShippingGroup chain.

The following sections describe each processor in the pipeline chain.

createElectronicGood

This processor creates a gift certificate by using the createClaimableGiftCertificate method of ClaimableManager.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/CreateElectronicGood

Object

atg.commerce.pricing.processor.ProcSendScenarioEvent

Transitions

Return value of 1 executes the handleElectronicSenderType processor.

handleElectronicSenderType

This processor determines how the electronic good is to be delivered by checking useTemplateEmailSender property of ElectronicFulfiller. If it is true, control passes to deliverElectronicGoodByTemplate. Otherwise, control passes to deliverElectronicGoodByListener.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/HandleElectronicSenderType

Object

atg.commerce.pricing.processor.ProcSendScenarioEvent

Transitions

Return value of 1 executes the deliverElectronicGoodByTemplate processor. Return value of 2 executes the deliverElectronicGoodByListener processor

deliverElectronicGoodByTemplate

This processor sends the electronic good out via e-mail using the GiftCertificateEmailTemplate of the OrderFulfiller. Execution of this chain then stops.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/DeliverElectronicGoodByTemplate

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.

deliverElectronicGoodByListener

This processor delivers the electronic good out via e-mail using EmailListener property of the OrderFulfiller. Execution of this chain then stops.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/DeliverElectronicGoodByListener

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, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices