public interface MailingListService extends Service
| Modifier and Type | Method and Description |
|---|---|
MailingListSearchData |
getSearchData()
Returns data for searching Mailing lists.
|
SendMailingListData |
getSendData(@NotNull MailingListType type)
Returns data for sending a mailing list with the specified type.
|
MailingListDetailedVO |
load(@NotNull java.lang.Long id)
Loads a mailing list by id
|
Page<MailingListVO> |
search(@NotNull MailingListQuery query)
Searches for Mailing list according to the given criteria.
|
int |
send(@NotNull SendMailingListDTO object)
Sends a message to the specified recipients (groups/users) and return the total of users that will receive the
message.
|
MailingListSearchData getSearchData() throws FrameworkException
FrameworkExceptionSendMailingListData getSendData(@NotNull @NotNull MailingListType type) throws FrameworkException
FrameworkExceptionMailingListDetailedVO load(@NotNull @NotNull java.lang.Long id) throws FrameworkException
FrameworkExceptionPage<MailingListVO> search(@NotNull @NotNull MailingListQuery query) throws FrameworkException
FrameworkExceptionint send(@NotNull
@NotNull SendMailingListDTO object)
throws FrameworkException
FrameworkException