public class UpdateRFQCatentryRelCmdImpl extends TaskCommandImpl implements UpdateRFQCatentryRelCmd
This is the default implementation of the UpdateRFQCatentryRelCmd. This command uses the following AccessBeans:
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
UpdateRFQCatentryRelCmdImpl()
Constructs a new UpdateRFQCatentryRelCmdImpl class instances.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getCategoryId()
Retrieves the category ID.
|
java.lang.Integer |
getChangeable()
Gets the changeable
|
java.lang.String |
getCurrency()
Retrieves the currency.
|
java.lang.Long |
getCustomField1()
Returns the custom field1 value.
|
java.lang.Integer |
getCustomField2()
Returns the custom field2 value.
|
java.lang.String |
getCustomField3()
Returns the custom field3 value.
|
java.lang.String |
getCustomField4()
Returns the custom field4 value.
|
java.lang.Integer |
getNegotiationType()
Gets the negotiation type
|
java.lang.Long |
getOfferingId()
Retrieves the RFQ ID.
|
java.math.BigDecimal |
getPrice()
Retrieves the quoted price for the catalog entry.
|
java.lang.String |
getPriceAdjustment()
Gets the priceAdjustment
|
java.lang.String |
getProdName()
Returns the productName.
|
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 rfqProductId
|
void |
performExecute()
Updates the RFQ catalog entry relationship.
|
void |
reset()
Reset the command
|
void |
setCategoryId(java.lang.Long newCategoryId)
Stores the category ID.
|
void |
setChangeable(java.lang.Integer chngeable)
Sets the changeable
|
void |
setCurrency(java.lang.String newCurrency)
Stores the currency.
|
void |
setCustomField1(java.lang.Long newCustomField1)
Stores the incoming custom field1 value.
|
void |
setCustomField2(java.lang.Integer newCustomField2)
Stores the incoming custom field2 value.
|
void |
setCustomField3(java.lang.String newCustomField3)
Stores the incoming custom field3 value.
|
void |
setCustomField4(java.lang.String newCustomField4)
Stores the incoming custom field4 value.
|
void |
setNegotiationType(java.lang.Integer nType)
Sets the negotiation type
|
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 |
setPriceAdjustment(java.lang.String priceAdjust)
Sets the priceAdjustment
|
void |
setProdName(java.lang.String productName)
Sets the productName.
|
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 rfqProductId)
Sets the rfqProductId
|
void |
validateParameters()
This method does the following:
Verifies that an RFQ Id (offeringId) has been provided. Verifies that an RFQ Product Id has been provided. |
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public UpdateRFQCatentryRelCmdImpl()
public void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic java.lang.Long getCategoryId()
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 ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECSystemException - If a system error occurs while updating the relationship.ECException.ECExceptionECCommand#performExecute()public void setCategoryId(java.lang.Long newCategoryId)
setCategoryId in interface UpdateRFQCatentryRelCmdnewCategoryId - The category ID.public void setCurrency(java.lang.String newCurrency)
setCurrency in interface UpdateRFQCatentryRelCmdnewCurrency - The currency.public void setOfferingId(java.lang.Long newOfferingId)
setOfferingId in interface UpdateRFQCatentryRelCmdnewOfferingid - The ID of the RFQ.public void setPrice(java.lang.String newPrice)
setPrice in interface UpdateRFQCatentryRelCmdnewPrice - 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 UpdateRFQCatentryRelCmdnewQtyunit - The quantity unit.public void setQuantity(java.lang.Double newQuantity)
newQuantity - The requested quantity.public void setQuantity(java.lang.String newQuantity)
setQuantity in interface UpdateRFQCatentryRelCmdnewQuantity - The requested quantity.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECApplicationException - ECExceptionECCommand#validateParameters()public java.lang.Long getRfqProdId()
public java.lang.String getPriceAdjustment()
public void setRfqProdId(java.lang.Long rfqProductId)
setRfqProdId in interface UpdateRFQCatentryRelCmdrfqProductId - The rfqProductId to setpublic java.lang.Integer getChangeable()
public java.lang.Integer getNegotiationType()
public void setChangeable(java.lang.Integer chngeable)
setChangeable in interface UpdateRFQCatentryRelCmdchangeable - The changeable to setpublic void setNegotiationType(java.lang.Integer nType)
setNegotiationType in interface UpdateRFQCatentryRelCmdnType - The negotiation type to setpublic java.lang.String getProdName()
public void setProdName(java.lang.String productName)
setProdName in interface UpdateRFQCatentryRelCmdproductName - The prodName to setpublic void setPriceAdjustment(java.lang.String priceAdjust)
setPriceAdjustment in interface UpdateRFQCatentryRelCmdpriceAdjust - The priceAdjustment to setpublic void setCustomField1(java.lang.Long newCustomField1)
setCustomField1 in interface UpdateRFQCatentryRelCmdnewCustomField1 - The custom field1 value.public void setCustomField2(java.lang.Integer newCustomField2)
setCustomField2 in interface UpdateRFQCatentryRelCmdnewCustomField2 - The custom field2 value.public void setCustomField3(java.lang.String newCustomField3)
setCustomField3 in interface UpdateRFQCatentryRelCmdnewCustomField3 - The custom field3 value.public void setCustomField4(java.lang.String newCustomField4)
setCustomField4 in interface UpdateRFQCatentryRelCmdnewCustomField4 - The custom field4 value.public java.lang.Long getCustomField1()
public java.lang.Integer getCustomField2()
public java.lang.String getCustomField3()
public java.lang.String getCustomField4()