IPublicUserAPI

interface IPublicUserAPI

Functions

Link copied to clipboard
abstract suspend fun getAllUserComments(userID: Long): List<Comment>

Get all user comments.

abstract suspend fun <T> getAllUserComments(userID: Long, eachGetOperation: suspend (List<Comment>) -> T): List<Comment>

Get all user comments and after each get operation, run lambda block with result of get operation.

Link copied to clipboard
abstract suspend fun getAllUserEntries(userID: Long): List<Entry>

Get all user entries.

abstract suspend fun <T> getAllUserEntries(userID: Long, eachGetOperation: suspend (List<Entry>) -> T): List<Entry>

Get all user entries and after each get operation, run lambda block with result of get operation.

Link copied to clipboard
abstract suspend fun getUserByID(userID: Long): Subsite

Get user information by ID

Link copied to clipboard
abstract suspend fun getUserComments(userID: Long, count: Int, offset: Int): List<Comment>

Get user comments

Link copied to clipboard
abstract suspend fun getUserEntries(userID: Long, count: Int, offset: Int): List<Entry>

Get user entries

Inheritors

Link copied to clipboard