java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.contract.tc.commands.ContractTCUpdateCmdImpl
Update a terms and conditons (WebSphere Commerce Business Edition only). the contract which its belongs to has to be in Draft state. The following AccessBeans are used in this default implementation: ContractAccessBean, TermConditionDescriptionAccessBean, ParticipantAccessBean, OrderApprovalTCAccessBean, PriceTCMasterCatalogWithFilteringAccessBean, PriceTCPriceListWithOptionalAdjustmentAccessBean, PriceTCMasterCatalogWithOptionalAdjustmentAccessBean, PriceTCPriceListWithSelectiveAdjustmentAccessBean, ReferralInterfaceTCAccessBean, FulfillmentTCAccessBean, ObligationToBuyTCByAmountAccessBean, PaymentTCAccessBean, OrderTCOrderCommentAccessBean, OrderTCOrderItemPAttributeAccessBean, PriceTCCustomPriceListAccessBean, ProductSetTCCustomExclusionAccessBean, ProductSetTCCustomInclusionAccessBean, ProductSetTCExclusionAccessBean, ProductSetTCInclusionAccessBean, ReturnTCRefundPaymentMethodAccessBean, ReturnTCReturnChargeAccessBean, RightToBuyTCByAmountAccessBean, ShippingTCShipToAddressAccessBean, ShippingTCShippingChargeAccessBean, ShippingTCShippingModeAccessBean
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.ControllerCommandImpl |
requestProperties, responseProperties, retriable, viewReqProperties |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.contract.tc.commands.ContractTCUpdateCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
ContractTCUpdateCmdImpl() |
Method Summary | |
org.w3c.dom.Element | getElement() Returns the term condition element. |
AccessVector | getResources() Gets the access vector accessed by this command. |
void | parseXMLElement(org.w3c.dom.Element element) Parses the term and condition element and gets the long description and the short description of the term and condition. |
void | performExecute() The method creates the term and condition . |
void | setElement(org.w3c.dom.Element newElement) Sets term and condition Element object. |
void | setLanguageId(java.lang.Integer langId) Deprecated. |
void | setRequestProperties(TypedProperty aRequestProperties) Retrieves input parameters from the request properties. |
void | setTcLongDescription(java.lang.String newTcLongDescription) Deprecated. |
void | setTcShortDescription(java.lang.String newTcShortDescription) Deprecated. |
void | setTermConditionId(java.lang.Long tcId) Deprecated. |
void | setXMLEntityPath(java.lang.String path) Sets the XML entity path. |
void | validateParameters() Checks if the contract object exists. |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
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 |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
Constructor Detail |
public ContractTCUpdateCmdImpl()
Method Detail |
public org.w3c.dom.Element getElement()
public AccessVector getResources() throws ECException
public void parseXMLElement(org.w3c.dom.Element element)
public void performExecute() throws ECException
public void setElement(org.w3c.dom.Element newElement)
public void setLanguageId(java.lang.Integer langId)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public void setTcLongDescription(java.lang.String newTcLongDescription)
public void setTcShortDescription(java.lang.String newTcShortDescription)
public void setTermConditionId(java.lang.Long tcId)
public void setXMLEntityPath(java.lang.String path)
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.