-
public interface QueryThreadsStateContains the state related to threads queries.
-
-
Method Summary
Modifier and Type Method Description abstract FilterObjectgetFilter()The filter associated with the query threads state. abstract QuerySorter<Thread>getSort()The sort object associated with the query threads state. abstract StateFlow<List<Thread>>getThreads()Sorted list of Threads. abstract StateFlow<Boolean>getLoading()Indicator if the current state is being loaded. abstract StateFlow<Boolean>getLoadingMore()Indicator if the current state is loading more threads (a next page is being loaded). abstract StateFlow<String>getNext()The identifier for the next page of threads. abstract StateFlow<Set<String>>getUnseenThreadIds()The IDs of the threads which exist, but are not (yet) loaded in the paginated list of threads. -
-
Method Detail
-
getFilter
abstract FilterObject getFilter()
The filter associated with the query threads state.
-
getSort
abstract QuerySorter<Thread> getSort()
The sort object associated with the query threads state.
-
getThreads
abstract StateFlow<List<Thread>> getThreads()
Sorted list of Threads.
-
getLoading
abstract StateFlow<Boolean> getLoading()
Indicator if the current state is being loaded.
-
getLoadingMore
abstract StateFlow<Boolean> getLoadingMore()
Indicator if the current state is loading more threads (a next page is being loaded).
-
getNext
abstract StateFlow<String> getNext()
The identifier for the next page of threads. null-value represents that the last page is loaded and there are no more threads to load.
-
getUnseenThreadIds
abstract StateFlow<Set<String>> getUnseenThreadIds()
The IDs of the threads which exist, but are not (yet) loaded in the paginated list of threads.
-
-
-
-