com.ibm.commerce.rfq.commands
Class DeletePAttributeValueCmdImpl

java.lang.Object
  CacheableCommandImpl
      com.ibm.commerce.command.AbstractECTargetableCommand
          com.ibm.commerce.command.TaskCommandImpl
              com.ibm.commerce.rfq.commands.DeletePAttributeValueCmdImpl
All Implemented Interfaces:
DeletePAttributeValueCmd, ECCommand, ECTargetableCommand, TaskCommand

public class DeletePAttributeValueCmdImpl
extends TaskCommandImpl
implements DeletePAttributeValueCmd

Deletes a personalization attribute value.

This is the default implementation of the DeletePAttributeValueCmd. This command uses the following AccessBeans:

See Also:
Serialized Form

Field Summary
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
Fields inherited from interface com.ibm.commerce.rfq.commands.DeletePAttributeValueCmd
defaultCommandClassName, NAME
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

DeletePAttributeValueCmdImpl

public DeletePAttributeValueCmdImpl()
Constructor for DeletePAttributeValueCmdImpl
Method Detail

performExecute

public void performExecute()
                    throws ECException
Execute the command.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException - These exceptions are allowed to percolate.
See Also:
ECCommand#performExecute()

reset

public void reset()
Resets the command.
Overrides:
reset in class AbstractECTargetableCommand

validateParameters

public void validateParameters()
                        throws ECException
Check mandatory parameters.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECApplicationException - Raised with message _ERR_BAD_MISSING_CMD_PARAMETER if quotationRequests is not specified.
ECException
See Also:
ECCommand#validateParameters()

setPAttrValueId

public void setPAttrValueId(java.lang.Long pAttrValueId)
Sets the personalization attribute valud ID.
Specified by:
setPAttrValueId in interface DeletePAttributeValueCmd
Parameters:
pAttrValueId - The personalization attribute valud ID.

getRfqProductId

public java.lang.Long getRfqProductId()
Gets the RFQ product ID of the deleted personalization attribute value.
Specified by:
getRfqProductId in interface DeletePAttributeValueCmd
Returns:
The RFQ product ID of the deleted personalization attribute value.

getRspProductId

public java.lang.Long getRspProductId()
Gets the response product ID of the deleted personalization attribute value.
Specified by:
getRspProductId in interface DeletePAttributeValueCmd
Returns:
The response product ID of the deleted personalization attribute value.

getPAttributeId

public java.lang.Long getPAttributeId()
Gets the personalization attribute ID of the deleted personalization attribute value.
Specified by:
getPAttributeId in interface DeletePAttributeValueCmd
Returns:
The personalization attribute ID of the deleted personalization attribute value.

Feedback