com.ibm.commerce.component.giftregistry.commands

Class PostGiftRegistryAnnouncementCmdImpl

  • All Implemented Interfaces:
    BusinessObjectDocumentCmd, com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, PostGiftRegistryAnnouncementCmd, 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 PostGiftRegistryAnnouncementCmdImpl
    extends BusinessObjectDocumentCmdImpl
    implements PostGiftRegistryAnnouncementCmd
    Stores announcement information that the registrant enters and optionally sends out an announcement email
    Behaviour:
    • execute ValidateGiftRegistryMessageCmd, to validate the inputs
    • execute SendGiftRegistryAnnouncementCmd, to send an announcement email. Note: Email will not be sent to recipients if sendEmailToRecipients is set to 1. Similarly, a copy of the email will not be sent to the registrant if sendEmailToSender is set to 1.
    • execute PersistGiftRegistryAnnouncementCmd, to store the announcement information in the database
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • PostGiftRegistryAnnouncementCmdImpl

        public PostGiftRegistryAnnouncementCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        Post gift registry announcement. The following commands will be executed to perform the task:
        • ValidateGiftRegistryMessageCmd, to validate the inputs
        • SendGiftRegistryAnnouncementCmd, to send an announcement email
        • PersistGiftRegistryAnnouncementCmd, to store the announcement information in the database
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException