|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.command.AbstractECCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.utf.commands.ModifyRFQCatentryRelCmdImpl
Updates the relationship between a catalog entry and the RFQ.
Behaviour
Exception conditions
Field Summary | |
java.lang.Long |
catentryId
|
java.lang.String |
currency
|
java.lang.Long |
offeringId
|
java.math.BigDecimal |
price
|
java.lang.String |
qtyunit
|
java.lang.Double |
quantity
|
Fields inherited from class com.ibm.commerce.command.AbstractECCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.utf.commands.ModifyRFQCatentryRelCmd |
COPYRIGHT, defaultCommandClassName, NAME |
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. |
void |
performExecute()
Updates the RFQ catalog entry relationship. |
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 |
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.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, 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.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Field Detail |
public java.lang.Long catentryId
public java.lang.String currency
public java.lang.Long offeringId
public java.math.BigDecimal price
public java.lang.String qtyunit
public java.lang.Double quantity
Constructor Detail |
public ModifyRFQCatentryRelCmdImpl()
Method Detail |
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 AbstractECCommand
ECApplicationException
- If an application error occurs while updating the RFQ.ECSystemException
- If a system error occurs while updating the RFQ.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.math.BigDecimal newPrice)
newPrice
- The price of the catalog entry.public void setPrice(java.lang.String newPrice)
setPrice
in interface ModifyRFQCatentryRelCmd
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 AbstractECCommand
ECApplicationException
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |