Package org.cyclos.services.messaging
Interface AlertService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SystemAlertSearchDatagetSystemSearchData()Returns data for searching the system alerts historyUserAlertSearchDatagetUserSearchData()Returns data for searching the user alerts historyvoidremove(@NotNull Long id)Removes the given alertvoidremoveAll(@NotNull Set<Long> ids)Removes all the given alertsPage<SystemAlertVO>searchSystem(@NotNull SystemAlertQuery alertQuery)Searches for system alerts historyPage<UserAlertVO>searchUser(@NotNull UserAlertQuery alertQuery)Searches for user alerts history
-
-
-
Method Detail
-
getSystemSearchData
SystemAlertSearchData getSystemSearchData() throws FrameworkException
Returns data for searching the system alerts history- Throws:
FrameworkException
-
getUserSearchData
UserAlertSearchData getUserSearchData() throws FrameworkException
Returns data for searching the user alerts history- Throws:
FrameworkException
-
remove
void remove(@NotNull @NotNull Long id) throws FrameworkExceptionRemoves the given alert- Throws:
FrameworkException
-
removeAll
void removeAll(@NotNull @NotNull Set<Long> ids) throws FrameworkExceptionRemoves all the given alerts- Throws:
FrameworkException
-
searchSystem
Page<SystemAlertVO> searchSystem(@NotNull @NotNull SystemAlertQuery alertQuery) throws FrameworkException
Searches for system alerts history- Throws:
FrameworkException
-
searchUser
Page<UserAlertVO> searchUser(@NotNull @NotNull UserAlertQuery alertQuery) throws FrameworkException
Searches for user alerts history- Throws:
FrameworkException
-
-