|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Adds items or products to interest item lists. 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 certain interest item list, 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")); then passed the hashtable to the method setCatEntryId(Hashtable).
Field Summary | |
static java.lang.String |
COPYRIGHT
The internal copyright field. |
static java.lang.String |
defaultCommandClassName
The default implementation class is "com.ibm.commerce.interestitems.commands.InterestItemAddCmdImpl". |
static java.lang.String |
NAME
The name of this interface is "com.ibm.commerce.interestitems.commands.InterestItemAddCmd". |
Method Summary | |
void |
setAttrName(java.util.Hashtable ahshAttrName)
Set the attribute name parameters (optional). |
void |
setAttrValue(java.util.Hashtable ahshAttrValue)
Set the attribute value parameters (optional). |
void |
setCatEntryId(java.util.Hashtable ahshCatEntryId)
Set the catentry id parameters. |
void |
setField1(java.util.Hashtable ahshField1)
Set the field1 parameters (optional). |
void |
setField2(java.util.Hashtable ahshField2)
Set the field2 parameters (optional). |
void |
setField3(java.util.Hashtable ahshField3)
Set the field3 parameters (optional). |
void |
setListId(java.lang.String[] asaListId)
Set the interest item list id parameters (optional with default "."). |
void |
setListIdName(java.lang.String[] asaListIdName)
Set the names of the name-value pairs to be added to the redirection URL (optional). |
void |
setMemberId(java.util.Hashtable ahshMemberId)
Set the member id parameters. |
void |
setPartNumber(java.util.Hashtable ahshPartNumber)
Set the part number parameters. |
void |
setQuantity(java.util.Hashtable ahshQuantity)
Set the quantity parameters (optional with default is 1). |
void |
setUOM(java.util.Hashtable ahshUOM)
Set the unit of measure parameters (optional). |
void |
setUpdateable(java.util.Hashtable ahshUpdatable)
Set the updatable 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 COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String NAME
Method Detail |
public void setAttrName(java.util.Hashtable ahshAttrName)
ahshAttrName
- java.util.Hashtablepublic void setAttrValue(java.util.Hashtable ahshAttrValue)
ahshAttrValue
- java.util.Hashtablepublic void setCatEntryId(java.util.Hashtable ahshCatEntryId)
ahshCatEntryId
- java.util.Hashtablepublic void setField1(java.util.Hashtable ahshField1)
ahshField1
- java.util.Hashtablepublic void setField2(java.util.Hashtable ahshField2)
ahshField2
- java.util.Hashtablepublic void setField3(java.util.Hashtable ahshField3)
ahshField3
- java.util.Hashtablepublic void setListId(java.lang.String[] asaListId)
asaListId
- java.lang.String[]public void setListIdName(java.lang.String[] asaListIdName)
asaListIdName
- java.lang.String[]public void setMemberId(java.util.Hashtable ahshMemberId)
ahshMemberId
- java.util.Hashtablepublic void setPartNumber(java.util.Hashtable ahshPartNumber)
ahshPartNumber
- java.util.Hashtablepublic void setQuantity(java.util.Hashtable ahshQuantity)
ahshQuantity
- java.util.Hashtablepublic void setUOM(java.util.Hashtable ahshUOM)
ahshUOM
- java.util.Hashtablepublic void setUpdateable(java.util.Hashtable ahshUpdatable)
ahshUpdatable
- java.util.Hashtable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |