public class PersistCouponForLaterUseCmdImpl extends ControllerCommandImpl implements PersistCouponForLaterUseCmd
CouponWalletAccessBean to SAVED.
ViewNames
SearchWalletView : After saving the coupons successfully if no URL was specified.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
IBM copyright notice field.
|
defaultCommandClassName| 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.
|
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 static final java.lang.String COPYRIGHT
public PersistCouponForLaterUseCmdImpl()
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 SAVED.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 saved.public void setNumCoupons(int newNumCoupons)
newNumCoupons - intpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException