public class ModifyRFQCatentryRelCmdImpl extends TaskCommandImpl implements ModifyRFQCatentryRelCmd
Behaviour
Exception conditions
Modifier and Type | Field and Description |
---|---|
java.lang.Long |
catentryId
RFQ Catentry Id.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
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
Quantity.
|
java.lang.Long |
rfqProdId
RFQ Product Id.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ModifyRFQCatentryRelCmdImpl()
CreateRFQCmdImpl constructor comment.
|
Modifier and Type | Method and Description |
---|---|
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. |
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
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
public ModifyRFQCatentryRelCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
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 interface com.ibm.websphere.command.TargetableCommand
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