|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.commerce.fulfillment.processor.ProcHandleModificationClassType
public class ProcHandleModificationClassType
This processor will route the modification execution based on the modification class type Works for both ModifyOrder and ModifyOrderNotification JMS messages
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.service.pipeline.PipelineProcessor |
---|
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
ProcHandleModificationClassType()
|
Method Summary | |
---|---|
java.util.Properties |
getChainToRunMap()
|
InventoryManager |
getInventoryManager()
The InventoryManager that is notified when inventory is updated |
int[] |
getRetCodes()
Returns the valid return codes 1 - The processor completed 2 - The modification is not supported |
protected void |
handleIdTargetModification(java.lang.String chainToRun,
FulfillerSystem of,
java.util.HashMap pMap)
Handles a modification of the IdTargetModification class type from both the ModifyOrder and ModifyOrderNotification messages |
protected void |
handlePayGroupUpdateModification(java.lang.String chainToRun,
FulfillerSystem of,
java.util.HashMap pMap)
Handles a modification of the PaymentGroupUpdate type from the ModifyOrderNotification message |
protected void |
handleShipGroupUpdateModification(java.lang.String chainToRun,
FulfillerSystem of,
java.util.HashMap pMap)
Handles a modification of the ShippingGroupUpdate type from the ModifyOrderNotification message |
boolean |
isUpdateInventoryOnCancelOrder()
If this is true, then cancel an order whose inventory has already been allocated will result in a call to InventoryManager.inventoryWasUpdated This defaults to true |
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
This processor will route the order modification execution based on the modification class type Works for both ModifyOrder and ModifyOrderNotification JMS messages This method requires that a Commerce message and OrderFulfiller object be supplied in pParam in a HashMap. |
void |
setChainToRunMap(java.util.Properties pChainToRunMap)
|
void |
setInventoryManager(InventoryManager pInventoryManager)
|
void |
setUpdateInventoryOnCancelOrder(boolean pUpdateInventoryOnCancelOrder)
|
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
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 ProcHandleModificationClassType()
Method Detail |
---|
public void setUpdateInventoryOnCancelOrder(boolean pUpdateInventoryOnCancelOrder)
public boolean isUpdateInventoryOnCancelOrder()
public void setInventoryManager(InventoryManager pInventoryManager)
public InventoryManager getInventoryManager()
public void setChainToRunMap(java.util.Properties pChainToRunMap)
public java.util.Properties getChainToRunMap()
public int[] getRetCodes()
getRetCodes
in interface PipelineProcessor
public int runProcess(java.lang.Object pParam, PipelineResult pResult) throws java.lang.Exception
runProcess
in interface PipelineProcessor
pParam
- a HashMap which must contain a Commerce message 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 handleIdTargetModification(java.lang.String chainToRun, FulfillerSystem of, java.util.HashMap pMap) throws java.lang.Exception
java.lang.Exception
protected void handleShipGroupUpdateModification(java.lang.String chainToRun, FulfillerSystem of, java.util.HashMap pMap) throws java.lang.Exception
java.lang.Exception
protected void handlePayGroupUpdateModification(java.lang.String chainToRun, FulfillerSystem of, java.util.HashMap pMap) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |