public class ProcRemoveShipItemRelsFromShippingGroup extends java.lang.Object implements PipelineProcessor
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK| Constructor and Description | 
|---|
| ProcRemoveShipItemRelsFromShippingGroup() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getChainToRun() | 
| int[] | getRetCodes()Returns the valid return codes
 1 - The processor completed | 
| protected boolean | removeShippingGroupItemRelationship(HardgoodFulfiller of,
                                   Order pOrder,
                                   ShippingGroupCommerceItemRelationship pShippingGroupItemRelationship,
                                   Modification pModification,
                                   java.util.List pPerformedModifications)Deprecated. 
 use the version of this method that takes a ShippingGroupCommerceItemRelationship
              and an Object as the only two arguments | 
| protected boolean | removeShippingGroupItemRelationship(ShippingGroupCommerceItemRelationship pShippingGroupItemRelationship,
                                   java.lang.Object pParam)Remove the given shipping group by setting its state to REMOVED
 If the group cannot be removed, then fail the Modification
 Assume the group is not PENDING_SHIPMENT
 This method adds the given relationship to the given pParam object 
 and executes the  chainToRunpipeline chain. | 
| int | runProcess(java.lang.Object pParam,
          PipelineResult pResult)Removes all item relationships from the shipping group, the call is made to the
 chain that is responsible for removing. | 
| void | setChainToRun(java.lang.String pChainToRun) | 
public ProcRemoveShipItemRelsFromShippingGroup()
public int[] getRetCodes()
getRetCodes in interface PipelineProcessorpublic java.lang.String getChainToRun()
public void setChainToRun(java.lang.String pChainToRun)
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 invokationjava.lang.Exception - throws any exception back to the callerPipelineProcessor.runProcess(Object, PipelineResult)protected boolean removeShippingGroupItemRelationship(HardgoodFulfiller of, Order pOrder, ShippingGroupCommerceItemRelationship pShippingGroupItemRelationship, Modification pModification, java.util.List pPerformedModifications)
chainToRun pipeline chain.pOrder - The order we are removing the shipping group item relationship frompShippingGroupCommerceItemRelationship - The shipping group item relationship to removepModification - The modification request this action is in response topPerformedModifications - The list to store our performed modifications inprotected boolean removeShippingGroupItemRelationship(ShippingGroupCommerceItemRelationship pShippingGroupItemRelationship, java.lang.Object pParam)
chainToRun pipeline chain.pOrder - The order we are removing the shipping group item relationship frompShippingGroupCommerceItemRelationship - The shipping group item relationship to removepModification - The modification request this action is in response topPerformedModifications - The list to store our performed modifications in