java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.tools.command.ToolsControllerCommandImpl | +--com.ibm.commerce.utf.commands.PAttributeDeleteCmdImpl
Deletes personalization attributes.
This is the default implementation of the PAttributeDeleteCmd. This command uses the following AccessBeans:
PAttrValueAccessBean
PAttrProdAccessBean
PAttributeDescAccessBean
Field Summary |
---|
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.utf.commands. PAttributeDeleteCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Constructor Summary | |
---|---|
PAttributeDeleteCmdImpl() PAttributeDeleteCmdImpl constructor comment. |
Method Summary | |
---|---|
void |
doDeleteAttribute() Performs the delete of the Attribute entry |
java.util.Vector |
getCollAttrIds() Returns the attribute Id |
java.util.Hashtable |
getErrorContent() Gets the error content for this command. |
java.lang.Long |
getLanguageId() Gets the error content for this command. |
java.lang.Long |
getPAttributeId() |
void |
performExecute() Performs database checks, then deletes the attribute |
void |
reset() Reset the command. |
void |
setCollAttrIds(java.util.Vector collIds) Sets the attibute Ids |
void |
setErrorContent(java.util.Hashtable newErrorContent) Sets the error content for this command. |
void |
setLangaugeId(java.lang.Long id) Sets the language id for the attribute. |
void |
setPAttributeId(java.lang.Long id) Sets the Personalization Attribute Id |
void |
setRequestProperties(
TypedProperty prop) Set values retrieved from the incoming property. |
Methods inherited from class com.ibm.commerce.tools.command. ToolsControllerCommandImpl |
getViewInputProperties |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
isGeneric,
isRetriable,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
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,
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,
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 |
Constructor Detail |
---|
public PAttributeDeleteCmdImpl()
Method Detail |
---|
public void reset()
reset
in class
AbstractECTargetableCommand
public void doDeleteAttribute() throws ECSystemException
ECSystemException
public java.util.Vector getCollAttrIds()
public java.util.Hashtable getErrorContent()
public java.lang.Long getLanguageId()
public java.lang.Long getPAttributeId()
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
ECCommand.performExecute()
public void setCollAttrIds(java.util.Vector collIds)
collIds
- The attribute Idspublic void setErrorContent(java.util.Hashtable newErrorContent)
newErrorContent
- The collection of error content
values.public void setLangaugeId(java.lang.Long id)
public void setPAttributeId(java.lang.Long id)
public void setRequestProperties(TypedProperty prop) throws ECApplicationException
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ToolsControllerCommandImpl
prop
- request properties
ECApplicationException
ControllerCmd#setRequestProperties(TypedProperty)