com.ibm.commerce.component.giftregistry.commands

Class UpdateGiftRegistryCmdImpl

  • All Implemented Interfaces:
    BusinessObjectDocumentCmd, com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, UpdateGiftRegistryCmd, 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 UpdateGiftRegistryCmdImpl
    extends BusinessObjectDocumentCmdImpl
    implements UpdateGiftRegistryCmd
    Creates and updates a gift registry object.

    Behaviour:
    • execute ValidateGiftRegistryValuesCmd, to validate the inputs
    • execute GenerateGiftRegistryExternalIdCmd, to generate an ExternalId for the registry
    • execute PersistGiftRegistryCmd, to store the object to the database
    • execute SendGiftRegistryMessageCmd, to send an MQ message to another system
    • execute SendGiftRegistryConfirmationCmd, to send out a confirmation email
    • execute CheckGiftRegistryCredentialsCmd, to authenticate the user on this registry

    On error, an ECException is thrown from descendant classes.
    See Also:
    Serialized Form