Trait

org.ada.web.controllers.dataset

DataSetController

Related Doc: package dataset

Permalink

trait DataSetController extends ReadonlyController[BSONObjectID]

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.

Since

2016

Linear Supertypes
ReadonlyController[BSONObjectID], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DataSetController
  2. ReadonlyController
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def calcComparison(fieldName: String, filterOrIds: Seq[FilterOrId]): Action[AnyContent]

    Permalink
  2. abstract def calcCumulativeCount(fieldName: String, groupFieldName: Option[String], filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  3. abstract def calcDistribution(fieldName: String, groupFieldName: Option[String], filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  4. abstract def calcHeatmap(xFieldName: String, yFieldName: String, valueFieldName: Option[String], aggType: Option[server.models.AggType.Value], filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  5. abstract def calcMatthewsCorrelations(filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  6. abstract def calcPearsonCorrelations(filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  7. abstract def calcScatter(xFieldName: String, yFieldName: String, groupOrValueFieldName: Option[String], filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  8. abstract def cluster(mlModelId: BSONObjectID, inputFieldNames: Seq[String], filterId: Option[BSONObjectID], featuresNormalizationType: Option[incal.spark_ml.models.VectorScalerType.Value], pcaDims: Option[Int]): Action[AnyContent]

    Permalink
  9. abstract def exportTableRecordsAsCsv(tableColumnNames: Seq[String], delimiter: String, replaceEolWithSpace: Boolean, eol: Option[String], filter: Seq[FilterCondition], tableColumnsOnly: Boolean, useDisplayValues: Boolean, escapeStringValues: Boolean, selectedOnly: Boolean, selectedIds: Seq[BSONObjectID]): Action[AnyContent]

    Permalink
  10. abstract def exportTableRecordsAsJson(tableColumnNames: Seq[String], filter: Seq[FilterCondition], tableColumnsOnly: Boolean, useDisplayValues: Boolean, selectedOnly: Boolean, selectedIds: Seq[BSONObjectID]): Action[AnyContent]

    Permalink
  11. abstract def exportTranSMARTDataFile(delimiter: String, visitFieldName: Option[String], replaceEolWithSpace: Boolean): Action[AnyContent]

    Permalink
  12. abstract def exportTranSMARTMappingFile(delimiter: String, visitFieldName: Option[String], replaceEolWithSpace: Boolean): Action[AnyContent]

    Permalink
  13. abstract def exportViewRecordsAsCsv(dataViewId: BSONObjectID, delimiter: String, replaceEolWithSpace: Boolean, eol: Option[String], filter: Seq[FilterCondition], tableColumnsOnly: Boolean, useDisplayValues: Boolean, escapeStringValues: Boolean): Action[AnyContent]

    Permalink
  14. abstract def exportViewRecordsAsJson(dataViewId: BSONObjectID, filter: Seq[FilterCondition], tableColumnsOnly: Boolean, useDisplayValues: Boolean): Action[AnyContent]

    Permalink
  15. abstract def find(page: Int, orderBy: String, filter: Seq[FilterCondition]): Action[AnyContent]

    Permalink
    Definition Classes
    ReadonlyController
  16. abstract def findCustom(filterOrId: FilterOrId, orderBy: String, projection: Seq[String], limit: Option[Int], skip: Option[Int]): Action[AnyContent]

    Permalink
  17. abstract def generateTable(page: Int, orderBy: String, fieldNames: Seq[String], filterOrId: FilterOrId, tableSelection: Boolean): Action[AnyContent]

    Permalink
  18. abstract def generateTableWithFilter(page: Int, orderBy: String, fieldNames: Seq[String], filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  19. abstract def get(id: BSONObjectID): Action[AnyContent]

    Permalink
    Definition Classes
    ReadonlyController
  20. abstract def getCategoriesWithFieldsAsTreeNodes(filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  21. abstract def getClusterization: Action[AnyContent]

    Permalink
  22. abstract def getComparison(filterOrIds: Seq[FilterOrId]): Action[AnyContent]

    Permalink
  23. abstract def getCumulativeCount(filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  24. abstract def getDefaultView: Action[AnyContent]

    Permalink

    Gets a redirect to a default view for the data set associated with this controller.

    Gets a redirect to a default view for the data set associated with this controller. Default view is flagged with "default: true". If more than one exists redirects to the first one.

  25. abstract def getDistribution(filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  26. abstract def getField(fieldName: String): Action[AnyContent]

    Permalink
  27. abstract def getFieldNamesAndLabels(fieldTypeIds: Seq[server.models.FieldTypeId.Value]): Action[AnyContent]

    Permalink
  28. abstract def getFieldTypeWithAllowedValues(fieldName: String): Action[AnyContent]

    Permalink
  29. abstract def getFieldValue(id: BSONObjectID, fieldName: String): Action[AnyContent]

    Permalink
  30. abstract def getFields(fieldTypeIds: Seq[server.models.FieldTypeId.Value]): Action[AnyContent]

    Permalink
  31. abstract def getHeatmap(filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  32. abstract def getIndependenceTest(filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  33. abstract def getMatthewsCorrelations(filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  34. abstract def getNewFilter: Action[AnyContent]

    Permalink
  35. abstract def getNewFilterViewElementsAndWidgetsCallback(dataViewId: BSONObjectID, tableOrder: String, totalCount: Int): Action[AnyContent]

    Permalink
  36. abstract def getPearsonCorrelations(filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  37. abstract def getScatter(filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  38. abstract def getSeriesProcessingSpec: Action[AnyContent]

    Permalink
    Annotations
    @Deprecated
  39. abstract def getSeriesTransformationSpec: Action[AnyContent]

    Permalink
    Annotations
    @Deprecated
  40. abstract def getTable(filterOrId: FilterOrId): Action[AnyContent]

    Permalink
  41. abstract def getView(dataViewId: BSONObjectID, tablePages: Seq[PageOrder], filterOrIds: Seq[FilterOrId], filterChanged: Boolean): Action[AnyContent]

    Permalink
  42. abstract def getViewElementsAndWidgetsCallback(dataViewId: BSONObjectID, tableOrder: String, filterOrId: FilterOrId, oldCountDiff: Option[Int], tableSelection: Boolean): Action[AnyContent]

    Permalink
  43. abstract def getWidgets: Action[AnyContent]

    Permalink
  44. abstract def listAll(orderBy: String): Action[AnyContent]

    Permalink
    Definition Classes
    ReadonlyController
  45. abstract def runSeriesProcessing: Action[AnyContent]

    Permalink
    Annotations
    @Deprecated
  46. abstract def runSeriesTransformation: Action[AnyContent]

    Permalink
    Annotations
    @Deprecated
  47. abstract def testIndependence(filterOrId: FilterOrId): Action[AnyContent]

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ReadonlyController[BSONObjectID]

Inherited from AnyRef

Inherited from Any

Ungrouped