public class ProcRetrieveOrderWaitingShipMap 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 |
|---|
ProcRetrieveOrderWaitingShipMap() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getRetCodes()
Returns the valid return codes
1 - The processor completed
|
protected java.util.HashMap |
makeOrderShipGroupHashMap(atg.commerce.fulfillment.InventoryFulfiller of,
RepositoryItem[] pItems)
Takes an array of repository items that correspond to shipItemRel repository items.
|
protected java.util.HashMap |
retrieveShipMap(atg.commerce.fulfillment.InventoryFulfiller of,
java.lang.String[] pCatalogRefIds,
java.lang.String[] pStates,
java.lang.String pLocationId)
This method will return a HashMap where the Order ids are the
keys and the values are a Set of shipping group ids whose
shipItemRel state is equal to one of the pState passed in and
contain the items listed in pCatalogRefIds.
|
protected java.util.HashMap |
retrieveWaitingShipMap(atg.commerce.fulfillment.InventoryFulfiller of,
java.lang.String[] pCatalogRefIds,
java.lang.String pLocationId)
Returns a HashMap where the keys are the order ids and the values are a Set of shipping
group ids of the shipping groups who have items that were on preorder and are contained
in the pCatalogRefIds that are passed in.
|
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
Returns a HashMap where the keys are the order ids and the values are a Set of shipping
group ids of the shipping groups who have items that could not be previously allocated
from the inventory.
|
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 a JMS message 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 java.util.HashMap retrieveWaitingShipMap(atg.commerce.fulfillment.InventoryFulfiller of,
java.lang.String[] pCatalogRefIds,
java.lang.String pLocationId)
pCatalogRefIds - - the array of sku ids that have been moved off preorderprotected java.util.HashMap retrieveShipMap(atg.commerce.fulfillment.InventoryFulfiller of,
java.lang.String[] pCatalogRefIds,
java.lang.String[] pStates,
java.lang.String pLocationId)
pCatalogRefIds - - the ids of the items we are interested in finding in the shipping
groups.pState - - the array of states of the item relationship that we want to match.protected java.util.HashMap makeOrderShipGroupHashMap(atg.commerce.fulfillment.InventoryFulfiller of,
RepositoryItem[] pItems)