com.ibm.commerce.component.giftregistry.commands

Interface UpdateGiftRegistryCmd

  • All Superinterfaces:
    BusinessObjectDocumentCmd, com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    UpdateGiftRegistryCmdImpl, UpdateGiftRegistryPurchaseRecordCmdImpl


    public interface UpdateGiftRegistryCmd
    extends BusinessObjectDocumentCmd
    Updates, and creates a gift registry or gift registry purchase record object.

    When used for creating or updating gift registry, it has the following basic behaviours:
    • 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

    When used for creating or updating purchase records, it has the following behaviors:
    • Check eligibility of gift registry purchase record
    • persist any changes requested by the GiftRegistryPurchaseRecordBOD message
    On error, an ECException is thrown from descendant classes.
    • Field Detail

      • COPYRIGHT

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