|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.fulfillment.processor.ProcDeliverElectronicGoodByListener
public class ProcDeliverElectronicGoodByListener
This processor delivers an electronic item by the email Listener action
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 | |
---|---|
ProcDeliverElectronicGoodByListener()
|
Method Summary | |
---|---|
protected java.lang.String |
createEmailMessageBody(ElectronicFulfiller of,
java.lang.String pClaimCode)
Creates the email message body that will be put into the email. |
protected EmailEvent |
createEmailObject(ElectronicFulfiller of,
java.lang.String pRecipientEmailAddress,
java.lang.String pClaimCode)
This method will create an EmailEvent that corresponds to the message to send out. |
int[] |
getRetCodes()
Returns the valid return codes 1 - The processor completed |
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
Delivers an electronic item by the email Listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ProcDeliverElectronicGoodByListener()
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 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 EmailEvent createEmailObject(ElectronicFulfiller of, java.lang.String pRecipientEmailAddress, java.lang.String pClaimCode)
pRecipientEmailAddress
- email address that this email will be sent topClaimCode
- code to claim something from the ClaimableRepository
protected java.lang.String createEmailMessageBody(ElectronicFulfiller of, java.lang.String pClaimCode)
pClaimCode
- code that is used to claim things from the ClaimbleRepository
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |