public final class TopicsQuery
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static TopicsQuery |
all()
Get all topics.
|
static TopicsQuery |
find(java.lang.String name)
Find topics by name or description.
|
static TopicsQuery |
followedByUser(UserId userId)
Get topics followed by a specific user.
|
java.lang.String |
getSearchTerm() |
TopicsQuery |
onlyTrending(boolean trending)
Get trending topics.
|
TopicsQuery |
withLabels(java.util.List<java.lang.String> labels)
Get topics with the specified labels.
|
TopicsQuery |
withProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Get topics with the specified properties.
|
public static TopicsQuery all()
public static TopicsQuery find(java.lang.String name)
name
- topics name/description or part of it.public static TopicsQuery followedByUser(UserId userId)
userId
- ID of user.public TopicsQuery onlyTrending(boolean trending)
trending
- Only trending or all topics.public TopicsQuery withLabels(java.util.List<java.lang.String> labels)
labels
- List of labels.public TopicsQuery withProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties
- Properties.public java.lang.String getSearchTerm()
find(String)
. Empty string if searching for all topics.(c) Copyright GetSocial BV, 2022. All Rights Reserved.