public class ProcFinishShippingGroup extends java.lang.Object implements PipelineProcessor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK| Constructor and Description |
|---|
ProcFinishShippingGroup() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getRetCodes()
Returns the valid return codes
1 - The processor completed
|
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
Ships the shipping group by setting its states to completion
This method requires that a JMS message and OrderFulfiller object be supplied
in pParam in a HashMap.
|
void |
setShippedDate(atg.commerce.fulfillment.InventoryFulfiller of,
ShippingGroup pShippingGroup,
java.util.Date pShipDate,
java.util.List pModificationList)
This method sets the date when the shipping group shipped to the
given time.
|
public int[] getRetCodes()
getRetCodes in interface PipelineProcessorpublic int runProcess(java.lang.Object pParam,
PipelineResult pResult)
throws java.lang.Exception
runProcess in interface PipelineProcessorpParam - a HashMap which must contain a JMS message and OrderFulfiller objectpResult - a PipelineResult object which stores any information which must
be returned from this method invokationjava.lang.Exception - throws any exception back to the callerPipelineProcessor.runProcess(Object, PipelineResult)public void setShippedDate(atg.commerce.fulfillment.InventoryFulfiller of,
ShippingGroup pShippingGroup,
java.util.Date pShipDate,
java.util.List pModificationList)
actualShipDatepShippingGroup - The shipping group that shipped.pShipDate - When the shipping group shipped.pModificationList - Place to store new modifications.