public class DeleteNominalCostCmdImpl extends TaskCommandImpl implements DeleteNominalCostCmd
Behaviour
This command uses the following AccessBeans:
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
DeleteNominalCostCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer | getStoreId()
Returns the store ID.
|
void | performExecute()
First validates the input parameters; Second check if there exists a nominal cost, if no, throw ECException; Then remove the records in OFFER and OFFERPRICE tables in a single transaction.
|
void | reset()
This method is called after a command has been executed.
|
void | setCatEntryId(java.lang.Long aCatEntryID)
Sets the catalog entry ID whose nominal cost to be deleted.
|
void | setStoreId(java.lang.Integer aStoreId)
Set the store ID to which the catalog entry belongs.
|
void | validateParameters()
This method performs server side parameter checking.
|
public static final java.lang.String COPYRIGHT
public void setCatEntryId(java.lang.Long aCatEntryID)
public void setStoreId(java.lang.Integer aStoreId)
public java.lang.Integer getStoreId()
public void performExecute() throws ECException
public void reset()
public void validateParameters() throws ECException