public class PublishCustomPriceListCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements PublishCustomPriceListCmd
DeployPriceTCCmd
Task Command Implementation populates the custom price list
and publishes the corresponding custom product set for the PriceTCCustomPriceList T&C.
This command uses the following AccessBeans:
StoreAccessBean
PriceTCCustomPriceListAccessBean
TradingPositionContainerAccessBean
CatalogEntryAccessBean
OrderItemAccessBean
PurchaseLimitAccessBean
OfferPriceAccessBean
TradingAgreementAccessBean
OfferAccessBean
TermConditionAccessBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The internal class name field.
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
PublishCustomPriceListCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.HashSet |
getOfferCatentrySet()
Get catentry IDs for custom price list offers used by the DeployPriceListCmd.
|
void |
performExecute()
This method contains the actual business logic of the command.
|
void |
setTCId(java.lang.Long anTCId)
Set Term Condition ID.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public java.util.HashSet getOfferCatentrySet()
getOfferCatentrySet
in interface PublishCustomPriceListCmd
public void performExecute() throws com.ibm.commerce.exception.ECException
performExecute
in interface com.ibm.commerce.command.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
CommandException
- The superclass for all ECExceptions.com.ibm.commerce.exception.ECException
public void setTCId(java.lang.Long anTCId)
setTCId
in interface PublishCustomPriceListCmd
anTCId
- The term condition ID.