public interface OrderItemAddCmd extends ControllerCommand
This command accepts enumeration type of parameters. That is, it accepts parameterName_i=parameterValue.
For example, to add three order items with the catalog entries id 15, 16, and 17, you can pass catEntryId_1=15&catEntryId_2=16&catEntryId_3=17 to the command. If you call the individual set method setCatEntryId(Hashtable) to pass the above parameters. You need to create a hashtable and add the following to the hashtable:
hashtable.put(new Integer(1), new String("15")); hashtable.put(new Integer(2), new String("16")); hashtable.put(new Integer(3), new String("17"));Behavior
Modifier and Type | Field and Description |
---|---|
static java.lang.String | badPartNumberErrorView
The parameter badPartNumberErrorView.
|
static java.lang.String | badPartNumberList
The parameter badPartNumberList.
|
static java.lang.String | badPartNumberQuantityList
The parameter badPartNumberQuantityList.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | defaultCommandClassName
The default implementation class.
|
static java.lang.String | goodPartNumberList
The parameter goodPartNumberList.
|
static java.lang.String | goodPartNumberQuantityList
The parameter goodPartNumberQuantityList.
|
static java.lang.String | multiplePartNumberCatalogEntriesList
The parameter multiplePartNumberCatalogEntriesList.
|
static java.lang.String | multiplePartNumberList
The parameter multiplePartNumberList.
|
static java.lang.String | multiplePartNumberQuantityList
The parameter multiplePartNumberQuantityList.
|
static java.lang.String | NAME
The name of the Command Interface class.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector | getNonBuyableCatentryIds()
Returns a vector contains the identifiers of CatalogEntries that are non buyable in OrderItem.
|
java.lang.String[] | getOrderIds()
Return a list of order ids which are touched or created by the command.
|
java.lang.String[] | getOrderItemIds()
Return a list of order item ids which are created or updated by the command.
|
void | setAddressId(java.util.Hashtable ahshAddress_id)
Set the address id parameters (optional).
|
void | setAttrName(java.util.Hashtable ahshAttr_name)
Set the attribute name parameters (optional).
|
void | setAttrValue(java.util.Hashtable ahshAttr_value)
Set the attribute value parameters (optional).
|
void | setCatEntryId(java.util.Hashtable ahshCatentry_id)
Set the attribute name parameters.
|
void | setComment(java.util.Hashtable ahshComment)
Set the comment parameters (optional).
|
void | setConfigurationId(java.util.Hashtable ahshConfigurationId)
Set the configurationId parameters (optional).
|
void | setContinue(java.lang.String aContinue)
Set the continue parameter (optional).
|
void | setContractId(java.util.Hashtable ahshContract_id)
Set the contract id parameters (optional).
|
void | setCorrelationGroup(java.util.Hashtable ahshCorrelationGroup)
Set the correlation group parameters.
|
void | setDescription(java.util.Hashtable ahshDescription)
Set the description parameters (optional).
|
void | setExpandConfigurationId(java.util.Hashtable ahshExpandConfigurationId)
Set the expandConfigurationId parameter.
|
void | setField1(java.util.Hashtable ahshField1)
Set the field1 parameters (optional).
|
void | setField2(java.util.Hashtable ahshField2)
Set the field2 parameters (optional).
|
void | setFulfillmentCenterId(java.util.Hashtable ahshFulfillmentCenter_id)
Set the Fulfillment Center id parameters (optional).
|
void | setListId(java.lang.String[] aList_id)
Set the interest item list id parameters (optional).
|
void | setMemberId(java.util.Hashtable ahshMember_id)
Set the member id parameters (optional).
|
void | setOfferId(java.util.Hashtable ahshOffer_id)
Set the offer id parameters (optional).
|
void | setOrderComment(java.lang.String aOrderComment)
Set the Order comment parameter (optional).
|
void | setOrderDesc(java.lang.String aOrder_desc)
Set the Order description parameter (optional).
|
void | setOrderId(java.lang.String[] aOrder_id)
Set the order id parameters (optional).
|
void | setOutOrderItemName(java.lang.String[] aOut_orderitem_name)
Set the out order item name parameters (optional).
|
void | setOutOrderName(java.lang.String[] aarrOutOrderName)
Set the out order name parameters (optional).
|
void | setPartNumber(java.util.Hashtable ahshPart_number)
Set the part number parameters (optional).
|
void | setQuantity(java.util.Hashtable ahshQuantity)
Set the quantity parameters (mandatory).
|
void | setShipmodeId(java.util.Hashtable ahshShipmode_id)
Set the ship mode id parameters (optional).
|
void | setTradingId(java.util.Hashtable ahshTrading_id)
Set the trading id parameters (optional).
|
void | setUom(java.util.Hashtable ahshUom)
Set the unit of measure parameters (optional).
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
static final java.lang.String badPartNumberList
static final java.lang.String goodPartNumberList
static final java.lang.String badPartNumberQuantityList
static final java.lang.String goodPartNumberQuantityList
static final java.lang.String multiplePartNumberList
static final java.lang.String multiplePartNumberQuantityList
static final java.lang.String multiplePartNumberCatalogEntriesList
static final java.lang.String badPartNumberErrorView
java.lang.String[] getOrderIds()
java.lang.String[] getOrderItemIds()
java.util.Vector getNonBuyableCatentryIds()
void setAddressId(java.util.Hashtable ahshAddress_id)
ahshAddress_id.put(new Integer(1), new String("123")); ahshAddress_id.put(new Integer(2), new String("234"));
void setAttrName(java.util.Hashtable ahshAttr_name)
ahshAttr_name.put(new Integer(1), new String[] {"123", "234"}); ahshAttr_name.put(new Integer(2), new String[] {"123"});
void setAttrValue(java.util.Hashtable ahshAttr_value)
void setCatEntryId(java.util.Hashtable ahshCatentry_id)
void setComment(java.util.Hashtable ahshComment)
void setConfigurationId(java.util.Hashtable ahshConfigurationId)
void setContinue(java.lang.String aContinue)
void setContractId(java.util.Hashtable ahshContract_id)
void setCorrelationGroup(java.util.Hashtable ahshCorrelationGroup)
void setDescription(java.util.Hashtable ahshDescription)
void setExpandConfigurationId(java.util.Hashtable ahshExpandConfigurationId)
void setField1(java.util.Hashtable ahshField1)
void setField2(java.util.Hashtable ahshField2)
void setListId(java.lang.String[] aList_id)
void setMemberId(java.util.Hashtable ahshMember_id)
void setOfferId(java.util.Hashtable ahshOffer_id)
void setOrderComment(java.lang.String aOrderComment)
void setOrderDesc(java.lang.String aOrder_desc)
void setOrderId(java.lang.String[] aOrder_id)
void setOutOrderItemName(java.lang.String[] aOut_orderitem_name)
void setOutOrderName(java.lang.String[] aarrOutOrderName)
void setPartNumber(java.util.Hashtable ahshPart_number)
void setQuantity(java.util.Hashtable ahshQuantity)
void setShipmodeId(java.util.Hashtable ahshShipmode_id)
void setFulfillmentCenterId(java.util.Hashtable ahshFulfillmentCenter_id)
void setTradingId(java.util.Hashtable ahshTrading_id)
void setUom(java.util.Hashtable ahshUom)