Module is.codion.framework.model
Package is.codion.framework.model
Interface EditorLink.DetailEntity
- Enclosing interface:
EditorLink
public static interface EditorLink.DetailEntity
Builder input describing how to load the detail entity for a given master — the lowest-level
escape hatch when neither a EditorLink.DetailCondition nor a EditorLink.DetailSelect suffices (e.g.
when the detail row is computed rather than selected, or requires multiple round trips).
Invoked on a background thread whenever the framework needs to load the detail row — when the
master's active entity changes and on EntityEditor.EditorTasks.refresh().
Implementations must produce at most one entity; returning null signals "no detail row".
- See Also:
-
Method Summary
-
Method Details
-
detail
- Parameters:
master- the master entityconnection- the connection to use- Returns:
- the detail entity, or
nullif none is available
-