com.ibm.commerce.component.giftregistry.commands

Class SendGiftRegistryMessageCmdImpl

  • All Implemented Interfaces:
    BusinessObjectDocumentCmd, com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, SendGiftRegistryMessageCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class SendGiftRegistryMessageCmdImpl
    extends BusinessObjectDocumentCmdImpl
    implements SendGiftRegistryMessageCmd
    Sends a 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.
    On error, a 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
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • CLASSNAME

        public static final java.lang.String CLASSNAME
        The class name of this class
    • Constructor Detail

      • SendGiftRegistryMessageCmdImpl

        public SendGiftRegistryMessageCmdImpl()