atg.commerce.fulfillment.processor
Class ProcHandleRelationshipState
java.lang.Object
atg.commerce.fulfillment.processor.ProcHandleRelationshipState
- All Implemented Interfaces:
- PipelineProcessor
public class ProcHandleRelationshipState
- extends java.lang.Object
- implements PipelineProcessor
This processor will route the execution resulted in a change of a relationship's state
Field Summary |
static java.lang.String |
CLASS_VERSION
Class version string |
Method Summary |
int[] |
getRetCodes()
Returns the valid return codes
1 - The remove relationship processor |
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
Route the execution based on a new relationship's state
This method requires that an Order and OrderFulfiller object be supplied
in pParam in a HashMap. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
ProcHandleRelationshipState
public ProcHandleRelationshipState()
getRetCodes
public int[] getRetCodes()
- Returns the valid return codes
1 - The remove relationship processor
- Specified by:
getRetCodes
in interface PipelineProcessor
- Returns:
- an integer array of the valid return codes.
runProcess
public int runProcess(java.lang.Object pParam,
PipelineResult pResult)
throws java.lang.Exception
- Route the execution based on a new relationship's state
This method requires that an Order and OrderFulfiller object be supplied
in pParam in a HashMap. Use the PipelineConstants class' static members to key
the objects in the HashMap.
- Specified by:
runProcess
in interface PipelineProcessor
- Parameters:
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
- Returns:
- an integer specifying the processor's return code
- Throws:
java.lang.Exception
- throws any exception back to the caller- See Also:
PipelineProcessor.runProcess(Object, PipelineResult)