public interface OrderItemUpdateCmd 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 |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The default implementation class.
|
static java.lang.String |
NAME
The name of the Command Interface class.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set |
getDeletedOrderItemIds()
Returns a Set of (String) identifiers of deleted OrderItems.
|
java.util.Hashtable |
getNewOrderItemIds()
Returns the IDs of the newly created OrderItems.
|
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.
|
java.util.Vector |
getOutOfInvItems()
Returns a Vector for all Items (Catalog Entry IDs) that are not available in Inventory
|
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 |
setCompListId(java.util.Hashtable ahshOICompList_id)
Set the compListId 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 |
setOrderItemId(java.util.Hashtable ahshOrderitem_id)
Set the order item ids for which to update.
|
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 (optional).
|
void |
setRequestedShipDate(java.util.Hashtable ahshRequestedShipDate)
Set the RequestedShipDate parameters(optional).
|
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).
|
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
java.lang.String[] getOrderIds()
java.lang.String[] getOrderItemIds()
void setAddressId(java.util.Hashtable ahshAddress_id)
ahshAddress_id
- Contains a list of address ids. The key is the enumeration group (Integer)
and the value is the address id (String). For example, if you have input parameters: addressId_1=123&addressId=234,
the hashtable can be constructed by:
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
- Contains a list of attribute names. The key is the enumeration group (Integer)
and the value is the attribute name (String[]). For example, if you have input parameters:
attrName_1=123&attrName_1=234&attrName_2=123,
the hashtable can be constructed by:
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)
ahshAttr_value
- a list of attribute values.void setCatEntryId(java.util.Hashtable ahshCatentry_id)
ahshCatentry_id
- a list of catalog entry ids.void setComment(java.util.Hashtable ahshComment)
ahshComment
- a list of commentsvoid setConfigurationId(java.util.Hashtable ahshConfigurationId)
ahshConfigurationId
- a list of configuration ids.void setContinue(java.lang.String aContinue)
aContinue
- a string can be either "0" or "1".void setContractId(java.util.Hashtable ahshContract_id)
ahshContract_id
- a list of contract ids.void setCorrelationGroup(java.util.Hashtable ahshCorrelationGroup)
ahshCorrelationGroup
- a list of correlation groups.void setDescription(java.util.Hashtable ahshDescription)
ahshDescription
- a list of order item descriptions.void setExpandConfigurationId(java.util.Hashtable ahshExpandConfigurationId)
ahshExpandConfigurationId
- a list of expand configuration ids.void setField1(java.util.Hashtable ahshField1)
ahshField1
- a list of field1.void setField2(java.util.Hashtable ahshField2)
ahshField2
- a list of field2.void setListId(java.lang.String[] aList_id)
aList_id
- an array of interest item list ids.void setMemberId(java.util.Hashtable ahshMember_id)
ahshMember_id
- a list of member ids.void setOfferId(java.util.Hashtable ahshOffer_id)
ahshOffer_id
- a list of offer ids.void setOrderComment(java.lang.String aOrderComment)
aOrderComment
- order comment.void setOrderDesc(java.lang.String aOrder_desc)
aOrder_desc
- order description.void setOrderId(java.lang.String[] aOrder_id)
aOrder_id
- an array of order ids.void setOutOrderItemName(java.lang.String[] aOut_orderitem_name)
aOut_orderitem_name
- an array of out order item names.void setOutOrderName(java.lang.String[] aarrOutOrderName)
aarrOutOrderName
- an array of out order names.void setPartNumber(java.util.Hashtable ahshPart_number)
ahshPart_number
- a list of part numbers.void setQuantity(java.util.Hashtable ahshQuantity)
ahshQuantity
- a list of quantities.void setShipmodeId(java.util.Hashtable ahshShipmode_id)
ahshShipmode_id
- a list of shipping mode ids.void setFulfillmentCenterId(java.util.Hashtable ahshFulfillmentCenter_id)
ahshFulfillmentCenter_id
- a list of fulfillment center ids.void setTradingId(java.util.Hashtable ahshTrading_id)
ahshTrading_id
- a list of trading ids.void setUom(java.util.Hashtable ahshUom)
ahshUom
- a list of UOMs.java.util.Hashtable getNewOrderItemIds()
java.util.Set getDeletedOrderItemIds()
void setOrderItemId(java.util.Hashtable ahshOrderitem_id)
ahshOrderitem_id
- a list of order item ids.java.util.Vector getOutOfInvItems()
void setCompListId(java.util.Hashtable ahshOICompList_id)
ahshOICompList_id
- a list of configuration ids.void setRequestedShipDate(java.util.Hashtable ahshRequestedShipDate)
ahshRequestedShipDate
- a list of requestedShipDate.