java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.contract.commands.DeployTCCmdImpl
com.ibm.commerce.price.commands.DeployPriceTCCmdImpl
This DeployPriceTCCmd Task Command Implementation deploys the Price Terms & Conditions defined in a Trading Agreements.
Three types of price Terms&Conditions to be deployed:
the price list id will be stored in BIGINTFIELD1, adjustment in FLOATFIELD1, product set id in INTEGERFIELD1.
the price list id will be stored in BIGINTFIELD1, adjustment in FLAOTFIELD1, product set id in INTEGERFIELD1 and adjustment product set in INTEGERFIELD2.
the price list id will be stored in BIGINTFIELD1, producst set id in INTEGERFIELD1.
This command calls the following TaskCommands:
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.contract.commands.DeployTCCmdImpl |
abTC, CLASSNAME |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.price.commands.DeployPriceTCCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
DeployPriceTCCmdImpl() ContractCreateCommand constructor comment. |
Method Summary | |
java.lang.String | createPriceListProductSetXML(java.lang.Long priceListId) If the product set DTD or XML is changed, customer need to overwrite this method |
java.lang.String | createPriceListXML(java.lang.Long priceListId, boolean saveFlag) If the price list DTD or XML is change, customer need to overwrite this method |
void | deployCustomPriceList() Deploys PriceTCCustomPriceList: the price list id will be stored in BIGINTFIELD1, producst set id in INTEGERFIELD1. |
void | deployPriceListWOptAdj() Deploys PriceTCPriceListWithOptionalAdjustment: the price list id will be stored in BIGINTFIELD1, adjustment in FLOATFIELD1, product set id in INTEGERFIELD1. |
void | deployPriceListWSelAdj() Deploys PriceTCPriceListWithSelectiveAdjustment: the price list id will be stored in BIGINTFIELD1, adjustment in FLOATFIELD1, product set id in INTEGERFIELD1 and adjustment product set in INTEGERFIELD2. |
void | performExecute() Execute the command. |
void | setTermCondition(TermConditionAccessBean aTCAB) Sets the Term&Condition Access Bean to be deployed. |
void | setXMLFlag(boolean aXMLFlag) Sets the indicator for XML creation (not being used). |
Methods inherited from class com.ibm.commerce.contract.commands.DeployTCCmdImpl |
getTargetStoreId, setTargetStoreId |
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.contract.commands.DeployTCCmd |
getTargetStoreId, setTargetStoreId |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public DeployPriceTCCmdImpl()
Method Detail |
public java.lang.String createPriceListProductSetXML(java.lang.Long priceListId) throws ECException, java.sql.SQLException
public java.lang.String createPriceListXML(java.lang.Long priceListId, boolean saveFlag) throws ECException, java.sql.SQLException
public void deployCustomPriceList() throws ECException, java.sql.SQLException
public void deployPriceListWOptAdj() throws ECException
public void deployPriceListWSelAdj() throws ECException
public void performExecute() throws ECException
public void setTermCondition(TermConditionAccessBean aTCAB)
public void setXMLFlag(boolean aXMLFlag)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.