|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.commerce.fulfillment.processor.ProcFailOrder
public class ProcFailOrder
This processor will fail the order
| 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 | |
|---|---|
ProcFailOrder()
|
|
| Method Summary | |
|---|---|
int[] |
getRetCodes()
Returns the valid return codes 1 - The processor completed |
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
Fails the order by setting its state to PENDING_MERCHANT_ACTION 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 java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public ProcFailOrder()
| 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 PipelineProcessorpParam - 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||