com.ibm.commerce.order.commands
Class PrepareProcurementOrderCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.order.commands.PrepareOrderCmdImpl
|
+--com.ibm.commerce.order.commands.PrepareProcurementOrderCmdImpl
- All Implemented Interfaces:
-
ECCommand,
ECTargetableCommand,
PrepareOrderCmd,
PrepareProcurementOrderCmd,
TaskCommand
- public class PrepareProcurementOrderCmdImpl
- extends
PrepareOrderCmdImpl
- implements
PrepareProcurementOrderCmd
The default implementation class of interface
PrepareProcurementOrderCmd
. It extends
PrepareOrderCmdImpl
class to work with a procurement system. It
does the main order processing. It overrides
PrepareOrderCmdImpl.doProcess(OrderProcessingHelper)
because there
is no need to update the order items' addresses. They are already updated
correctly by the CreatePurchaseOrderItemCmd
command.
- See Also:
-
PrepareOrderCmdImpl
,
PrepareProcurementOrderCmd
,
Serialized
Form
Field Summary |
static java.lang.String |
COPYRIGHT
IBM copyright notice field. |
Method Summary |
protected
void |
doProcess(OrderProcessingHelper aOrderProcessingUtility)
Does the main order processing. |
Methods inherited from class
com.ibm.commerce.command.
AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
-
Constant Field Values
PrepareProcurementOrderCmdImpl
public PrepareProcurementOrderCmdImpl()
doProcess
protected void doProcess(OrderProcessingHelper aOrderProcessingUtility)
throws ECException,
java.rmi.RemoteException,
RemoveException,
CreateException,
FinderException,
javax.naming.NamingException
- Does the main order processing. Comparing with
PrepareOrderCmdImpl.doProcess(OrderProcessingHelper)
, it skips the
call to OrderProcessingHelper.updateOrderItemAddresses
. They are
already updated correctly by the CreatePurchaseOrderItemCmd
command.
-
- Overrides:
-
doProcess
in class
PrepareOrderCmdImpl
-
- Parameters:
aOrderProcessingUtility
-
- Throws:
-
ECException
java.rmi.RemoteException
RemoveException
CreateException
FinderException
javax.naming.NamingException
- See Also:
-
PrepareOrderCmdImpl.doProcess(OrderProcessingHelper)