java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.utf.commands.CreateRFQCatentryRelCmdImpl
Creates the relationship between a catalog entry or a made to order item and the RFQ.
Behaviour
Exception conditions
Field Summary | |
java.lang.Long | catentryId Catentry Id. |
java.lang.Integer | changeable Changeable integer. |
java.lang.String | currency Currency. |
java.lang.Long | offeringId Offering Id. |
java.math.BigDecimal | price Price. |
java.lang.String | qtyunit Quantity Unit of Measurement. |
java.lang.Double | quantity Quantity. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.utf.commands.CreateRFQCatentryRelCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
CreateRFQCatentryRelCmdImpl() Default Constructor. |
Method Summary | |
java.lang.Long | getCatentryId() Retrieves the catalog entry ID. |
java.lang.Integer | getChangeable() Returns the changeable. |
java.lang.String | getCurrency() Retrieves the currency. |
java.lang.Long | getOfferingId() Retrieves the RFQ ID. |
java.math.BigDecimal | getPrice() Retrieves the quoted price for the catalog entry. |
java.lang.String | getQtyunit() Retrieves the quantity unit. |
java.lang.Double | getQuantity() Retrieves the quantity(number of instances) of the catalog entry that has been requested. |
java.lang.Long | getRFQProductId() Gets the new RFQ product ID. |
void | performExecute() Creates the RFQ catalog entry relationship. |
void | reset() Reset the command |
void | setCategoryId(java.lang.Long newCategoryid) Stores the category ID. |
void | setCatentryId(java.lang.Long newCatentryId) Stores the catalog entry ID. |
void | setChangeable(java.lang.Integer changeable) Sets the changeable. |
void | setCurrency(java.lang.String newCurrency) Stores the currency. |
void | setOfferingId(java.lang.Long newOfferingId) Stores the RFQ ID. |
void | setPrice(java.math.BigDecimal newPrice) Stores the price quoted for the catalog entry. |
void | setPrice(java.lang.String newPrice) Stores the price quoted for the catalog entry. |
void | setProductName(java.lang.String productName) Sets the product name. |
void | setQtyunit(java.lang.String newQtyunit) Stores the quantity unit. |
void | setQuantity(java.lang.Double newQuantity) Stores the requested quantity |
void | setQuantity(java.lang.String newQuantity) Stores the requested quantity |
void | validateParameters() This method does the following: Verifies that an RFQ Id has been provided. Verifies that a catalog entry ID has been provided. |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.Long offeringId
public java.lang.Long catentryId
public java.math.BigDecimal price
public java.lang.Double quantity
public java.lang.String currency
public java.lang.String qtyunit
public java.lang.Integer changeable
Constructor Detail |
public CreateRFQCatentryRelCmdImpl()
Method Detail |
public void reset()
public java.lang.Long getCatentryId()
public java.lang.String getCurrency()
public java.lang.Long getOfferingId()
public java.math.BigDecimal getPrice()
public java.lang.String getQtyunit()
public java.lang.Double getQuantity()
public void performExecute() throws ECException
public void setCatentryId(java.lang.Long newCatentryId)
public void setCategoryId(java.lang.Long newCategoryid)
public void setCurrency(java.lang.String newCurrency)
public void setOfferingId(java.lang.Long newOfferingId)
public void setPrice(java.lang.String newPrice)
public void setPrice(java.math.BigDecimal newPrice)
public void setQtyunit(java.lang.String newQtyunit)
public void setQuantity(java.lang.Double newQuantity)
public void setQuantity(java.lang.String newQuantity)
public void validateParameters() throws ECException
public void setProductName(java.lang.String productName)
public java.lang.Long getRFQProductId()
public java.lang.Integer getChangeable()
public void setChangeable(java.lang.Integer changeable)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.