com.ibm.commerce.utf.commands
Class PAttributeDeleteCmdImpl
com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.ControllerCommandImpl
|
+--com.ibm.commerce.tools.command.ToolsControllerCommandImpl
|
+--com.ibm.commerce.utf.commands.PAttributeDeleteCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, PAttributeDeleteCmd, Protectable, ToolsControllerCommand
- public class PAttributeDeleteCmdImpl
- extends ToolsControllerCommandImpl
- implements PAttributeDeleteCmd
Delete Personalization Attribute command. This command will remove an Personalization Attribute.
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, 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, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
PAttributeDeleteCmdImpl
public PAttributeDeleteCmdImpl()
- PAttributeDeleteCmdImpl constructor comment.
doDeleteAttribute
public void doDeleteAttribute()
throws ECSystemException
- Performs the delete of the Attribute entry.
getCollAttrIds
public java.util.Vector getCollAttrIds()
getErrorContent
public java.util.Hashtable getErrorContent()
- Gets the error content for this command.
- Returns:
- java.util.Hashtable
getLanguageId
public java.lang.Long getLanguageId()
getPAttributeId
public java.lang.Long getPAttributeId()
- Returns:
- The attribute id.
performExecute
public void performExecute()
throws ECException
- Performs database checks, then deletes the attribute.
- 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.
setCollAttrIds
public void setCollAttrIds(java.util.Vector collIds)
setErrorContent
public void setErrorContent(java.util.Hashtable newErrorContent)
- Sets the error content for this command.
- Parameters:
newErrorContent
- The collection of error content values.
setLangaugeId
public void setLangaugeId(java.lang.Long id)
- Sets the language id for the attribute.
- Parameters:
The
- language id.
setPAttributeId
public void setPAttributeId(java.lang.Long id)
- Sets the Personalization Attribute Id
- Parameters:
The
- attribute id.
setRequestProperties
public void setRequestProperties(TypedProperty prop)
throws ECApplicationException
- Set values retrieved from the incoming property.
- Specified by:
setRequestProperties
in interface ControllerCommand
- Overrides:
setRequestProperties
in class ToolsControllerCommandImpl
- Throws:
ECException
- The exception description.