QueryDatasetListener

Follows the changes of QueryDatasets: every listener validates a change before any applys it, so a listener that cannot follow a change (a gateway that cannot be built, a name an aggregate takes) refuses it for all of them.

Functions

Link copied to clipboard
abstract fun apply(change: QueryDatasetChange)

Follows change, which every listener accepted and the datasets already show.

Link copied to clipboard
open fun validate(change: QueryDatasetChange)

Refuses change by throwing; nothing has changed yet.