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, 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 UpdateRFQCatentryRelCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public 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 ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECSystemException
- If a system error occurs while updating the relationship.ECException.
ECException
ECCommand#performExecute()
public void setCategoryId(java.lang.Long newCategoryId)
setCategoryId
in interface UpdateRFQCatentryRelCmd
newCategoryId
- The category ID.public void setCurrency(java.lang.String newCurrency)
setCurrency
in interface UpdateRFQCatentryRelCmd
newCurrency
- The currency.public void setOfferingId(java.lang.Long newOfferingId)
setOfferingId
in interface UpdateRFQCatentryRelCmd
newOfferingid
- The ID of the RFQ.public void setPrice(java.lang.String newPrice)
setPrice
in interface UpdateRFQCatentryRelCmd
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 UpdateRFQCatentryRelCmd
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 UpdateRFQCatentryRelCmd
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 java.lang.String getPriceAdjustment()
public void setRfqProdId(java.lang.Long rfqProductId)
setRfqProdId
in interface UpdateRFQCatentryRelCmd
rfqProductId
- The rfqProductId to setpublic java.lang.Integer getChangeable()
public java.lang.Integer getNegotiationType()
public void setChangeable(java.lang.Integer chngeable)
setChangeable
in interface UpdateRFQCatentryRelCmd
changeable
- The changeable to setpublic void setNegotiationType(java.lang.Integer nType)
setNegotiationType
in interface UpdateRFQCatentryRelCmd
nType
- The negotiation type to setpublic java.lang.String getProdName()
public void setProdName(java.lang.String productName)
setProdName
in interface UpdateRFQCatentryRelCmd
productName
- The prodName to setpublic void setPriceAdjustment(java.lang.String priceAdjust)
setPriceAdjustment
in interface UpdateRFQCatentryRelCmd
priceAdjust
- The priceAdjustment to setpublic void setCustomField1(java.lang.Long newCustomField1)
setCustomField1
in interface UpdateRFQCatentryRelCmd
newCustomField1
- The custom field1 value.public void setCustomField2(java.lang.Integer newCustomField2)
setCustomField2
in interface UpdateRFQCatentryRelCmd
newCustomField2
- The custom field2 value.public void setCustomField3(java.lang.String newCustomField3)
setCustomField3
in interface UpdateRFQCatentryRelCmd
newCustomField3
- The custom field3 value.public void setCustomField4(java.lang.String newCustomField4)
setCustomField4
in interface UpdateRFQCatentryRelCmd
newCustomField4
- The custom field4 value.public java.lang.Long getCustomField1()
public java.lang.Integer getCustomField2()
public java.lang.String getCustomField3()
public java.lang.String getCustomField4()