kotose-form-kmp
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kotose-form-kmp
kotose-form-core
/
io.github.robinpcrd.kotose.form
/
Transaction
Transaction
class
Transaction
Members
Functions
add
Link copied to clipboard
fun
add
(
group
:
Group
,
idx
:
Int
?
=
null
)
:
Boolean
fun
add
(
groups
:
Collection
<
Group
>
,
idx
:
Int
?
=
null
)
:
Boolean
fun
add
(
field
:
Field
<
*
>
,
group
:
Group
,
idx
:
Int
?
=
null
,
skipGroupValidation
:
Boolean
=
true
)
:
Boolean
fun
add
(
fields
:
Collection
<
Field
<
*
>
>
,
group
:
Group
,
idx
:
Int
?
=
null
,
skipGroupValidation
:
Boolean
=
true
)
:
Boolean
commit
Link copied to clipboard
fun
commit
(
)
Apply all pending operations immediately without reloading the form, then clear the queue
remove
Link copied to clipboard
fun
remove
(
group
:
Group
?
,
idx
:
Int
?
=
null
)
fun
remove
(
groups
:
Collection
<
Group
>
,
idx
:
Int
?
=
null
)
fun
remove
(
field
:
Field
<
*
>
?
,
group
:
Group
?
=
field?.parent
,
idx
:
Int
?
=
null
)
fun
remove
(
fields
:
Collection
<
Field
<
*
>
>
,
group
:
Group
?
,
idx
:
Int
?
=
null
)