Rows

interface Rows<out M : RowManager>

Properties

Link copied to clipboard
abstract val state: Live<RowState<M>>

Functions

Link copied to clipboard
abstract fun all(): List<M>
Link copied to clipboard
abstract fun append(defaultId: String? = null, origin: Origin = Origin.User): M
Link copied to clipboard
abstract fun appendAfter(id: String, defaultId: String? = null, origin: Origin = Origin.User): M?
Link copied to clipboard
abstract fun applyFilters(editor: TableEditor): List<M>
Link copied to clipboard
abstract fun create(empty: Boolean = false, id: String? = null): M
Link copied to clipboard
abstract fun delete(keys: List<String>, origin: Origin = Origin.User): List<M>
Link copied to clipboard
abstract fun disableFilters()
Link copied to clipboard
abstract fun down(id: String, by: Int = 1, origin: Origin = Origin.User): RowResult<Row>
Link copied to clipboard
abstract fun find(id: String): M?
Link copied to clipboard
abstract fun up(id: String, by: Int = 1, origin: Origin = Origin.User): RowResult<Row>