public class ProcessGiftListDeleteActionCmdImpl extends AbstractProcessDeleteActionUsingBusinessObjectMediatorCmdImpl implements ProcessGiftListActionCmd
ProcessGiftListDeleteActionCmdImpl
command performs business
logic around deleting a GiftList
noun and its parent calls the
ChangeGiftListMediator to delete the noun from the database.Constructor and Description |
---|
ProcessGiftListDeleteActionCmdImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadyToCallExecute()
This method returns if the command can be executed.
|
void |
performExecute()
This method deletes the GiftList noun and removes the Gift List from the
GiftCenter context.
|
void |
validate()
Performs business logic validation for this action.
|
getChangeBusinessObjectMediator, getChangeControlBusinessObjectMediator
getActionExpression, getNoun, isGeneric, reset, setActionExpression, setNoun, setPersistentObjects
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, 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
isGeneric, setActionExpression, setNoun, setPersistentObjects
public void validate() throws AbstractApplicationException
validate
in interface AbstractProcessNounActionCmd
validate
in class AbstractProcessDeleteActionUsingBusinessObjectMediatorCmdImpl
AbstractApplicationException
AbstractProcessNounActionCmd.validate()
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractProcessNounActionCmdImpl
public void performExecute() throws java.lang.Exception
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractProcessDeleteActionUsingBusinessObjectMediatorCmdImpl
java.lang.Exception