PermissionRepository

class PermissionRepository(database: Database) : ExposedAdapter

Constructors

Link copied to clipboard
constructor(database: Database)

Properties

Link copied to clipboard
val controller: Database?
Link copied to clipboard
Link copied to clipboard
val ref: WeakRef<Database>
Link copied to clipboard
val scope: CoroutineScope

Functions

Link copied to clipboard
fun createPermission(name: String, appId: Long): Result<Long>
Link copied to clipboard
Link copied to clipboard
fun getPermission(id: Long): Result<ResultRow>
Link copied to clipboard
Link copied to clipboard
open override fun handle(event: ControllerEvent)
fun handle(controller: Database, event: ControllerEvent)
Link copied to clipboard
operator fun <Result> invoke(function: Database.() -> Result?): Result?
Link copied to clipboard
suspend fun <Result> invokeSuspend(function: suspend Database.() -> Result?): Result?
Link copied to clipboard
Link copied to clipboard