|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.fulfillment.processor.ProcDeliverElectronicGoodByTemplate
public class ProcDeliverElectronicGoodByTemplate
This processor delivers an electronic item by the email template
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from interface atg.service.pipeline.PipelineProcessor |
---|
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK |
Constructor Summary | |
---|---|
ProcDeliverElectronicGoodByTemplate()
|
Method Summary | |
---|---|
protected TemplateEmailInfo |
createTemplateEmailInfo(ElectronicFulfiller of,
RepositoryItem pPurchaser,
RepositoryItem pGiftCertificate,
long pQuantity,
java.lang.String pRecipientEmail)
Creates and returns the TemplateEmailInfo to use for sending email within this action. |
protected RepositoryItem |
getProfileForOrder(ElectronicFulfiller of,
Order pOrder)
Uses the profile repository to get the profile RepositoryItem for the profileId in the order. |
int[] |
getRetCodes()
Returns the valid return codes 1 - The processor completed |
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
This processor delivers an electronic item by the email template This method requires that an Order and OrderFulfiller object be supplied in pParam in a HashMap. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ProcDeliverElectronicGoodByTemplate()
Method Detail |
---|
public int[] getRetCodes()
getRetCodes
in interface PipelineProcessor
public int runProcess(java.lang.Object pParam, PipelineResult pResult) throws java.lang.Exception
runProcess
in interface PipelineProcessor
pParam
- a HashMap which must contain an Order and OrderFulfiller objectpResult
- a PipelineResult object which stores any information which must
be returned from this method invokation
java.lang.Exception
- throws any exception back to the callerPipelineProcessor.runProcess(Object, PipelineResult)
protected TemplateEmailInfo createTemplateEmailInfo(ElectronicFulfiller of, RepositoryItem pPurchaser, RepositoryItem pGiftCertificate, long pQuantity, java.lang.String pRecipientEmail)
pGiftCertificate
- The gift certificate being emailedpQuantity
- The number of gift certificatesprotected RepositoryItem getProfileForOrder(ElectronicFulfiller of, Order pOrder) throws RepositoryException
RepositoryException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |