| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.commerce.fulfillment.processor.ProcSendFulfillOrderFragment
public class ProcSendFulfillOrderFragment
This processor sends the FulfillOrderFragment messages to the fulfillers. The messages contain the shipping groups the fulfillers are responsible for.
| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSIONClass 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 | |
|---|---|
| ProcSendFulfillOrderFragment() | |
| Method Summary | |
|---|---|
|  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. | 
| 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 ProcSendFulfillOrderFragment()
| 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)
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.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||