java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.rfq.commands.DeletePAttributeValueCmdImpl
Deletes a personalization attribute value.
This is the default implementation of the DeletePAttributeValueCmd. This command uses the following AccessBeans:
PAttrValueAccessBean
Field Summary |
---|
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.rfq.commands. DeletePAttributeValueCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
DeletePAttributeValueCmdImpl() Constructor for DeletePAttributeValueCmdImpl |
Method Summary | |
---|---|
java.lang.Long |
getPAttributeId() Gets the personalization attribute ID of the deleted personalization attribute value. |
java.lang.Long |
getRfqProductId() Gets the RFQ product ID of the deleted personalization attribute value. |
java.lang.Long |
getRspProductId() Gets the response product ID of the deleted personalization attribute value. |
void |
performExecute() Execute the command. |
void |
reset() Resets the command. |
void |
setPAttrValueId(java.lang.Long pAttrValueId) Sets the personalization attribute valud ID. |
void |
validateParameters() Check mandatory parameters. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Constructor Detail |
---|
public DeletePAttributeValueCmdImpl()
Method Detail |
---|
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
- These exceptions are allowed to percolate.ECCommand#performExecute()
public void reset()
reset
in class
AbstractECTargetableCommand
public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECApplicationException
- Raised with message
_ERR_BAD_MISSING_CMD_PARAMETER if quotationRequests is not specified.ECException
ECCommand#validateParameters()
public void setPAttrValueId(java.lang.Long pAttrValueId)
setPAttrValueId
in interface
DeletePAttributeValueCmd
pAttrValueId
- The personalization attribute valud
ID.public java.lang.Long getRfqProductId()
getRfqProductId
in interface
DeletePAttributeValueCmd
public java.lang.Long getRspProductId()
getRspProductId
in interface
DeletePAttributeValueCmd
public java.lang.Long getPAttributeId()
getPAttributeId
in interface
DeletePAttributeValueCmd