com.ibm.commerce.wallet.facade.server.commands
Class ProcessWalletItemDeleteCouponActionCmdImpl
- java.lang.Object
-
- com.ibm.websphere.command.TargetableCommandImpl
-
- com.ibm.websphere.command.CacheableCommandImpl
-
- com.ibm.commerce.wallet.facade.server.commands.ProcessWalletItemDeleteCouponActionCmdImpl
-
- All Implemented Interfaces:
- ProcessWalletItemTypeSpecificActionCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable
public class ProcessWalletItemDeleteCouponActionCmdImpl extends com.ibm.websphere.command.CacheableCommandImpl implements ProcessWalletItemTypeSpecificActionCmd
ProcessWalletItemTypeSpecificActionCmd
implementation that deletes the coupon referenced by the wallet item.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
IBM Copyright notice field.
-
Constructor Summary
Constructors Constructor and Description ProcessWalletItemDeleteCouponActionCmdImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description boolean
isReadyToCallExecute()
Returns true.void
performExecute()
Deletes the coupon referenced by the wallet item.void
reset()
Resets this command implementation instance.void
setActionCode(java.lang.String astrActionCode)
Sets the action code.void
setNoun(java.lang.Object aNoun)
Sets the noun.void
setPhysicalEntity(java.lang.Object aPhysicalEntity)
Sets the physical SDO.-
Methods inherited from class com.ibm.websphere.command.CacheableCommandImpl
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
-
Methods inherited from class com.ibm.websphere.command.TargetableCommandImpl
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
IBM Copyright notice field.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProcessWalletItemDeleteCouponActionCmdImpl
public ProcessWalletItemDeleteCouponActionCmdImpl()
-
-
Method Detail
-
setActionCode
public void setActionCode(java.lang.String astrActionCode)
Sets the action code.- Specified by:
setActionCode
in interfaceProcessWalletItemTypeSpecificActionCmd
- Parameters:
astrActionCode
- The action code.
-
setNoun
public void setNoun(java.lang.Object aNoun)
Sets the noun.- Specified by:
setNoun
in interfaceProcessWalletItemTypeSpecificActionCmd
- Parameters:
aNoun
- The noun.
-
setPhysicalEntity
public void setPhysicalEntity(java.lang.Object aPhysicalEntity)
Sets the physical SDO.- Specified by:
setPhysicalEntity
in interfaceProcessWalletItemTypeSpecificActionCmd
- Parameters:
aPhysicalEntity
- The physical SDO.
-
reset
public void reset()
Resets this command implementation instance.- Specified by:
reset
in interfacecom.ibm.websphere.command.Command
- Overrides:
reset
in classcom.ibm.websphere.command.CacheableCommandImpl
-
isReadyToCallExecute
public boolean isReadyToCallExecute()
Returns true.- Specified by:
isReadyToCallExecute
in interfacecom.ibm.websphere.command.Command
- Specified by:
isReadyToCallExecute
in classcom.ibm.websphere.command.TargetableCommandImpl
- Returns:
- True.
-
performExecute
public void performExecute() throws java.lang.Exception
Deletes the coupon referenced by the wallet item.- Specified by:
performExecute
in interfacecom.ibm.websphere.command.TargetableCommand
- Specified by:
performExecute
in classcom.ibm.websphere.command.TargetableCommandImpl
- Throws:
java.lang.Exception
-
-