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

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

public class RemoveProductsFromSearchSpaceCmdImpl
extends ControllerCommandImpl
implements RemoveProductsFromSearchSpaceCmd

Removes catalog entries from a Product Advisor separate search space.


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.RemoveProductsFromSearchSpaceCmd
defaultCommandClassName
 
Constructor Summary
RemoveProductsFromSearchSpaceCmdImpl()
          RemoveProductsFromSearchSpaceCmdImpl constructor comment.
 
Method Summary
 void performExecute()
          Removes catalog entries from a Product Advisor separate search space.
 
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

RemoveProductsFromSearchSpaceCmdImpl

public RemoveProductsFromSearchSpaceCmdImpl()
RemoveProductsFromSearchSpaceCmdImpl constructor comment.
Method Detail

performExecute

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

If the search space exists for the category supplied through the categoryId parameter, then each catalog entry supplied through the productId parameter is removed from the separate search space tables for that category. No check is performed to confirm that the catalog entries are not in the category.

Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException - If an error occurs while removing the catalog entries from the search space.