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, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public DeleteCouponsFromWalletCmdImpl()
public java.lang.Long[] getCouponId()
public int getNumCoupons()
public AccessVector getResources() throws ECSystemException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECSystemException
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void performExecute() throws ECException
cpwalletId
in the input parameter, the STATE of the eCoupon is updated
in CouponWalletAccessBean
to DELETED.performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- 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 ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException