java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.contract.commands.UpdateContractCmdImpl
Update a contract based on the given Contract element (WebSphere Commerce Business Edition only). Calling commands: ContractUpdate, ImportDTDContractApprovedVersionCmd, ImportDTDContractDraftVersionCmd The following AccessBeans are used in this default implemention: ContractJDBCHelperAccessBean.addEntryToContractName(String, Long, Integer), ContractAccessBean, TermConditionDescriptionAccessBean, TradingDescriptionAccessBean, ParticipantAccessBean, OrderApprovalTCAccessBean, PriceTCPriceListWithSelectiveAdjustmentAccessBean, PriceTCPriceListWithOptionalAdjustmentAccessBean, PriceTCMasterCatalogWithOptionalAdjustmentAccessBean, FulfillmentTCAccessBean, ObligationToBuyTCByAmountAccessBean, PaymentTCAccessBean, OrderTCOrderCommentAccessBean, OrderTCOrderItemPAttributeAccessBean, PriceTCCustomPriceListAccessBean, ProductSetTCCustomExclusionAccessBean, ProductSetTCCustomInclusionAccessBean, ProductSetTCExclusionAccessBean, ProductSetTCInclusionAccessBean, ReturnTCRefundPaymentMethodAccessBean, ReturnTCReturnChargeAccessBean, RightToBuyTCByAmountAccessBean, ShippingTCShipToAddressAccessBean, ShippingTCShippingChargeAccessBean, ShippingTCShippingModeAccessBean, TradingAgreementAccessBean, OrganizationAccessBean, UserAccessBean, MemberGroupAccessBean.
Field Summary | |
static java.lang.String | CLASSNAME The name of this command. |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.contract.commands.UpdateContractCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
UpdateContractCmdImpl() Constructor for UpdateContractCmdImpl. |
Method Summary | |
java.lang.Long | getContractId() Returns id of the updated contract. |
AccessVector | getResources() Gets the access vector accessed by this command. |
void | parseXMLDocument() Parses the contract XML document. |
void | performExecute() Updates the contract based on the contract Element object. |
void | setContractDescriptionElement(org.w3c.dom.Element cntrDescElement) Sets the contract description Element object. |
void | setContractElement(org.w3c.dom.Element contractElement) Sets the contract Element object. |
void | setContractId(java.lang.Long contractId) Sets the ID of the contract. |
void | setTermConditionId(java.lang.Long tcId) Sets the ID of the term and condition |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, 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 UpdateContractCmdImpl()
Method Detail |
public java.lang.Long getContractId()
public AccessVector getResources() throws ECException
public void parseXMLDocument()
public void performExecute() throws ECException
public void setContractDescriptionElement(org.w3c.dom.Element cntrDescElement)
public void setContractElement(org.w3c.dom.Element contractElement)
public void setContractId(java.lang.Long contractId)
public void setTermConditionId(java.lang.Long tcId)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.