com.ibm.commerce.giftregistry.service.valueobjects

Class GiftRegistryAnnouncementVO

  • All Implemented Interfaces:
    java.io.Serializable


    public class GiftRegistryAnnouncementVO
    extends BaseVO
    The value object for gift registry announcements. This value object is used to store the gift registry announcement e-mail information.
    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

      • GiftRegistryAnnouncementVO

        public GiftRegistryAnnouncementVO()
        Constructs the gift registry announcement value object
      • GiftRegistryAnnouncementVO

        public GiftRegistryAnnouncementVO(GiftRegistryAnnouncementVO vo)
        Constructs the gift registry announcement value object
        Parameters:
        GiftRegistryAnnouncementVO -
    • Method Detail

      • getAnnouncementId

        public java.lang.Long getAnnouncementId()
        Gets the announcement history ID
        Returns:
        AnnouncementHistoryId
      • setAnnouncementId

        public void setAnnouncementId(java.lang.Long announcementHistoryId)
        Sets the announcement ID
        Parameters:
        announcementId -
      • setExternalId

        public void setExternalId(java.lang.String externalId)
        Sets the external ID for the gift registry
        Parameters:
        externalId -
      • getExternalId

        public java.lang.String getExternalId()
        Gets the external ID for the gift registry
        Returns:
        externalId
      • getTemplateId

        public java.lang.Integer getTemplateId()
        Gets the announcement template ID. This specifies what template to use for the e-mail content.
        Returns:
        templateId
      • setTemplateId

        public void setTemplateId(java.lang.Integer templateId)
        Sets the announcement template ID
        Parameters:
        templateId -
      • getSentDate

        public java.sql.Date getSentDate()
        Gets the date the announcement was sent
        Returns:
        SentDate
      • setSentDate

        public void setSentDate(java.sql.Date sentDate)
        Sets the date that the announcement was sent
        Parameters:
        sentDate -
      • getSenderEmail

        public java.lang.String getSenderEmail()
        Gets the e-mail address of the sender
        Returns:
        SenderEmail
      • setSenderEmail

        public void setSenderEmail(java.lang.String senderEmail)
        Sets the e-mail address of the sender
        Parameters:
        senderEmail -
      • getField1

        public java.lang.String getField1()
        Gets field1
        Returns:
        field1
      • setField1

        public void setField1(java.lang.String field1)
        Sets field1
        Parameters:
        field1 -
      • getField2

        public java.lang.String getField2()
        Gets field2
        Returns:
        field2
      • setField2

        public void setField2(java.lang.String field2)
        Sets field2
        Parameters:
        field2 -
      • getMessage

        public java.lang.String getMessage()
        Gets the announcement message or content
        Returns:
        Message
      • setMessage

        public void setMessage(java.lang.String message)
        Sets message
        Parameters:
        message -
      • getSenderName

        public java.lang.String getSenderName()
        Gets the name of the sender
        Returns:
        senderName
      • setSenderName

        public void setSenderName(java.lang.String senderName)
        Sets the name of the sender
        Parameters:
        senderName -
      • getSubject

        public java.lang.String getSubject()
        Gets the subject of the announcement e-mail
        Returns:
        Subject
      • setSubject

        public void setSubject(java.lang.String aSubject)
        Sets the subject of the announcement e-mail
        Parameters:
        subject -
      • getSendEmailToRecipients

        public java.lang.Integer getSendEmailToRecipients()
        Gets the SendEmailToRecipients flag
        Returns:
        sendEmailToRecipients flag
      • setSendEmailToRecipients

        public void setSendEmailToRecipients(java.lang.Integer aSendEmailToRecipients)
        Sets the sendEmailToRecipients flag
        Parameters:
        sendEmailToRecipients -
      • getSendEmailToSender

        public java.lang.Integer getSendEmailToSender()
        Gets the SendEmailToSender flag
        Returns:
        SendEmailToSender flag
      • setGiftRegistryId

        public void setGiftRegistryId(java.lang.Long giftRegistryId)
        Sets the gift registry ID
        Parameters:
        giftRegistryId - gift registry ID
      • getGiftRegistryId

        public java.lang.Long getGiftRegistryId()
        Gets the gift registry ID
        Returns:
        GiftRegistryId
      • setSendEmailToSender

        public void setSendEmailToSender(java.lang.Integer aSendEmailToSender)
        Sets the sendEmailToSender flag
        Parameters:
        aSendEmailToSender -
      • getEmailList

        public java.util.List getEmailList()
        Gets a list of e-mail addresses
        Returns:
        a list of GiftRegistryEmailListVOs
      • setEmailList

        public void setEmailList(java.util.List emailList)
        Sets a list of e-mail addresses
        Parameters:
        a - list of GiftRegistryEmailListVOs
      • getId

        public java.lang.Object getId()
        Gets the announcement ID
        Specified by:
        getId in class BaseVO
        Returns:
        announcementHistoryId object