toggle menu
lib
0.0.266
jvm
switch theme
search in API
lib
/
com.prettybyte.klerk.collection
/
ModelCollections
Model
Collections
open
class
ModelCollections
<
T
:
Any
,
C
:
KlerkContext
>
Members
Constructors
Model
Collections
Link copied to clipboard
constructor
(
)
Properties
all
Link copied to clipboard
val
all
:
AllModelCollection
<
T
,
C
>
A collection of all models in this view (i.e. all models of type T).
Functions
did
Create
Link copied to clipboard
open
fun
didCreate
(
created
:
Model
<
T
>
)
did
Delete
Link copied to clipboard
open
fun
didDelete
(
deleted
:
Model
<
T
>
)
did
Update
Link copied to clipboard
open
fun
didUpdate
(
before
:
Model
<
T
>
,
after
:
Model
<
T
>
)
initialize
Link copied to clipboard
open
fun
initialize
(
)