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

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.order.commands.ExtOrderProcessCmdImpl
                    |
                    +--com.ibm.commerce.isv.kit.tax.TaxOrderAuditTIKCmdImpl
All Implemented Interfaces:
ECCommand, 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.


Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.order.commands.ExtOrderProcessCmd
COPYRIGHT, 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 order reference number.
 void init()
          Set up the OrderItem arry
 void performExecute()
          Performs the main business logic of the command.
 void reset()
          This method is 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.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 

Constructor Detail

TaxOrderAuditTIKCmdImpl

public TaxOrderAuditTIKCmdImpl()
Method Detail

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.


getOrderRn

public java.lang.Long getOrderRn()
Description copied from class: ExtOrderProcessCmdImpl
Gets the order reference number.
Overrides:
getOrderRn in class ExtOrderProcessCmdImpl

init

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

performExecute

public void performExecute()
                    throws ECException
Performs the main business logic of the command.
Overrides:
performExecute in class ExtOrderProcessCmdImpl
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.

reset

public void reset()
Description copied from class: AbstractECCommand
This method is 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 AbstractECCommand

setOrderRn

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

validateParameters

public void validateParameters()
                        throws ECException
TaxOrderAuditTIKCmdImpl default constructor.
Overrides:
validateParameters in class AbstractECCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
ECException. -