public class DeleteCouponsFromWalletCmdImpl extends ControllerCommandImpl implements DeleteCouponsFromWalletCmd
cpwalletId in the input parameter, the STATE of the eCoupon is updated
in CouponWalletAccessBean to DELETED.
ViewNames
SearchWalletView : After deleting the coupons successfully if no URL was specified.defaultCommandClassName| 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.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic DeleteCouponsFromWalletCmdImpl()
public java.lang.Long[] getCouponId()
public int getNumCoupons()
public AccessVector getResources() throws ECSystemException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECSystemExceptionpublic boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class AbstractECTargetableCommandpublic void performExecute()
throws ECException
cpwalletId in the input parameter, the STATE of the eCoupon is updated
in CouponWalletAccessBean to DELETED.performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException - If a problem is encountered while creating or finding an EJB.public void setCouponId(java.lang.Long[] newCouponId)
newCouponId - the coupon IDs of the coupons to be deleted.public void setNumCoupons(int newNumCoupons)
newNumCoupons - intpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException