Package io.getstream.core
Class StreamReactions
- java.lang.Object
-
- io.getstream.core.StreamReactions
-
public final class StreamReactions extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java8.util.concurrent.CompletableFuture<Reaction>
add(Token token, java.lang.String userID, Reaction reaction, FeedID... targetFeeds)
java8.util.concurrent.CompletableFuture<java.lang.Void>
delete(Token token, java.lang.String id)
java8.util.concurrent.CompletableFuture<java.util.List<Reaction>>
filter(Token token, LookupKind lookup, java.lang.String id, Filter filter, Limit limit, java.lang.String kind)
java8.util.concurrent.CompletableFuture<java.util.List<Reaction>>
filter(Token token, LookupKind lookup, java.lang.String id, Filter filter, Limit limit, java.lang.String kind, java.lang.Boolean withOwnChildren)
java8.util.concurrent.CompletableFuture<Reaction>
get(Token token, java.lang.String id)
java8.util.concurrent.CompletableFuture<Paginated>
getPaginated(Token token, java.lang.String id)
java8.util.concurrent.CompletableFuture<Paginated<Reaction>>
paginatedFilter(Token token, LookupKind lookup, java.lang.String id, Filter filter, Limit limit, java.lang.String kind)
java8.util.concurrent.CompletableFuture<Paginated<Reaction>>
paginatedFilter(Token token, LookupKind lookup, java.lang.String id, Filter filter, Limit limit, java.lang.String kind, java.lang.Boolean withOwnChildren)
java8.util.concurrent.CompletableFuture<Paginated<Reaction>>
paginatedFilter(Token token, java.lang.String next)
java8.util.concurrent.CompletableFuture<java.lang.Void>
update(Token token, Reaction reaction, FeedID... targetFeeds)
-
-
-
Method Detail
-
get
public java8.util.concurrent.CompletableFuture<Reaction> get(Token token, java.lang.String id) throws StreamException
- Throws:
StreamException
-
getPaginated
public java8.util.concurrent.CompletableFuture<Paginated> getPaginated(Token token, java.lang.String id) throws StreamException
- Throws:
StreamException
-
filter
public java8.util.concurrent.CompletableFuture<java.util.List<Reaction>> filter(Token token, LookupKind lookup, java.lang.String id, Filter filter, Limit limit, java.lang.String kind) throws StreamException
- Throws:
StreamException
-
filter
public java8.util.concurrent.CompletableFuture<java.util.List<Reaction>> filter(Token token, LookupKind lookup, java.lang.String id, Filter filter, Limit limit, java.lang.String kind, java.lang.Boolean withOwnChildren) throws StreamException
- Throws:
StreamException
-
paginatedFilter
public java8.util.concurrent.CompletableFuture<Paginated<Reaction>> paginatedFilter(Token token, LookupKind lookup, java.lang.String id, Filter filter, Limit limit, java.lang.String kind) throws StreamException
- Throws:
StreamException
-
paginatedFilter
public java8.util.concurrent.CompletableFuture<Paginated<Reaction>> paginatedFilter(Token token, LookupKind lookup, java.lang.String id, Filter filter, Limit limit, java.lang.String kind, java.lang.Boolean withOwnChildren) throws StreamException
- Throws:
StreamException
-
paginatedFilter
public java8.util.concurrent.CompletableFuture<Paginated<Reaction>> paginatedFilter(Token token, java.lang.String next) throws StreamException
- Throws:
StreamException
-
add
public java8.util.concurrent.CompletableFuture<Reaction> add(Token token, java.lang.String userID, Reaction reaction, FeedID... targetFeeds) throws StreamException
- Throws:
StreamException
-
update
public java8.util.concurrent.CompletableFuture<java.lang.Void> update(Token token, Reaction reaction, FeedID... targetFeeds) throws StreamException
- Throws:
StreamException
-
delete
public java8.util.concurrent.CompletableFuture<java.lang.Void> delete(Token token, java.lang.String id) throws StreamException
- Throws:
StreamException
-
-