public class RFQModifyCmdImpl extends OfferingBaseCmdImpl implements RFQModifyCmd
This command calls the following TaskCommands:
This command uses the following AccessBeans/DataBeans:Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
boolean | emptyProductList
Empty Product List Flag.
|
boolean | emptyTCList
Empty Product T&C Flag.
|
java.util.Vector | originalProducts
Original Product List Vector.
|
Constructor and Description |
---|
RFQModifyCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long | createItem(java.lang.String itemname, java.lang.String shortdesc, java.lang.Long productid)
Calls the CreateRFQItemCmd task command to create a new item in the catalog.
|
void | createRFQCatentryRel(java.lang.Long catentryId, java.math.BigDecimal price, java.lang.Double quantity, java.lang.String currency, java.lang.String quantityUnit, java.lang.Double priceAdjust, java.lang.Integer negotiationType, java.lang.Long customfield1, java.lang.Integer customfield2, java.lang.String customfield3, java.lang.String customfield4)
Creates the association between an item and the RFQ .
|
void | deleteRFQCatentryRel()
Calls the DeleteRFQCatentryRelCmd to delete the associations between the RFQ and one or more items.
|
java.lang.String | determineCatentryType(java.lang.Long catentryId)
Determines the type of a given catalog entry.
|
void | doAcknowledgment()
Composes and sends out the response to the browser
|
java.util.Vector | getOriginalProducts()
Returns a vector of identifiers of catalog entries that the RFQ buyer had picked.
|
boolean | isEmptyProductList()
Returns true if the product list is empty, else returns false.
|
boolean | isEmptyTCList()
Returns true if the term-condition list is empty, else returns false.
|
void | modifyBasicOffering()
Calls the ModifyRFQBasicInfoCmd task command to update RFQ information.
|
void | performExecute()
Modifies the RFQ.
|
void | processProductAttributes()
Processes standard and personalized attributes for each item in the RFQ.
|
void | processProductComments()
Processes freeform comments for each item in the RFQ.
|
void | processTCs()
Processes freeform comments for the RFQ.
|
void | setEmptyProductList(boolean newEmptyProductList)
Sets a member variable to the incoming boolean value.
|
void | setEmptyProductListFromUrl(java.lang.String s, boolean isReq)
Sets a member variable to the incoming boolean value from the request.
|
void | setEmptyTCList(boolean newEmptyTCList)
Sets a member variable to the incoming boolean value.
|
void | setEmptyTCListFromUrl(java.lang.String s, boolean isReq)
Sets a member variable to the incoming boolean value from the request.
|
void | setOriginalProducts(java.util.Vector OriginalProducts)
Sets a member variable to the incoming vector of catalog entry IDs.
|
void | updateCatentryIdInAllVectors(java.lang.Long originalProductId, java.lang.Long itemId)
Replaces the occurrence of the first parameter originalProductId with the second parameter itemId in three lists : the product list, the product comments list and the product attributes list.
When the buyer selects a product and associates it with the RFQ, it causes an item to be created under the covers. |
void | validateParameters()
Checks for validity of incoming parameters.
|
public static final java.lang.String COPYRIGHT
public java.util.Vector originalProducts
public boolean emptyProductList
public boolean emptyTCList
public java.lang.Long createItem(java.lang.String itemname, java.lang.String shortdesc, java.lang.Long productid) throws ECException
public void createRFQCatentryRel(java.lang.Long catentryId, java.math.BigDecimal price, java.lang.Double quantity, java.lang.String currency, java.lang.String quantityUnit, java.lang.Double priceAdjust, java.lang.Integer negotiationType, java.lang.Long customfield1, java.lang.Integer customfield2, java.lang.String customfield3, java.lang.String customfield4) throws ECException
Behavior:
public void deleteRFQCatentryRel() throws ECException
Behavior:
public java.lang.String determineCatentryType(java.lang.Long catentryId) throws ECException
public void doAcknowledgment() throws ECException
public java.util.Vector getOriginalProducts()
public boolean isEmptyProductList()
public boolean isEmptyTCList()
public void modifyBasicOffering() throws ECException
public void performExecute() throws ECException
public void processProductAttributes() throws ECException
public void processProductComments() throws ECException
public void processTCs() throws ECException
public void setEmptyProductList(boolean newEmptyProductList)
public void setEmptyProductListFromUrl(java.lang.String s, boolean isReq)
public void setEmptyTCList(boolean newEmptyTCList)
public void setEmptyTCListFromUrl(java.lang.String s, boolean isReq)
public void setOriginalProducts(java.util.Vector OriginalProducts)
public void updateCatentryIdInAllVectors(java.lang.Long originalProductId, java.lang.Long itemId) throws ECException
public void validateParameters() throws ECException