java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.price.commands.PublishCustomPriceListCmdImpl
This DeployPriceTCCmd
Task Command Implementation to populate
the custom price list and to publish the corresponding custom product set for
the PriceTCCustomPriceList T&C.
This command calls the following TaskCommands:
This command uses the following AccessBeans:StoreAccessBean
PriceTCCustomPriceListAccessBean
TradingPositionContainerAccessBean
CatalogEntryAccessBean
OrderItemAccessBean
PurchaseLimitAccessBean
OfferPriceAccessBean
TradingAgreementAccessBean
OfferAccessBean
TermConditionAccessBean
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME The internal class name field. |
static java.lang.String |
COPYRIGHT The internal copyright field. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.price.commands. PublishCustomPriceListCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
PublishCustomPriceListCmdImpl() |
Method Summary | |
---|---|
java.util.HashSet |
getOfferCatentrySet() Get catentry IDs for custom price list offers used for DeployPriceListCmd. |
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) Set Term Condition ID |
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 |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
Constructor Detail |
---|
public PublishCustomPriceListCmdImpl()
Method Detail |
---|
public java.util.HashSet getOfferCatentrySet()
getOfferCatentrySet
in interface
PublishCustomPriceListCmd
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
CommandException
- The superclass for all ECExceptions.ECException
public void setTCId(java.lang.Long anTCId)
setTCId
in interface
PublishCustomPriceListCmd
anTCId
- the term condition ID