com.ibm.commerce.price.commands
Class PublishCustomPriceListCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.price.commands.PublishCustomPriceListCmdImpl
All Implemented Interfaces:
ECCommand, PublishCustomPriceListCmd, TaskCommand

public class PublishCustomPriceListCmdImpl
extends TaskCommandImpl
implements PublishCustomPriceListCmd

This DeployPriceTCCmd Task Command Implementation to populate the custom price list and to publish the corresponding custom product set for the PriceTCCustomPriceList T&C.


Field Summary
static java.lang.String CLASSNAME
           
static java.lang.String COPYRIGHT
          The internal copyright field.
 
Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.price.commands.PublishCustomPriceListCmd
defaultCommandClassName, NAME
 
Constructor Summary
PublishCustomPriceListCmdImpl()
           
 
Method Summary
 void performExecute()
          This method contains the actual business logic of the command It should be implemented by the command writer.
 void setTCId(java.lang.Long anTCId)
          Sets the ProductId that represents the primary key of the CatalogEntry that is to be resolved,
 
Methods inherited from class com.ibm.commerce.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, 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.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME

COPYRIGHT

public static final java.lang.String COPYRIGHT
The internal copyright field.
Constructor Detail

PublishCustomPriceListCmdImpl

public PublishCustomPriceListCmdImpl()
Method Detail

performExecute

public void performExecute()
                    throws ECException
This method contains the actual business logic of the command It should be implemented by the command writer.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.

setTCId

public void setTCId(java.lang.Long anTCId)
Description copied from interface: PublishCustomPriceListCmd
Sets the ProductId that represents the primary key of the CatalogEntry that is to be resolved,
Specified by:
setTCId in interface PublishCustomPriceListCmd
Following copied from interface: com.ibm.commerce.price.commands.PublishCustomPriceListCmd
Parameters:
anProductId - java.lang.Long