public class PersistCouponForLaterUseCmdImpl extends ControllerCommandImpl implements PersistCouponForLaterUseCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Deprecated.
IBM copyright notice field.
|
Constructor and Description |
---|
PersistCouponForLaterUseCmdImpl()
Deprecated.
PersistCouponForLaterUseCmdImpl 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 SAVED.
|
void | setCouponId(java.lang.Long[] newCouponId)
Deprecated.
Sets the coupon IDs to be saved.
|
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.
|
public static final java.lang.String COPYRIGHT
public PersistCouponForLaterUseCmdImpl()
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