com.ibm.commerce.interestitems.commands
Interface InterestItemDeleteCmd
-
- All Superinterfaces:
- AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
- All Known Implementing Classes:
- InterestItemDeleteCmdImpl
public interface InterestItemDeleteCmd extends ControllerCommand
The InterestItemDeleteCmd is a controller command that deletes items from one or more interest item lists. The interest items are stored in the IITEM table.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
The internal copyright field.static java.lang.String
defaultCommandClassName
The default implementation class is "com.ibm.commerce.interestitems.commands.InterestItemDeleteCmdImpl".static java.lang.String
NAME
The name of this interface is "com.ibm.commerce.interestitems.commands.InterestItemDeleteCmd".
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
setCatEntryId(java.lang.String[] asaCatEntryId)
Sets thecatentry ID
parameters (optional).void
setListId(java.lang.String[] asaListId)
Sets the interest item list ID parameters (optional with default ".").void
setListIdName(java.lang.String[] asaListIdName)
Sets the names of the name-value pairs to be added to the redirection URL (optional).-
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
-
-
-
-
Field Detail
-
COPYRIGHT
static final java.lang.String COPYRIGHT
The internal copyright field.- See Also:
- Constant Field Values
-
NAME
static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.interestitems.commands.InterestItemDeleteCmd".- See Also:
- Constant Field Values
-
defaultCommandClassName
static final java.lang.String defaultCommandClassName
The default implementation class is "com.ibm.commerce.interestitems.commands.InterestItemDeleteCmdImpl".- See Also:
- Constant Field Values
-
-
Method Detail
-
setCatEntryId
void setCatEntryId(java.lang.String[] asaCatEntryId)
Sets thecatentry ID
parameters (optional).- Parameters:
asaCatEntryId
- the catalog entry IDs
-
setListId
void setListId(java.lang.String[] asaListId)
Sets the interest item list ID parameters (optional with default "."). If "." is specified, theGetCurrentIILists
process task is invoked to obtain the shopper's current interest item lists. Then the command behaves as if the current interest item lists were specified. IfGetCurrentIILists
process task determines that there are no current interest item lists, the most recently updated item interest item list is used. If there is no interest item list at all, a new interest item list will be created. If "*" is specified, the command behaves as if all shopper's interest item lists were specified. If a specified interest item list no longer exists, it is not added. If this parameter is missing, this command behaves as if "." were specified.- Parameters:
asaListId
- the interest item list IDs
-
setListIdName
void setListIdName(java.lang.String[] asaListIdName)
Sets the names of the name-value pairs to be added to the redirection URL (optional). The values of the added name-value pairs are the reference number of the interest item lists specified bylistId
. This is provided to make it possible to obtain the reference numbers of the interest item lists whenlistId
is not explicitly specified.- Parameters:
asaListIdName
- the list ID names
-
-