public class SendGiftRegistryMessageCmdImpl extends BusinessObjectDocumentCmdImpl implements SendGiftRegistryMessageCmd
UpdateGiftRegistryBOD
to the messaging system to notify an external
system of a gift registry being modified.
If the verbs action is VerbAction.CANCEL
, the CancelGiftRegistryMessageView
is called to generate the message. Otherwise, the UpdateGiftRegistryMessageView
is called.
The ConfirmBOD returns null on success and an exception is thrown on error.
ECApplicationException
is thrown with possible messages:GiftRegistryMessage._ERR_GIFT_REGISTRY_FAILED_TO_SEND_MQ_MESSAGE
ECMessage._ERR_BAD_MISSING_CMD_PARAMETER
ECMessage._ERR_CMD_BAD_EXEC_CMD
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The class name of this class
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
SendGiftRegistryMessageCmdImpl() |
Modifier and Type | Method and Description |
---|---|
AccessVector |
getResources()
Returns a vector of AccessBeans to check authority against
|
void |
performExecute()
This method first checks the configuration file to see if messaging is enabled.
|
getResultBOD, setRequestBOD
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, 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
getResultBOD, setRequestBOD
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException