T - public class NotificationActivityServiceImpl<T extends BaseActivity> extends AbstractActivityService<T> implements NotificationActivityService<T>
BaseActivity.feed, streamRepository, type| Constructor and Description |
|---|
NotificationActivityServiceImpl(BaseFeed feed,
Class type,
StreamRepository streamRepository) |
| Modifier and Type | Method and Description |
|---|---|
StreamResponse<NotificationActivity<T>> |
getActivities()
Get a list of activities using the standard filter (limit = 25).
|
StreamResponse<NotificationActivity<T>> |
getActivities(FeedFilter filter,
boolean markAsRead,
boolean markAsSeen)
List notification activities using the given filter.
|
StreamResponse<NotificationActivity<T>> |
getActivities(FeedFilter filter,
MarkedActivity markAsRead,
MarkedActivity markAsSeen)
List notification activities using the given filter.
|
addActivitypublic NotificationActivityServiceImpl(BaseFeed feed, Class type, StreamRepository streamRepository)
public StreamResponse<NotificationActivity<T>> getActivities() throws IOException, StreamClientException
NotificationActivityServicegetActivities in interface NotificationActivityService<T extends BaseActivity>IOExceptionStreamClientExceptionpublic StreamResponse<NotificationActivity<T>> getActivities(FeedFilter filter, boolean markAsRead, boolean markAsSeen) throws IOException, StreamClientException
NotificationActivityServiceMarkedActivity as read and/or seen.getActivities in interface NotificationActivityService<T extends BaseActivity>markAsRead - If true, mark all the activities as read. If false leave them untouched.markAsSeen - If true, mark all the activities as seen. If false leave them untouched.IOExceptionStreamClientExceptionpublic StreamResponse<NotificationActivity<T>> getActivities(FeedFilter filter, MarkedActivity markAsRead, MarkedActivity markAsSeen) throws IOException, StreamClientException
NotificationActivityServiceMarkedActivity as read and/or seen.getActivities in interface NotificationActivityService<T extends BaseActivity>markAsRead - A list of activity ids to be marked as read.markAsSeen - A list of activity ids to be marked as seen.IOExceptionStreamClientExceptionCopyright © 2015. All rights reserved.