com.ibm.commerce.isv.kit.tax
Class TaxOrderAuditTIKCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.order.commands.ExtOrderProcessCmdImpl
                          |
                          +--com.ibm.commerce.isv.kit.tax.TaxOrderAuditTIKCmdImpl
All Implemented Interfaces:
ECCommand, ECTargetableCommand, ExtOrderProcessCmd, TaskCommand

public class TaxOrderAuditTIKCmdImpl
extends ExtOrderProcessCmdImpl

This TaxOrderAuditTIKCmd Task Command Implementation checks is a subclass of the ExtOrderProcessCmd. It augments the perfromExecute by updating the Taxes using the TaxOrderCmd & TaxOrderItemCmd.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.commerce.order.commands. ExtOrderProcessCmdImpl
COPYRIGHT
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.order.commands. ExtOrderProcessCmd
defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
TaxOrderAuditTIKCmdImpl()
           
 
Method Summary
protected  java.lang.String getOrderCurrency()
          Resets the instance variables of the command.
 java.lang.Long getOrderRn()
          Gets the identifier of the Order that was processed.
 void init()
          Set up the OrderItem arry
 void performExecute()
          Performs the main business logic of the command.
 void reset()
          This method should be called after a command has been executed to reset its states variables.
 void setOrderRn(java.lang.Long orderId)
          Sets the orderId property of the command.
 void validateParameters()
          TaxOrderAuditTIKCmdImpl default constructor.
 
Methods inherited from class com.ibm.commerce.order.commands. ExtOrderProcessCmdImpl
getOrder, setOrder
 
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, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaxOrderAuditTIKCmdImpl

public TaxOrderAuditTIKCmdImpl()
Method Detail

init

public void init()
          throws ECException
Set up the OrderItem arry
ECException

performExecute

public void performExecute()
                    throws ECException
Performs the main business logic of the command.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class ExtOrderProcessCmdImpl
Throws:
ECException

getOrderCurrency

protected java.lang.String getOrderCurrency()
Resets the instance variables of the command. The reset() method will reset all instance variables. If the command includes any output values that are accessible via getters, then make sure those values are no longer needed before calling this method to reset the instance variables of the command.

This is useful if the command instance is to be called multiple times with different command parameters.


reset

public void reset()
Description copied from class: AbstractECTargetableCommand
This method should be called after a command has been executed to reset its states variables. After the call to reset, we should be able to execute the command again.
Overrides:
reset in class AbstractECTargetableCommand

setOrderRn

public void setOrderRn(java.lang.Long orderId)
Sets the orderId property of the command.
Specified by:
setOrderRn in interface ExtOrderProcessCmd
Overrides:
setOrderRn in class ExtOrderProcessCmdImpl
Parameters:
orderId - the order reference number of the Order for which the detail order description is to be prepared.

getOrderRn

public java.lang.Long getOrderRn()
Description copied from class: ExtOrderProcessCmdImpl
Gets the identifier of the Order that was processed.
Specified by:
getOrderRn in interface ExtOrderProcessCmd
Overrides:
getOrderRn in class ExtOrderProcessCmdImpl
Returns:
the identifier of the Order that was processed.

validateParameters

public void validateParameters()
                        throws ECException
TaxOrderAuditTIKCmdImpl default constructor.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
ECException