public class CreateRFQItemCmdImpl extends TaskCommandImpl implements CreateRFQItemCmd
Behaviour
Exception conditions
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
java.lang.Long | itemId
Item Id.
|
java.lang.Integer | languageId
Language Id.
|
java.lang.String | name
Name.
|
java.lang.Long | offeringId
Offering Id.
|
java.lang.Long | ownerId
Owner Id.
|
java.lang.Long | parentProductId
Parent Product Id.
|
java.lang.String | shortDescription
Short Description.
|
Constructor and Description |
---|
CreateRFQItemCmdImpl()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getItemId()
Retrieves the ID of the newly created item.
|
java.lang.Integer | getLanguageId()
Retrieves the language identifier.
|
java.lang.String | getName()
Retrieves the name of the item.
|
java.lang.Long | getOfferingId()
Retrieves the ID of the RFQ.
|
java.lang.Long | getOwnerId()
Retrieves the member ID of the item owner.
|
java.lang.Long | getParentProductId()
Retrieves the ID of the parent product.
|
java.lang.String | getShortDescription()
Retrieves the short description for the item.
|
void | performExecute()
Creates the RFQ catalog entry relationship.
|
void | reset()
Reset the command.
|
void | setItemId(java.lang.Long newItemId)
Stores the ID of the newly created item.
|
void | setLanguageId(java.lang.Integer newLanguageId)
Stores the language identifier.
|
void | setName(java.lang.String newName)
Stores the item name.
|
void | setOfferingId(java.lang.Long newOfferingId)
Stores the RFQ ID.
|
void | setOwnerId(java.lang.Long newOwnerId)
Stores the ID of the item owner.
|
void | setParentProductId(java.lang.Long newParentProductId)
Stores the ID of the parent catalog entry under which this item has been created.
|
void | setShortDescription(java.lang.String newShortDescription)
Stores a brief description of the item.
|
void | validateParameters()
This method does the following:
Verifies that a name has been provided for the item. Verifies that the RFQ ID has been provided. Verifies that member ID has been provided for the RFQ owner. Verifies that parent product reference number has been provided. Checks if a language identifier has been specified. |
public static final java.lang.String COPYRIGHT
public java.lang.String name
public java.lang.Long offeringId
public java.lang.Long parentProductId
public java.lang.String shortDescription
public java.lang.Long ownerId
public java.lang.Long itemId
public java.lang.Integer languageId
public void reset()
public java.lang.Long getItemId()
public java.lang.Integer getLanguageId()
public java.lang.String getName()
public java.lang.Long getOfferingId()
public java.lang.Long getOwnerId()
public java.lang.Long getParentProductId()
public java.lang.String getShortDescription()
public void performExecute() throws ECException
public void setItemId(java.lang.Long newItemId)
public void setLanguageId(java.lang.Integer newLanguageId)
public void setName(java.lang.String newName)
public void setOfferingId(java.lang.Long newOfferingId)
public void setOwnerId(java.lang.Long newOwnerId)
public void setParentProductId(java.lang.Long newParentProductId)
public void setShortDescription(java.lang.String newShortDescription)
public void validateParameters() throws ECException