|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Adds items or products to the list of items that are to be shipped.
This command accepts enumeration type of parameters. That is, it accepts parameterName_i=parameterValue.
For example, to add three catalog entries with id 15, 16, and 17 to the OrderItems,
you can pass catEntryId_1=15&catEntryId_2=16&catEntryId_3=17 to the command.
If you call the individual set method 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
Field Summary | |
static java.lang.String |
badPartNumberErrorView
|
static java.lang.String |
badPartNumberList
|
static java.lang.String |
badPartNumberQuantityList
|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
defaultCommandClassName
|
static java.lang.String |
goodPartNumberList
|
static java.lang.String |
goodPartNumberQuantityList
|
static java.lang.String |
NAME
|
Method Summary | |
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 |
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 |
setField1(java.util.Hashtable ahshField1)
Set the field1 parameters (optional). |
void |
setField2(java.util.Hashtable ahshField2)
Set the field2 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 |
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). |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String badPartNumberErrorView
public static final java.lang.String badPartNumberList
public static final java.lang.String badPartNumberQuantityList
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String goodPartNumberList
public static final java.lang.String goodPartNumberQuantityList
public static final java.lang.String NAME
Method Detail |
public java.lang.String[] getOrderIds()
public java.lang.String[] getOrderItemIds()
public 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"));
public 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"});
public void setAttrValue(java.util.Hashtable ahshAttr_value)
public void setCatEntryId(java.util.Hashtable ahshCatentry_id)
public void setComment(java.util.Hashtable ahshComment)
public void setConfigurationId(java.util.Hashtable ahshConfigurationId)
public void setContractId(java.util.Hashtable ahshContract_id)
public void setCorrelationGroup(java.util.Hashtable ahshCorrelationGroup)
public void setDescription(java.util.Hashtable ahshDescription)
public void setField1(java.util.Hashtable ahshField1)
public void setField2(java.util.Hashtable ahshField2)
public void setListId(java.lang.String[] aList_id)
public void setMemberId(java.util.Hashtable ahshMember_id)
public void setOfferId(java.util.Hashtable ahshOffer_id)
public void setOrderDesc(java.lang.String aOrder_desc)
public void setOrderId(java.lang.String[] aOrder_id)
public void setOutOrderItemName(java.lang.String[] aOut_orderitem_name)
public void setOutOrderName(java.lang.String[] aarrOutOrderName)
public void setPartNumber(java.util.Hashtable ahshPart_number)
public void setQuantity(java.util.Hashtable ahshQuantity)
public void setShipmodeId(java.util.Hashtable ahshShipmode_id)
public void setTradingId(java.util.Hashtable ahshTrading_id)
public void setUom(java.util.Hashtable ahshUom)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |