|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.fulfillment.processor.ProcRemoveShipItemRelsFromShippingGroup
public class ProcRemoveShipItemRelsFromShippingGroup
This processor removes item Relationships from the shipping group. It will call to the corresponding chain that removes each itemRel from the group.
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 | |
---|---|
ProcRemoveShipItemRelsFromShippingGroup()
|
Method Summary | |
---|---|
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 chainToRun pipeline 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)
|
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 ProcRemoveShipItemRelsFromShippingGroup()
Method Detail |
---|
public int[] getRetCodes()
getRetCodes
in interface PipelineProcessor
public 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 PipelineProcessor
pParam
- 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 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 in
protected 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |