Class HvlNotificationMailRequestModel

java.lang.Object
tr.com.havelsan.javarch.notification.mail.common.model.HvlNotificationMailRequestModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HvlCalendarNotificationRequestModel, HvlNotificationMailRequestModelWithContent

public class HvlNotificationMailRequestModel extends Object implements Serializable
A data transfer object is used for mail notification operations.
See Also:
  • Constructor Details

    • HvlNotificationMailRequestModel

      public HvlNotificationMailRequestModel()
      Instantiates a new HvlNotificationMailRequestModel.
    • HvlNotificationMailRequestModel

      public HvlNotificationMailRequestModel(@NotNull @NotNull String code)
      Instantiates a new HvlNotificationMailRequestModel.
      Parameters:
      code - the code
    • HvlNotificationMailRequestModel

      public HvlNotificationMailRequestModel(@NotNull @NotNull String code, Map<String,Object> attributeMap, List<tr.com.havelsan.javarch.mail.support.model.HvlMailAttachment> attachmentList)
      Instantiates a new HvlNotificationMailRequestModel.
      Parameters:
      code - the code
      attributeMap - the attribute map
      attachmentList - the attachment list
    • HvlNotificationMailRequestModel

      public HvlNotificationMailRequestModel(@NotNull @NotNull String code, List<String> toAddressList, List<String> ccAddressList, List<String> bccAddressList, Locale locale, Map<String,Object> attributeMap, List<tr.com.havelsan.javarch.mail.support.model.HvlMailAttachment> attachmentList, boolean syncSend)
      Instantiates a new HvlNotificationMailRequestModel.
      Parameters:
      code - the code
      toAddressList - the to address list
      ccAddressList - the cc address list
      bccAddressList - the bcc address list
      locale - the locale
      attributeMap - the attribute map
      attachmentList - the attachment list
      syncSend - the sync send
  • Method Details

    • getCode

      public String getCode()
      Gets code.
      Returns:
      the code
    • setCode

      public void setCode(String code)
      Sets code.
      Parameters:
      code - the code
    • getToAddressList

      public List<String> getToAddressList()
      Gets to address list.
      Returns:
      the to address list
    • setToAddressList

      public void setToAddressList(List<String> toAddressList)
      Sets to address list.
      Parameters:
      toAddressList - the to address list
    • getCcAddressList

      public List<String> getCcAddressList()
      Gets cc address list.
      Returns:
      the cc address list
    • setCcAddressList

      public void setCcAddressList(List<String> ccAddressList)
      Sets cc address list.
      Parameters:
      ccAddressList - the cc address list
    • getBccAddressList

      public List<String> getBccAddressList()
      Gets bcc address list.
      Returns:
      the bcc address list
    • setBccAddressList

      public void setBccAddressList(List<String> bccAddressList)
      Sets bcc address list.
      Parameters:
      bccAddressList - the bcc address list
    • getLocale

      public Locale getLocale()
      Gets locale.
      Returns:
      the locale
    • setLocale

      public void setLocale(Locale locale)
      Sets locale.
      Parameters:
      locale - the locale
    • getAttributeMap

      public Map<String,Object> getAttributeMap()
      Gets attribute map.
      Returns:
      the attribute map
    • setAttributeMap

      public void setAttributeMap(Map<String,Object> attributeMap)
      Sets attribute map.
      Parameters:
      attributeMap - the attribute map
    • getAttachmentList

      public List<tr.com.havelsan.javarch.mail.support.model.HvlMailAttachment> getAttachmentList()
      Gets attachment list.
      Returns:
      the attachment list
    • setAttachmentList

      public void setAttachmentList(List<tr.com.havelsan.javarch.mail.support.model.HvlMailAttachment> attachmentList)
      Sets attachment list.
      Parameters:
      attachmentList - the attachment list
    • isSendSync

      public boolean isSendSync()
      Is send sync boolean.
      Returns:
      the boolean
    • setSendSync

      public void setSendSync(boolean sendSync)
      Sets send sync.
      Parameters:
      sendSync - the send sync