|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectatg.commerce.fulfillment.processor.ProcDeliverElectronicGoodByTemplate
atg.projects.store.fulfillment.processor.ProcDeliverGiftCertificate
public class ProcDeliverGiftCertificate
This processor delivers a gift certificate by an email template.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string. |
static java.lang.String |
MSG_INVALID_ORDER_FULFILLER_PARAMETER
|
static java.lang.String |
MSG_INVALID_ORDER_PARAMETER
|
protected static java.lang.String |
MY_RESOURCE_NAME
Resourse bundle name. |
protected static java.util.ResourceBundle |
sResourceBundle
Resource Bundle. |
protected int |
SUCCESS
Success constant. |
| Fields inherited from interface atg.service.pipeline.PipelineProcessor |
|---|
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK |
| Constructor Summary | |
|---|---|
ProcDeliverGiftCertificate()
|
|
| Method Summary | |
|---|---|
protected atg.userprofiling.email.TemplateEmailInfo |
createTemplateEmailInfo(StoreElectronicFulfiller of,
atg.repository.RepositoryItem pGiftCertificate,
long pQuantity,
atg.commerce.order.ShippingGroup pShippingGroup)
Creates and returns the TemplateEmailInfo to use for sending email within this action. |
int |
runProcess(java.lang.Object pParam,
atg.service.pipeline.PipelineResult pResult)
This processor delivers an electronic item by the email template. |
| Methods inherited from class atg.commerce.fulfillment.processor.ProcDeliverElectronicGoodByTemplate |
|---|
createTemplateEmailInfo, getProfileForOrder, getRetCodes |
| 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
public static final java.lang.String MSG_INVALID_ORDER_PARAMETER
public static final java.lang.String MSG_INVALID_ORDER_FULFILLER_PARAMETER
protected static final java.lang.String MY_RESOURCE_NAME
protected static java.util.ResourceBundle sResourceBundle
protected final int SUCCESS
| Constructor Detail |
|---|
public ProcDeliverGiftCertificate()
| Method Detail |
|---|
public int runProcess(java.lang.Object pParam,
atg.service.pipeline.PipelineResult pResult)
throws java.lang.Exception
runProcess in interface atg.service.pipeline.PipelineProcessorrunProcess in class atg.commerce.fulfillment.processor.ProcDeliverElectronicGoodByTemplatepParam - 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 atg.userprofiling.email.TemplateEmailInfo createTemplateEmailInfo(StoreElectronicFulfiller of,
atg.repository.RepositoryItem pGiftCertificate,
long pQuantity,
atg.commerce.order.ShippingGroup pShippingGroup)
of - - electronic fulfillerpGiftCertificate - The gift certificate being emailedpQuantity - The number of gift certificatespShippingGroup - - shipping group
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||