java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.contract.commands.CreateContractCmdImpl
Create a contract based on the given Contract element (WebSphere Commerce Business Edition only). Calling commands: ContractCreate, 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.CreateContractCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
CreateContractCmdImpl() Constructor for CreateContractCmdImpl. |
Method Summary | |
org.w3c.dom.Element | getContractDescriptionElement() Deprecated. |
java.lang.Long | getContractId() Returns ID of the new created contract. |
AccessVector | getResources() Gets the access vector accessed by this command. |
void | parseXMLDocument() Parses the contract XML document. |
void | performExecute() Creates the contract based on the contract Element object. |
void | setContractDescriptionElement(org.w3c.dom.Element newContractDescriptionElement) Sets the contract description Element object. |
void | setContractElement(org.w3c.dom.Element contractElement) Sets the contract Element object. |
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 CreateContractCmdImpl()
Method Detail |
public org.w3c.dom.Element getContractDescriptionElement()
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 newContractDescriptionElement)
public void setContractElement(org.w3c.dom.Element contractElement)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.