The most important controller trait in Ada defining functionality of each data set, in particular its "data" presentation part.
The most important controller trait in Ada defining functionality of each data set, in particular its "data" presentation part.
It contains actions to handle:
views (getView
, getViewElementsAndWidgetsCallback
),
analytics (getDistribution
, calcDistribution
, calcPearsonCorrelations
),
and exporting (exportViewRecordsAsCsv
, exportTableRecordsAsJson
).
To access/call the actions two routes are available: DataSetRouter
and DataSetJsRouter
.
These can be used typically through the web context passed around as an implicit (DataSetWebContext
).
Handling of the access permissions and dispatching based on a provided data set id is done in DataSetDispatcher
,
which by default uses a default implementation DataSetControllerImpl
unless specified otherwise.
Note that each associated meta-data type has its own controller such as CategoryController
and DictionaryController
,
which are linked to the data set controller by a data set id.
2016
Container for various calls available for the data set controller.
Container for various calls available for the data set controller. To be passed to other modules like views to simplify access to data set actions.
Container for various calls from Controllers.
Container for various calls from Controllers. To be passed to other modules like views to simplify data access.