public class CreateRFQCatentryRelCmdImpl extends TaskCommandImpl implements CreateRFQCatentryRelCmd
Behaviour
Exception conditions
| Modifier and Type | Field and Description |
|---|---|
java.lang.Long |
catentryId
Catentry Id.
|
java.lang.Integer |
changeable
Changeable integer.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
java.lang.String |
currency
Currency.
|
java.lang.Long |
customfield1
Custom field1
|
java.lang.Integer |
customfield2
Custom field2
|
java.lang.String |
customfield3
Custom field3
|
java.lang.String |
customfield4
Custom field4
|
java.lang.Integer |
negotiationType
Negotiation Type.
|
java.lang.Long |
offeringId
Offering Id.
|
java.math.BigDecimal |
price
Price.
|
java.lang.Double |
priceAdjustment
Price Adjustment.
|
java.lang.String |
qtyunit
Quantity Unit of Measurement.
|
java.lang.Double |
quantity
Quantity.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
CreateRFQCatentryRelCmdImpl()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getCatentryId()
Retrieves the catalog entry ID.
|
java.lang.Integer |
getChangeable()
Returns 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 |
getNegotationType()
Returns 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.Double |
getPriceAdjustment()
Retrieves the price adjustment.
|
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 |
getRFQProductId()
Gets the new RFQ product ID.
|
void |
performExecute()
Creates the RFQ catalog entry relationship.
|
void |
reset()
Reset the command
|
void |
setCategoryId(java.lang.Long newCategoryid)
Stores the category ID.
|
void |
setCatentryId(java.lang.Long newCatentryId)
Stores the catalog entry ID.
|
void |
setChangeable(java.lang.Integer changeable)
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 negotiationType)
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.Double newPriceAdjustment)
Stores the requested price adjustment
|
void |
setProductName(java.lang.String productName)
Sets the product name.
|
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. |
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 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 java.lang.Double priceAdjustment
public java.lang.Integer negotiationType
public java.lang.Integer changeable
public java.lang.Long customfield1
public java.lang.Integer customfield2
public java.lang.String customfield3
public java.lang.String customfield4
public CreateRFQCatentryRelCmdImpl()
public void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic 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 java.lang.Double getPriceAdjustment()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECApplicationException - If an application error occurs while creating the RFQ.ECSystemException - If a system error occurs while creating the RFQ.ECExceptionECCommand#performExecute()public void setCatentryId(java.lang.Long newCatentryId)
setCatentryId in interface CreateRFQCatentryRelCmdnewCatentryid - The catalog entry ID.public void setCategoryId(java.lang.Long newCategoryid)
setCategoryId in interface CreateRFQCatentryRelCmdnewCategoryid - The category ID.public void setCurrency(java.lang.String newCurrency)
setCurrency in interface CreateRFQCatentryRelCmdnewCurrency - The currency.public void setOfferingId(java.lang.Long newOfferingId)
setOfferingId in interface CreateRFQCatentryRelCmdnewOfferingid - The ID of the RFQ.public void setPrice(java.lang.String newPrice)
setPrice in interface CreateRFQCatentryRelCmdnewPrice - 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 CreateRFQCatentryRelCmdnewQtyunit - The quantity unit.public void setQuantity(java.lang.Double newQuantity)
newQuantity - The requested quantity.public void setPriceAdjustment(java.lang.Double newPriceAdjustment)
setPriceAdjustment in interface CreateRFQCatentryRelCmdnewPriceAdjustment - The requested price adjustment.public void setQuantity(java.lang.String newQuantity)
setQuantity in interface CreateRFQCatentryRelCmdnewQuantity - The requested quantity.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECApplicationException - ECExceptionECCommand#validateParameters()public void setProductName(java.lang.String productName)
setProductName in interface CreateRFQCatentryRelCmdproductName - The product name.public java.lang.Long getRFQProductId()
getRFQProductId in interface CreateRFQCatentryRelCmdpublic java.lang.Integer getChangeable()
public void setChangeable(java.lang.Integer changeable)
setChangeable in interface CreateRFQCatentryRelCmdchangeable - The changeable to setpublic java.lang.Integer getNegotationType()
public void setNegotiationType(java.lang.Integer negotiationType)
setNegotiationType in interface CreateRFQCatentryRelCmdnegotiationType - The negotiationType to setpublic void setCustomField1(java.lang.Long newCustomField1)
setCustomField1 in interface CreateRFQCatentryRelCmdnewCustomField1 - The custom field1 value.public void setCustomField2(java.lang.Integer newCustomField2)
setCustomField2 in interface CreateRFQCatentryRelCmdnewCustomField2 - The custom field2 value.public void setCustomField3(java.lang.String newCustomField3)
setCustomField3 in interface CreateRFQCatentryRelCmdnewCustomField3 - The custom field3 value.public void setCustomField4(java.lang.String newCustomField4)
setCustomField4 in interface CreateRFQCatentryRelCmdnewCustomField4 - The custom field4 value.public java.lang.Long getCustomField1()
public java.lang.Integer getCustomField2()
public java.lang.String getCustomField3()
public java.lang.String getCustomField4()