ServerRepositoryImpl

@Singleton
@Primary
class ServerRepositoryImpl(serverModelRepository: ServerModelRepository) : ServerRepository

Constructors

Link copied to clipboard
constructor(serverModelRepository: ServerModelRepository)

Functions

Link copied to clipboard
open override fun deleteAll()
Link copied to clipboard
open override fun deleteById(id: ServerId): Server?
Link copied to clipboard
open override fun findAll(): List<Server>
Link copied to clipboard
open override fun findById(id: ServerId): Server?
Link copied to clipboard
open override fun findByMember(username: String): List<Server>
Link copied to clipboard
open override fun isUserInServer(serverId: ServerId, username: String): Boolean
Link copied to clipboard
open override fun save(entity: Server)
Link copied to clipboard
open override fun update(entity: Server)