com.ibm.commerce.tools.optools.order.commands
Class CSROrderProductContractPriceCmdImpl

java.lang.Object
  CacheableCommandImpl
      com.ibm.commerce.command.AbstractECTargetableCommand
          com.ibm.commerce.command.ControllerCommandImpl
              com.ibm.commerce.tools.command.ToolsControllerCommandImpl
                  com.ibm.commerce.tools.optools.order.commands.CSROrderProductContractPriceCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, CSROrderProductContractPriceCmd, ECCommand, ECTargetableCommand, Protectable, ToolsControllerCommand

public class CSROrderProductContractPriceCmdImpl
extends ToolsControllerCommandImpl
implements CSROrderProductContractPriceCmd

This is the default implementation of the CSROrderProductContractPriceCmd command.

This command calls the following Command:

This command uses the following AccessBean:

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
IBM copyright notice field.
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
Fields inherited from interface com.ibm.commerce.tools.optools.order.commands.CSROrderProductContractPriceCmd
defaultCommandClassName, NAME
Constructor Summary
CSROrderProductContractPriceCmdImpl()
Method Summary
java.util.Vector getCatEntryIds()
Gets the list of catalogEntryIds.
java.util.Hashtable getContractPrices()
Gets the contract prices hash.
java.util.Hashtable getTradingIds()
Gets the trading IDs hash.
java.util.Hashtable getTradingPrices()
Gets the trading prices hash.
void performExecute()
Gets the list of contract prices with their trading IDs for the catalog entry.
void setCatEntryIds(java.util.Vector newCatEntryIds)
Sets the catalog entry ID.
void setContractPrices(java.util.Hashtable newContractPrices)
Sets the contract prices hash.
void setTradingIds(java.util.Hashtable newTradingIds)
Sets the trading IDs hash.
void setTradingPrices(java.util.Hashtable newTradingPrices)
Sets the trading prices hash.
Methods inherited from class com.ibm.commerce.tools.command.ToolsControllerCommandImpl
getViewInputProperties, setRequestProperties
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
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
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values
Constructor Detail

CSROrderProductContractPriceCmdImpl

public CSROrderProductContractPriceCmdImpl()
Method Detail

getCatEntryIds

public java.util.Vector getCatEntryIds()
Gets the list of catalogEntryIds.
Returns:
The vector of catalogEntryIDs.

getContractPrices

public java.util.Hashtable getContractPrices()
Gets the contract prices hash.
Specified by:
getContractPrices in interface CSROrderProductContractPriceCmd
Returns:
The list of contract prices.

getTradingIds

public java.util.Hashtable getTradingIds()
Gets the trading IDs hash.
Specified by:
getTradingIds in interface CSROrderProductContractPriceCmd
Returns:
The list of trading IDs.

getTradingPrices

public java.util.Hashtable getTradingPrices()
Gets the trading prices hash.
Specified by:
getTradingPrices in interface CSROrderProductContractPriceCmd
Returns:
The list of trading prices.

performExecute

public void performExecute()
                    throws ECException
Gets the list of contract prices with their trading IDs for the catalog entry.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException - If the contract prices cannot be retrieved.

setCatEntryIds

public void setCatEntryIds(java.util.Vector newCatEntryIds)
Sets the catalog entry ID.
Specified by:
setCatEntryIds in interface CSROrderProductContractPriceCmd

setContractPrices

public void setContractPrices(java.util.Hashtable newContractPrices)
Sets the contract prices hash.
Parameters:
newContractPrices - The list of contract prices.

setTradingIds

public void setTradingIds(java.util.Hashtable newTradingIds)
Sets the trading IDs hash.
Parameters:
newTradingIds - The list of trading IDs.

setTradingPrices

public void setTradingPrices(java.util.Hashtable newTradingPrices)
Sets the trading prices hash.
Parameters:
newTradingPrices - The list of trading prices.

Feedback