Class HvlNotificationMailRequestModel
java.lang.Object
tr.com.havelsan.javarch.notification.mail.common.model.HvlNotificationMailRequestModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HvlCalendarNotificationRequestModel
,HvlNotificationMailRequestModelWithContent
A data transfer object is used for mail notification operations.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInstantiates a new HvlNotificationMailRequestModel.HvlNotificationMailRequestModel
(@NotNull String code) Instantiates a new HvlNotificationMailRequestModel.HvlNotificationMailRequestModel
(@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.HvlNotificationMailRequestModel
(@NotNull String code, Map<String, Object> attributeMap, List<tr.com.havelsan.javarch.mail.support.model.HvlMailAttachment> attachmentList) Instantiates a new HvlNotificationMailRequestModel. -
Method Summary
Modifier and TypeMethodDescriptionList
<tr.com.havelsan.javarch.mail.support.model.HvlMailAttachment> Gets attachment list.Gets attribute map.Gets bcc address list.Gets cc address list.getCode()
Gets code.Gets locale.Gets produce date.Gets to address list.boolean
Is re check boolean.boolean
Is send sync boolean.void
setAttachmentList
(List<tr.com.havelsan.javarch.mail.support.model.HvlMailAttachment> attachmentList) Sets attachment list.void
setAttributeMap
(Map<String, Object> attributeMap) Sets attribute map.void
setBccAddressList
(List<String> bccAddressList) Sets bcc address list.void
setCcAddressList
(List<String> ccAddressList) Sets cc address list.void
Sets code.void
Sets locale.void
setProduceDate
(OffsetDateTime produceDate) Sets produce date.void
setReCheck
(boolean reCheck) Sets re check.void
setSendSync
(boolean sendSync) Sets send sync.void
setToAddressList
(List<String> toAddressList) Sets to address list.
-
Field Details
-
FROM_FIELD_NAME
- See Also:
-
TO_ADDRESS_LIST_FIELD_NAME
- See Also:
-
CC_ADDRESS_LIST_FIELD_NAME
- See Also:
-
BCC_ADDRESS_LIST_FIELD_NAME
- See Also:
-
SEND_SYNC_FIELD_NAME
- See Also:
-
MAIL_SEND_TIME_FIELD_NAME
- See Also:
-
-
Constructor Details
-
HvlNotificationMailRequestModel
public HvlNotificationMailRequestModel()Instantiates a new HvlNotificationMailRequestModel. -
HvlNotificationMailRequestModel
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 codeattributeMap
- the attribute mapattachmentList
- 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 codetoAddressList
- the to address listccAddressList
- the cc address listbccAddressList
- the bcc address listlocale
- the localeattributeMap
- the attribute mapattachmentList
- the attachment listsyncSend
- the sync send
-
-
Method Details
-
getCode
Gets code.- Returns:
- the code
-
setCode
Sets code.- Parameters:
code
- the code
-
getToAddressList
Gets to address list.- Returns:
- the to address list
-
setToAddressList
Sets to address list.- Parameters:
toAddressList
- the to address list
-
getCcAddressList
Gets cc address list.- Returns:
- the cc address list
-
setCcAddressList
Sets cc address list.- Parameters:
ccAddressList
- the cc address list
-
getBccAddressList
Gets bcc address list.- Returns:
- the bcc address list
-
setBccAddressList
Sets bcc address list.- Parameters:
bccAddressList
- the bcc address list
-
getLocale
Gets locale.- Returns:
- the locale
-
setLocale
Sets locale.- Parameters:
locale
- the locale
-
getAttributeMap
Gets attribute map.- Returns:
- the attribute map
-
setAttributeMap
Sets attribute map.- Parameters:
attributeMap
- the attribute map
-
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
-
isReCheck
public boolean isReCheck()Is re check boolean.- Returns:
- the boolean
-
setReCheck
public void setReCheck(boolean reCheck) Sets re check.- Parameters:
reCheck
- the re check
-
getProduceDate
Gets produce date.- Returns:
- the produce date
-
setProduceDate
Sets produce date.- Parameters:
produceDate
- the produce date
-