java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.utf.commands.DeleteRFQCatentryRelCmdImpl
This command deletes the relationship between an RFQ and one or more product entries.
Behaviour
Field Summary |
---|
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.utf.commands. DeleteRFQCatentryRelCmd |
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 | |
---|---|
DeleteRFQCatentryRelCmdImpl() Default Constructor. |
Method Summary | |
---|---|
java.lang.Long |
getRfqProdId() Gets the rfqProdId |
void |
performExecute() Calls the deleteAllCatentryRel method if the incoming catalogEntries is null. |
void |
reset() Reset the command. |
void |
setRfqProdId(java.lang.Long rfqProdId) Sets the rfqProdId |
void |
validateParameters() Checks for an incoming RFQ ID. |
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 DeleteRFQCatentryRelCmdImpl()
Method Detail |
---|
public void reset()
reset
in class
AbstractECTargetableCommand
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
ECCommand#performExecute()
public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
- If the RFQ ID has not been provided.ECCommand#validateParameters()
public java.lang.Long getRfqProdId()
public void setRfqProdId(java.lang.Long rfqProdId)
setRfqProdId
in interface
DeleteRFQCatentryRelCmd
rfqProdId
- The rfqProdId to set