public final class GroupsQuery
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static GroupsQuery |
all()
Get all groups.
|
static GroupsQuery |
find(java.lang.String name)
Find groups by name or description.
|
GroupsQuery |
followedByUser(UserId userId)
Get groups followed by a specific user.
|
java.lang.String |
getSearchTerm() |
GroupsQuery |
withMember(UserId userId) |
public static GroupsQuery all()
public static GroupsQuery find(java.lang.String name)
name
- groups name/description or part of it.public GroupsQuery followedByUser(UserId userId)
userId
- ID of user.public GroupsQuery withMember(UserId userId)
public java.lang.String getSearchTerm()
find(String)
. Empty string if searching for all groups.(c) Copyright GetSocial BV, 2021. All Rights Reserved.