Finder

interface Finder<T : Any>

Typed lookup utility for table columns by identifier and kind.

Implementations typically search the owning TableSchema's columns and return the first match appropriate for the requested type (e.g., text, number).

Inheritors

Functions

Link copied to clipboard
abstract fun all(): List<T>

Returns all matching items.

Link copied to clipboard
abstract fun barcode(key: String?): T?

Finds a barcode item by its identifier.

Link copied to clipboard
abstract fun block(key: String?): T?

Finds a block (rich text) item by its identifier.

Link copied to clipboard
abstract fun date(key: String?): T?

Finds a date item by its identifier.

Link copied to clipboard
abstract fun dropdown(key: String?): T?

Finds a dropdown (single-select) item by its identifier.

Link copied to clipboard
abstract fun file(key: String?): T?

Finds a file item by its identifier.

Link copied to clipboard
abstract fun find(key: String?): T?

Finds an item by its identifier.

Link copied to clipboard
abstract fun image(key: String?): T?

Finds an image item by its identifier.

Link copied to clipboard
abstract fun multiSelect(key: String?): T?

Finds a multi-select item by its identifier.

Link copied to clipboard
abstract fun number(key: String?): T?

Finds a numeric item by its identifier.

Link copied to clipboard
abstract fun signature(key: String?): T?

Finds a signature item by its identifier.

Link copied to clipboard
abstract fun text(key: String?): T?

Finds a text item by its identifier.

Link copied to clipboard
abstract fun textArea(key: String?): T?

Finds a multi-line text area item by its identifier.