public class ProcSendFulfillOrderFragment 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 |
|---|
ProcSendFulfillOrderFragment() |
| 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)
Send the FulfillOrderFragment messages with the shipping groups to be
processed to the fulfillers by calling the sendOrderToFulfiller method.
|
protected void |
setShippingGroupStateProcessing(OrderFulfiller of,
Order pOrder,
java.util.List pListShipGroupIds,
java.util.List pModificationList)
Set the shipping group states to processing and add the
Modification objects created to the ModificationList that is
passed.
|
protected void |
setShippingGroupSubmittedDate(OrderFulfiller of,
ShippingGroup pShippingGroup,
java.util.List pModificationList)
This method sets the submitted date of the shipping group to the
current 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 an Order 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)protected void setShippingGroupStateProcessing(OrderFulfiller of, Order pOrder, java.util.List pListShipGroupIds, java.util.List pModificationList)
pOrder - the order to be operated on.pShipGroupIds - the ids of the shipping groups whose state will changepModificationList - the list to which the modification objects created will be added.protected void setShippingGroupSubmittedDate(OrderFulfiller of, ShippingGroup pShippingGroup, java.util.List pModificationList)
pShippingGroup - The shipping group to set.pModificationList - Place to store new modifications.