public class DeleteCouponsFromWalletCmdImpl extends ControllerCommandImpl implements DeleteCouponsFromWalletCmd
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long[] | couponId
Deprecated.
The coupons to be deleted.
|
protected int | numCoupons
Deprecated.
The number of coupons to be deleted.
|
protected boolean | selectionOK
Deprecated.
True if the selection by user is correct.
|
Constructor and Description |
---|
DeleteCouponsFromWalletCmdImpl()
Deprecated.
DeleteCouponsFromWalletCmdImpl constructor call super.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long[] | getCouponId()
Deprecated.
Gets the coupon IDs.
|
int | getNumCoupons()
Deprecated.
Gets the number of coupons.
|
AccessVector | getResources()
Deprecated.
Gets the resources for access control purpose.
|
boolean | isReadyToCallExecute()
Deprecated.
It always returns true.
|
void | performExecute()
Deprecated.
For each cpwalletId in the input parameter, the STATE of the eCoupon is updated in CouponWalletAccessBean to DELETED.
|
void | setCouponId(java.lang.Long[] newCouponId)
Deprecated.
Sets the coupon IDs to be deleted.
|
void | setNumCoupons(int newNumCoupons)
Deprecated.
Sets the number of coupons.
|
void | validateParameters()
Deprecated.
It extracts the parameters from the request and command context and checks for their correctness.
|
protected int numCoupons
protected java.lang.Long[] couponId
protected boolean selectionOK
public DeleteCouponsFromWalletCmdImpl()
public java.lang.Long[] getCouponId()
public int getNumCoupons()
public AccessVector getResources() throws ECSystemException
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void setCouponId(java.lang.Long[] newCouponId)
public void setNumCoupons(int newNumCoupons)
public void validateParameters() throws ECException