public class UpdateXSDContractCmdImpl extends CreateUpdateTradingAgreementBaseCmdImpl implements UpdateXSDContractCmd
Calling commands: ContractSave, ContractUpdate, ContractImportApprovedVersion, ContractImportDraftVersion. The following AccessBeans are used in this default implementation: ContractJDBCHelperAccessBean.addEntryToContractName(String, Long, Integer), ContractAccessBean, TermConditionDescriptionAccessBean, TradingDescriptionAccessBean, ParticipantAccessBean, OrderApprovalTCAccessBean, PriceTCMasterCatalogWithFilteringAccessBean, PriceTCPriceListWithOptionalAdjustmentAccessBean, PriceTCMasterCatalogWithOptionalAdjustmentAccessBean, PriceTCPriceListWithSelectiveAdjustmentAccessBean, ReferralInterfaceTCAccessBean, 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 |
---|
UpdateXSDContractCmdImpl() |
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 | performExecute()
Executes the business logic of this command implementation to update the contract based on the contract element object.
|
void | setContractElement(org.w3c.dom.Element contractElement)
Sets the contract Element object.
|
void | setContractId(java.lang.Long newContractId)
Sets the ID of the contract to update.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.Long getContractId()
public AccessVector getResources() throws ECException
public void performExecute() throws ECException
public void setContractElement(org.w3c.dom.Element contractElement)
public void setContractId(java.lang.Long newContractId)