toggle menu
flatInvoker
jvm
switch theme
search in API
reaktor-auth
/
dev.shibasis.reaktor.auth.repositories
/
AppRepository
App
Repository
jvm
class
AppRepository
(
database
:
Database
)
:
ExposedAdapter
Members
Constructors
App
Repository
Link copied to clipboard
jvm
constructor
(
database
:
Database
)
Properties
controller
Link copied to clipboard
jvm
val
controller
:
Database
?
NULL_CONTROLLER
Link copied to clipboard
jvm
val
NULL_CONTROLLER
:
Error
ref
Link copied to clipboard
jvm
val
ref
:
WeakRef
<
Database
>
scope
Link copied to clipboard
jvm
val
scope
:
CoroutineScope
Functions
create
App
Link copied to clipboard
jvm
fun
createApp
(
name
:
String
,
data
:
JsonElement
)
:
Result
<
Long
>
delete
App
Link copied to clipboard
jvm
fun
deleteApp
(
id
:
Long
)
:
Result
<
Int
>
get
App
Link copied to clipboard
jvm
fun
getApp
(
id
:
Long
)
:
Result
<
ResultRow
>
get
Apps
Link copied to clipboard
jvm
fun
getApps
(
)
:
Result
<
List
<
App
>
>
handle
Link copied to clipboard
jvm
open
override
fun
handle
(
event
:
ControllerEvent
)
fun
handle
(
controller
:
Database
,
event
:
ControllerEvent
)
invoke
Link copied to clipboard
jvm
operator
fun
<
Result
>
invoke
(
function
:
Database
.
(
)
->
Result
?
)
:
Result
?
invoke
Suspend
Link copied to clipboard
jvm
suspend
fun
<
Result
>
invokeSuspend
(
function
:
suspend
Database
.
(
)
->
Result
?
)
:
Result
?
null
Controller
Result
Link copied to clipboard
jvm
fun
<
T
>
nullControllerResult
(
)
:
Result
<
T
>
update
App
Link copied to clipboard
jvm
fun
updateApp
(
id
:
Long
,
name
:
String
,
data
:
String
)
:
Result
<
Int
>