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, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
public ProcessUniquePromotionCodeActivateActionCmdImpl()
public void performExecute() throws java.lang.Exception
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class com.ibm.websphere.command.TargetableCommandImpl
java.lang.Exception
TargetableCommand.performExecute()
public void setPhysicalPromotion(Px_promotion physicalPromotionIn)
setPhysicalPromotion
in interface ProcessUniquePromotionCodeActivateActionCmd
physicalPromotionIn
- 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.Command
isReadyToCallExecute
in class com.ibm.websphere.command.TargetableCommandImpl
Command.isReadyToCallExecute()