Package org.cyclos.services.messaging
Interface MailingListService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MailingListSearchDatagetSearchData()Returns data for searching Mailing lists.SendMailingListDatagetSendData(@NotNull MailingListType type)Returns data for sending a mailing list with the specified type.MailingListDetailedVOload(@NotNull Long id)Loads a mailing list by idPage<MailingListVO>search(@NotNull MailingListQuery query)Searches for Mailing list according to the given criteria.intsend(@NotNull SendMailingListDTO object)Sends a message to the specified recipients (groups/users) and return the total of users that will receive the message.
-
-
-
Method Detail
-
getSearchData
MailingListSearchData getSearchData() throws FrameworkException
Returns data for searching Mailing lists.- Throws:
FrameworkException
-
getSendData
SendMailingListData getSendData(@NotNull @NotNull MailingListType type) throws FrameworkException
Returns data for sending a mailing list with the specified type.- Throws:
FrameworkException
-
load
MailingListDetailedVO load(@NotNull @NotNull Long id) throws FrameworkException
Loads a mailing list by id- Throws:
FrameworkException
-
search
Page<MailingListVO> search(@NotNull @NotNull MailingListQuery query) throws FrameworkException
Searches for Mailing list according to the given criteria.- Throws:
FrameworkException
-
send
int send(@NotNull @NotNull SendMailingListDTO object) throws FrameworkExceptionSends a message to the specified recipients (groups/users) and return the total of users that will receive the message.- Throws:
FrameworkException
-
-