public class UpdateContractCmdImpl extends TaskCommandImpl implements UpdateContractCmd
The following AccessBeans are used in this default implementation: 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.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The full name of this class.
|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
Constructor and Description |
---|
UpdateContractCmdImpl()
Constructor for UpdateContractCmdImpl.
|
Modifier and Type | Method and Description |
---|---|
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()
Executes the business logic of this command implementation to update 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
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public UpdateContractCmdImpl()
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)