Package

org.virtuslab.beholder

filters

Permalink

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]

    Permalink

    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. abstract class ContextedFilterAPI[Context, Entity, Formatter] extends (Context) ⇒ FilterAPI[Entity, Formatter]

    Permalink
  3. trait FilterAPI[Entity, Formatter] extends AnyRef

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

    Permalink

    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

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

    Permalink
  6. trait FilterField extends AnyRef

    Permalink

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

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

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

    Permalink
  9. abstract class MappedFilterField[A, B] extends FilterField

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

    Permalink
  11. trait TableFilterAPI[Entity, Formatter, QueryBase] extends FilterAPI[Entity, Formatter]

    Permalink

Value Members

  1. object FilterResult extends Serializable

    Permalink
  2. object Order extends Serializable

    Permalink
  3. package forms

    Permalink
  4. package json

    Permalink

Ungrouped