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

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

public class RemoveProductsFromAllSearchSpacesCmdImpl
extends ControllerCommandImpl
implements RemoveProductsFromAllSearchSpacesCmd

Removes catalog entries from all Product Advisor separate search spaces.

See Also:
Serialized Form

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
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputProperties
 
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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.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, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 

Field Detail
public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
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
ECException