com.ibm.commerce.pa.dbsync.commands
Class RemoveProductsFromAllSearchSpacesCmdImpl

com.ibm.commerce.command.AbstractECTargetableCommand
  |
  +--com.ibm.commerce.command.ControllerCommandImpl
        |
        +--com.ibm.commerce.pa.dbsync.commands.RemoveProductsFromAllSearchSpacesCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, RemoveProductsFromAllSearchSpacesCmd

public class RemoveProductsFromAllSearchSpacesCmdImpl
extends ControllerCommandImpl
implements RemoveProductsFromAllSearchSpacesCmd

Removes catalog entries from all Product Advisor separate search spaces.


Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
 
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.pa.dbsync.commands.RemoveProductsFromAllSearchSpacesCmd
defaultCommandClassName
 
Constructor Summary
RemoveProductsFromAllSearchSpacesCmdImpl()
          RemoveProductsFromAllSearchSpacesCmdImpl constructor comment.
 
Method Summary
 void performExecute()
          Removes catalog entries from all Product Advisor separate search spaces.
 
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputProperties
 
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
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, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

RemoveProductsFromAllSearchSpacesCmdImpl

public RemoveProductsFromAllSearchSpacesCmdImpl()
RemoveProductsFromAllSearchSpacesCmdImpl constructor comment.
Method Detail

performExecute

public void performExecute()
                    throws ECException
Removes catalog entries from all Product Advisor separate search spaces.

The list of catalog entry ids is obtained from the productId parameter. A list of the categories with existing search spaces is retrieved from the ICROOTCAT table. Each catalog entry supplied is then removed from each separate search space table, including the ICTPRICES table.

Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.