java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.utf.commands.ModifyRFQCatentryRelCmdImpl
Updates the relationship between a catalog entry and the RFQ.
Behaviour
Exception conditions
RFQProdAccessBean
RFQAccessBean
Field Summary | |
---|---|
java.lang.Long |
catentryId RFQ Catentry Id. |
java.lang.String |
currency Currency. |
java.lang.Long |
offeringId RFQ Offering Id. |
java.math.BigDecimal |
price Price. |
java.lang.String |
qtyunit Quantity of Unit Measurement. |
java.lang.Double |
quantity Qunatity. |
java.lang.Long |
rfqProdId RFQ Product Id. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.utf.commands. ModifyRFQCatentryRelCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
ModifyRFQCatentryRelCmdImpl() CreateRFQCmdImpl constructor comment. |
Method Summary | |
---|---|
java.lang.Long |
getCatentryId() Retrieves the catalog entry ID. |
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 |
getRfqProdId() Gets the rfqProdId |
void |
performExecute()
Updates the RFQ catalog entry relationship. |
void |
reset() Reset the command. |
void |
setCatentryId(java.lang.Long newCatentryId) Stores the catalog entry ID. |
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 |
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 |
setRfqProdId(java.lang.Long rfqProdId) Sets the rfqProdId |
void |
validateParameters()
This method does the following:
Verifies that an RFQ Id has been provided. Verifies that a catalog entry ID
has been provided. Verifies that an RFQ with the provided ID
exists. |
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 rfqProdId
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
Constructor Detail |
---|
public ModifyRFQCatentryRelCmdImpl()
Method Detail |
---|
public void reset()
reset
in class
AbstractECTargetableCommand
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
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECApplicationException
- If an application error occurs while
updating the RFQ.
ECSystemException
- If a system error occurs while updating the
RFQECException
ECCommand#performExecute()
public void setCatentryId(java.lang.Long newCatentryId)
setCatentryId
in interface
ModifyRFQCatentryRelCmd
newCatentryId
- The catalog entry ID.public void setCurrency(java.lang.String newCurrency)
setCurrency
in interface
ModifyRFQCatentryRelCmd
newCurrency
- The currency.public void setOfferingId(java.lang.Long newOfferingId)
setOfferingId
in interface
ModifyRFQCatentryRelCmd
newOfferingId
- The ID of the RFQ.public void setPrice(java.lang.String newPrice)
setPrice
in interface
ModifyRFQCatentryRelCmd
newPrice
- The price of the catalog entry.public void setPrice(java.math.BigDecimal newPrice)
newPrice
- The price of the catalog entry.public void setQtyunit(java.lang.String newQtyunit)
setQtyunit
in interface
ModifyRFQCatentryRelCmd
newQtyunit
- The quantity unit.public void setQuantity(java.lang.Double newQuantity)
newQuantity
- The requested quantity.public void setQuantity(java.lang.String newQuantity)
setQuantity
in interface
ModifyRFQCatentryRelCmd
newQuantity
- The requested quantity.public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECApplicationException
-
ECException
ECCommand#validateParameters()
public java.lang.Long getRfqProdId()
public void setRfqProdId(java.lang.Long rfqProdId)
rfqProdId
- The rfqProdId to set