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_MESSAGEECMessage._ERR_BAD_MISSING_CMD_PARAMETERECMessage._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, setRequestBODaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResultBOD, setRequestBODexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECException