org.virtuslab.beholder

filters

package filters

Visibility
  1. Public
  2. All

Type Members

  1. abstract class BaseFilter[Id, Entity, FilterTable <: BaseView[Id, Entity], FieldType <: FilterField, Formatter] extends TableFilterAPI[Entity, Formatter, FilterTable]

    Base filter class, contains public operations for all filters instances.

    Base filter class, contains public operations for all filters instances.

    Id

    table id

    Entity

    table entity

    FilterTable

    table class (usually View.type)

  2. trait FilterAPI[Entity, Formatter] extends AnyRef

  3. case class FilterDefinition(take: Option[Int], skip: Option[Int], orderBy: Option[Order], data: Seq[Option[Any]]) extends Product with Serializable

    Base class that is mapped to form.

    Base class that is mapped to form. Contains all common and specific (data field of generic type Data) filter data

    take

    how many elements to take

    skip

    how many elements to skip before taking

    orderBy

    field by which ordering is done

  4. abstract class FilterFactoryMethods[Entity, FieldType[_, _] <: MappedFilterField[_, _], Formatter] extends AnyRef

  5. trait FilterField extends AnyRef

    filter field - there is information how read parameters from form data (mapping) and how create sql's where statement(filter on column) for it

  6. case class FilterRange[T](from: Option[T], to: Option[T]) extends Product with Serializable

  7. case class FilterResult[T](content: Seq[T], total: Int) extends Product with Serializable

  8. abstract class MappedFilterField[A, B] extends FilterField

  9. case class Order(column: String, asc: Boolean) extends Product with Serializable

  10. trait TableFilterAPI[Entity, Formatter, QueryBase] extends FilterAPI[Entity, Formatter]

Value Members

  1. object BaseFilter

  2. object FilterResult extends Serializable

  3. object Order extends Serializable

  4. package forms

  5. package json

Ungrouped