public class ProcessGiftListAnnounceActionCmdImpl extends AbstractProcessCustomActionUsingBusinessObjectMediatorCmdImpl
Announce
action on the GiftList
noun.
The following tasks are performed by this command
1. Validate whether the announcement data is present
2. Invoke the SendMsg command to send the email announcement to the
recipients
3. Create the announcement history calling the change part mediator for the
announcement noun partConstructor and Description |
---|
ProcessGiftListAnnounceActionCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Performs the business logic to announce a gift registry
|
void |
validate()
Performs business logic validation for this action.
|
getChangeBusinessObjectMediator, getChangeControlBusinessObjectMediator
getActionExpression, getNoun, isGeneric, isReadyToCallExecute, 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
public ProcessGiftListAnnounceActionCmdImpl()
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
public void validate() throws AbstractApplicationException
AbstractApplicationException