| Package | Description |
|---|---|
| io.getstream.client.exception | |
| io.getstream.client.model.feeds | |
| io.getstream.client.repo | |
| io.getstream.client.service |
| Modifier and Type | Class and Description |
|---|---|
class |
AuthenticationFailedException
In case the authentication failed on remote side (http status code: 401/403).
|
class |
InternalServerException
In case of invalid input on remote side (http status code: 400).
|
class |
InvalidFeedNameException
Exception returned in case the feed slug or the feed id are
not valid.ß
|
class |
InvalidOrMissingInputException
In case the authentication failed on remote side (http status code: 401).
|
class |
ResourceNotFoundException
In case of invalid URI (http status code: 404).
|
| Modifier and Type | Method and Description |
|---|---|
MetaResponse |
PersonalizedFeedImpl.addMeta(PersonalizedFeed feed,
Serializable metaPayload) |
MetaResponse |
PersonalizedFeed.addMeta(PersonalizedFeed feed,
Serializable metaPayload)
"Certain objects such as user profiles, product details etc.
|
void |
Feed.deleteActivity(String activityId)
Removes an activity from the feed.
|
void |
BaseFeed.deleteActivity(String activityId) |
void |
Feed.deleteActivityByForeignId(String foreignId)
Removes an activity from the feed.
|
void |
BaseFeed.deleteActivityByForeignId(String foreignId) |
void |
Feed.follow(String feedSlug,
String userId)
Follows the given target feed.
|
void |
BaseFeed.follow(String feedSlug,
String userId) |
void |
Feed.follow(String feedSlug,
String userId,
int activityCopyLimit)
Follows the given target feed.
|
void |
BaseFeed.follow(String feedSlug,
String userId,
int activityCopyLimit) |
void |
Feed.followMany(FollowMany follows)
Follow many feed in one shot.
|
void |
BaseFeed.followMany(FollowMany follows) |
void |
Feed.followMany(FollowMany follows,
int activityCopyLimit)
Follow many feed in one shot.
|
void |
BaseFeed.followMany(FollowMany follows,
int activityCopyLimit) |
<T extends PersonalizedActivity> |
PersonalizedFeedImpl.get(Class<T> type,
FeedFilter filter) |
<T extends PersonalizedActivity> |
PersonalizedFeed.get(Class<T> type,
FeedFilter filter)
Read a personalized feed.
|
List<FeedFollow> |
Feed.getFollowers()
Lists the followers of the feed.
|
List<FeedFollow> |
BaseFeed.getFollowers() |
List<FeedFollow> |
Feed.getFollowers(FeedFilter filter)
Lists the followers of the feed using the given filter.
|
List<FeedFollow> |
BaseFeed.getFollowers(FeedFilter filter) |
List<FeedFollow> |
Feed.getFollowing()
List the feeds which this feed is following.
|
List<FeedFollow> |
BaseFeed.getFollowing() |
List<FeedFollow> |
Feed.getFollowing(FeedFilter filter)
List the feeds which this feed is following using the give filter.
|
List<FeedFollow> |
BaseFeed.getFollowing(FeedFilter filter) |
<T extends Serializable> |
PersonalizedFeedImpl.getInterest(Class<T> type) |
<T extends Serializable> |
PersonalizedFeed.getInterest(Class<T> type)
Read the taste/ endpoint.
|
void |
Feed.unfollow(String feedSlug,
String userId)
Unfollow the given target feed.
|
void |
BaseFeed.unfollow(String feedSlug,
String userId) |
void |
Feed.unfollow(String feedSlug,
String userId,
boolean keepHistory)
Unfollow the given target feed.
|
void |
BaseFeed.unfollow(String feedSlug,
String userId,
boolean keepHistory) |
| Modifier and Type | Method and Description |
|---|---|
<T extends BaseActivity> |
StreamRepository.addActivities(BaseFeed feed,
Class<T> type,
List<T> activities)
Add a new list of activities to the given feed.
|
<T extends BaseActivity> |
StreamRepository.addActivity(BaseFeed feed,
T activity)
Add a new activity to the given feed.
|
<T extends BaseActivity> |
StreamRepository.addActivityToMany(List<String> targetIds,
T activity)
Add a new activity of type
T to multiple feeds. |
MetaResponse |
StreamPersonalizedRepository.addMeta(PersonalizedFeed feed,
Serializable metaPayload)
"Certain objects such as user profiles, product details etc.
|
void |
StreamRepository.deleteActivityByForeignId(BaseFeed feed,
String foreignId)
Delete activity by foreign id.
|
void |
StreamRepository.deleteActivityById(BaseFeed feed,
String activityId)
Delete activity by activity id.
|
void |
StreamRepository.follow(BaseFeed feed,
String targetFeedId,
int activityCopyLimit)
Follow a feed.
|
void |
StreamRepository.followMany(BaseFeed feed,
FollowMany followManyInput,
int activityCopyLimit)
Follow many feed in one shot.
|
<T extends PersonalizedActivity> |
StreamPersonalizedRepository.get(PersonalizedFeed feed,
Class<T> type,
FeedFilter filter)
Read a personalized feed.
|
<T extends BaseActivity> |
StreamRepository.getActivities(BaseFeed feed,
Class<T> type,
FeedFilter filter)
Lists the activities in the given feed.
|
<T extends BaseActivity> |
StreamRepository.getAggregatedActivities(BaseFeed feed,
Class<T> type,
FeedFilter filter)
List aggregated activities.
|
List<FeedFollow> |
StreamRepository.getFollowers(BaseFeed feed,
FeedFilter filter)
Lists the followers for the given feed.
|
List<FeedFollow> |
StreamRepository.getFollowing(BaseFeed feed,
FeedFilter filter)
List the feeds which the given feed is following.
|
<T extends Serializable> |
StreamPersonalizedRepository.getInterest(PersonalizedFeed feed,
Class<T> type)
Read the taste/ endpoint.
|
<T extends BaseActivity> |
StreamRepository.getNotificationActivities(BaseFeed feed,
Class<T> type,
FeedFilter filter)
List notification activities.
|
<T extends BaseActivity> |
StreamRepository.getNotificationActivities(BaseFeed feed,
Class<T> type,
FeedFilter filter,
boolean markAsRead,
boolean markAsSeen)
List notifications marking the activities as read and/or as seen.
|
<T extends BaseActivity> |
StreamRepository.getNotificationActivities(BaseFeed feed,
Class<T> type,
FeedFilter filter,
MarkedActivity markAsRead,
MarkedActivity markAsSeen)
List notifications marking some of them as read and/or as seen.
|
void |
StreamRepository.unfollow(BaseFeed feed,
String targetFeedId,
boolean keepHistory)
Unfollow a feed.
|
<T extends BaseActivity> |
StreamRepository.updateActivities(BaseFeed feed,
Class<T> type,
List<T> activities)
Update activities (foreignId and time are mandatory fields).
|
| Modifier and Type | Method and Description |
|---|---|
StreamActivitiesResponse<T> |
AbstractActivityService.addActivities(List<T> activities)
Add a new activity of type
T. |
T |
AbstractActivityService.addActivity(T activity)
Add a new activity of type
T. |
T |
AbstractActivityService.addActivityToMany(List<String> targetIds,
T activity)
Add a new activity of type
T to multiple feeds. |
StreamResponse<T> |
UserActivityServiceImpl.getActivities() |
StreamResponse<T> |
UserActivityService.getActivities()
List user activities using the standard filter (limit = 25).
|
StreamResponse<NotificationActivity<T>> |
NotificationActivityServiceImpl.getActivities() |
StreamResponse<NotificationActivity<T>> |
NotificationActivityService.getActivities()
Get a list of activities using the standard filter (limit = 25).
|
StreamResponse<T> |
FlatActivityServiceImpl.getActivities() |
StreamResponse<T> |
FlatActivityService.getActivities()
List flat activities.
|
StreamResponse<AggregatedActivity<T>> |
AggregatedActivityServiceImpl.getActivities() |
StreamResponse<AggregatedActivity<T>> |
AggregatedActivityService.getActivities()
List aggregated activities.
|
StreamResponse<T> |
UserActivityServiceImpl.getActivities(FeedFilter filter) |
StreamResponse<T> |
UserActivityService.getActivities(FeedFilter filter)
List user activities using the given filter.
|
StreamResponse<T> |
FlatActivityServiceImpl.getActivities(FeedFilter filter) |
StreamResponse<T> |
FlatActivityService.getActivities(FeedFilter filter)
List flat activities using a given filter.
|
StreamResponse<AggregatedActivity<T>> |
AggregatedActivityServiceImpl.getActivities(FeedFilter filter) |
StreamResponse<AggregatedActivity<T>> |
AggregatedActivityService.getActivities(FeedFilter filter)
List aggregated activities.
|
StreamResponse<NotificationActivity<T>> |
NotificationActivityServiceImpl.getActivities(FeedFilter filter,
boolean markAsRead,
boolean markAsSeen) |
StreamResponse<NotificationActivity<T>> |
NotificationActivityService.getActivities(FeedFilter filter,
boolean markAsRead,
boolean markAsSeen)
List notification activities using the given filter.
|
StreamResponse<NotificationActivity<T>> |
NotificationActivityServiceImpl.getActivities(FeedFilter filter,
MarkedActivity markAsRead,
MarkedActivity markAsSeen) |
StreamResponse<NotificationActivity<T>> |
NotificationActivityService.getActivities(FeedFilter filter,
MarkedActivity markAsRead,
MarkedActivity markAsSeen)
List notification activities using the given filter.
|
StreamActivitiesResponse<T> |
AbstractActivityService.updateActivities(List<T> activities)
Add a new activity of type
T. |
Copyright © 2017. All rights reserved.