Interface NotificationServiceSrv.Iface
- All Known Implementing Classes:
NotificationServiceSrv.Client
- Enclosing class:
- NotificationServiceSrv
public static interface NotificationServiceSrv.Iface
Интерфейс для работы с нотификациями
-
Method Summary
Modifier and Type Method Description Notificationcreate(Notification notification)NotificationListResponsegetAll(Page page, Filter filter)NotificationgetById(long id)voidremove(long id)voidupdateStatus(long id, NotificationStatus notification_status)ValidationResponsevalidate(Notification notification)
-
Method Details
-
create
Notification create(Notification notification) throws NotificationServiceException, org.apache.thrift.TException- Throws:
NotificationServiceExceptionorg.apache.thrift.TException
-
remove
void remove(long id) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
updateStatus
void updateStatus(long id, NotificationStatus notification_status) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
validate
- Throws:
org.apache.thrift.TException
-
getAll
- Throws:
org.apache.thrift.TException
-
getById
- Throws:
org.apache.thrift.TException
-