public class ProcessUniquePromotionCodeActivateActionCmdImpl extends com.ibm.websphere.command.CacheableCommandImpl implements ProcessUniquePromotionCodeActivateActionCmd
If the unique code promotion code type is "Generated" then the PopulatePromotionCodesCmd will be invoked to generate codes.
If the unique code promotion code type is "Import" then the PopulatePromotionCodesCmd will be invoked to import codes.
defaultCommandClassName| Constructor and Description |
|---|
ProcessUniquePromotionCodeActivateActionCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
Px_promotion |
getPhysicalPromotion()
Get the physical promotion
|
boolean |
isReadyToCallExecute()
This method always indicates the command is ready to execute.
|
void |
performExecute()
Schedule the populate promotion code command to populate promotion code
|
void |
setPhysicalPromotion(Px_promotion physicalPromotionIn)
Set the physical promotion
|
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, reset, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachepublic ProcessUniquePromotionCodeActivateActionCmdImpl()
public void performExecute()
throws java.lang.Exception
performExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class com.ibm.websphere.command.TargetableCommandImpljava.lang.ExceptionTargetableCommand.performExecute()public void setPhysicalPromotion(Px_promotion physicalPromotionIn)
setPhysicalPromotion in interface ProcessUniquePromotionCodeActivateActionCmdphysicalPromotionIn - The Px_promotion object to setProcessUniquePromotionCodeActivateActionCmd.setPhysicalPromotion(Px_promotion)public Px_promotion getPhysicalPromotion()
Px_promotion physical promotion object.public boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class com.ibm.websphere.command.TargetableCommandImplCommand.isReadyToCallExecute()