com.ibm.commerce.tools.catalog.commands
Class ProductDeleteImpl
com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.ControllerCommandImpl
|
+--com.ibm.commerce.tools.command.ToolsControllerCommandImpl
|
+--com.ibm.commerce.tools.catalog.commands.ProductDeleteImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, ProductDelete, Protectable, ToolsControllerCommand
- public class ProductDeleteImpl
- extends ToolsControllerCommandImpl
- implements ProductDelete
This is the default implementation of the ProductDelete controller command.
This command deletes products. If an error occurrs, it throws an ECException.
Method Summary |
void |
performExecute()
This method implements the business logic for the ProductDelete controller command. |
void |
reset()
This method resets all instance variables to null. |
void |
setRequestProperties(TypedProperty reqParams)
This method accepts input parameters from RequestProperties for the controller command. |
void |
validateParameters()
This method validates input parameters for the controller command. |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, 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, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties |
ProductDeleteImpl
public ProductDeleteImpl()
performExecute
public void performExecute()
throws ECException
- This method implements the business logic for the ProductDelete controller command.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECTargetableCommand
- Throws:
ECException
-
reset
public void reset()
- This method resets all instance variables to null.
- Overrides:
reset
in class AbstractECTargetableCommand
setRequestProperties
public void setRequestProperties(TypedProperty reqParams)
throws ECApplicationException
- This method accepts input parameters from RequestProperties for the controller command.
- Specified by:
setRequestProperties
in interface ControllerCommand
- Overrides:
setRequestProperties
in class ToolsControllerCommandImpl
- Parameters:
reqParams
- com.ibm.commerce.datatype.TypedProperty- Throws:
ECApplicationException.
-
validateParameters
public void validateParameters()
throws ECException
- This method validates input parameters for the controller command.
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECTargetableCommand
- Throws:
ECException.
-