com.dslplatform.api.client

GenericSearchBuilder

class GenericSearchBuilder[TSearchable <: Searchable] extends AnyRef

In case when specification is not defined on the server, client side generic search builder can be used. It should be used for testing and in rare cases when server can't be updated. [p] It is preferable to use server side specification.

TSearchable

type of domain: Any

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GenericSearchBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GenericSearchBuilder()(implicit arg0: ClassTag[TSearchable])

Type Members

  1. case class FilterPair(Key: Int, Value: Any) extends Product with Serializable

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def ascending(property: String): GenericSearchBuilder.this.type

    Order results ascending by specified property.

    Order results ascending by specified property.

    property

    name of property

    returns

    itself

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def descending(property: String): GenericSearchBuilder[TSearchable]

    Order results descending by specified property.

    Order results descending by specified property.

    property

    name of property

    returns

    itself

  10. def doesntStartsWith(property: String, value: String, ignoreCase: Boolean): GenericSearchBuilder[TSearchable]

    Define !startsWith and case sensitivity [ not property.

    Define !startsWith and case sensitivity [ not property.startsWith(value, case sensitivity) ] condition for specification. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to check

    value

    comparison value

    ignoreCase

    should string comparison ignore casing

    returns

    itself

  11. def doesntStartsWith(property: String, value: String): GenericSearchBuilder[TSearchable]

    Define !startsWith [ not property.

    Define !startsWith [ not property.startsWith(value) ] condition for specification. Case sensitive comparison will be performed. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to check

    value

    comparison value

    returns

    itself

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equal(property: String, value: Any): GenericSearchBuilder[TSearchable]

    Define equal (=) condition for specification.

    Define equal (=) condition for specification. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to compare

    value

    check equality with provided value

    returns

    itself

  14. def equals(arg0: Any): Boolean

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

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

    Definition Classes
    AnyRef → Any
  17. def greaterThen(property: String, value: Any): GenericSearchBuilder[TSearchable]

    Define greater then (>) condition for specification.

    Define greater then (>) condition for specification. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to compare

    value

    check ordering with provided value

    returns

    itself

  18. def greaterThenOrEqual(property: String, value: Any): GenericSearchBuilder[TSearchable]

    Define greater then or equal (>=) condition for specification.

    Define greater then or equal (>=) condition for specification. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to compare

    value

    check ordering and equality with provided value

    returns

    itself

  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. def in(property: String, value: Any): GenericSearchBuilder[TSearchable]

    Define in ( value in collection property ) condition for specification.

    Define in ( value in collection property ) condition for specification. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to check

    value

    check collection for provided value

    returns

    itself

  21. def inValue(property: String, value: Any): GenericSearchBuilder[TSearchable]

    Define in [ property in collection value ] condition for specification.

    Define in [ property in collection value ] condition for specification. Server will return only results that satisfy this and every other specified condition.

    property

    name of collection property to check

    value

    check if property is in provided collection value

    returns

    itself

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def lessThen(property: String, value: Any): GenericSearchBuilder[TSearchable]

    Define less then (<) condition for specification.

    Define less then (<) condition for specification. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to compare

    value

    check ordering with provided value

    returns

    itself

  24. def lessThenOrEqual(property: String, value: Any): GenericSearchBuilder[TSearchable]

    Define less then or equal (<=) condition for specification.

    Define less then or equal (<=) condition for specification. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to compare

    value

    check ordering and equality with provided value

    returns

    itself

  25. def limit(limitArg: Int): GenericSearchBuilder.this.type

    Limit the number of results which will be performed.

    Limit the number of results which will be performed.

    returns

    itself

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. def nonEqual(property: String, value: Any): GenericSearchBuilder[TSearchable]

    Define not equal (!=) condition for specification.

    Define not equal (!=) condition for specification. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to compare

    value

    check equality with provided value

    returns

    itself

  28. def notIn(property: String, value: Any): GenericSearchBuilder[TSearchable]

    Define not in ( not value in collection property ) condition for specification.

    Define not in ( not value in collection property ) condition for specification. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to check

    value

    check collection for provided value

    returns

    itself

  29. def notInValue(property: String, value: Any): GenericSearchBuilder[TSearchable]

    Define in [ not property in collection value ] condition for specification.

    Define in [ not property in collection value ] condition for specification. Server will return only results that satisfy this and every other specified condition.

    property

    name of collection property to check

    value

    check if property is not in provided collection value

    returns

    itself

  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. def offset(offsetArg: Int): GenericSearchBuilder.this.type

    Skip initial number of results.

    Skip initial number of results.

    returns

    itself

  33. def orderBy(property: String, direction: Boolean): GenericSearchBuilder.this.type

  34. def search()(implicit locator: ServiceLocator): Future[IndexedSeq[TSearchable]]

    Ask server to provide domain: Anys which satisfy defined conditions in requested order if custom order was provided.

    Ask server to provide domain: Anys which satisfy defined conditions in requested order if custom order was provided. Limit and offset will be applied on results if provided.

    returns

    future to list of found domain: Any

  35. def skip(offsetArg: Int): GenericSearchBuilder[TSearchable]

    Skip initial number of results.

    Skip initial number of results.

    returns

    itself

  36. def startsWith(property: String, value: String, ignoreCase: Boolean): GenericSearchBuilder[TSearchable]

    Define startsWith and case sensitivity [ property.

    Define startsWith and case sensitivity [ property.startsWith(value, case sensitivity) ] condition for specification. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to check

    value

    comparison value

    ignoreCase

    should string comparison ignore casing

    returns

    itself

  37. def startsWith(property: String, value: String): GenericSearchBuilder[TSearchable]

    Define startsWith [ property.

    Define startsWith [ property.startsWith(value) ] condition for specification. Case sensitive comparison will be performed. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to check

    value

    comparison value

    returns

    itself

  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def take(limitArg: Int): GenericSearchBuilder[TSearchable]

    Limit the number of results which will be performed.

    Limit the number of results which will be performed.

    returns

    itself

  40. def toString(): String

    Definition Classes
    AnyRef → Any
  41. def valueDoesntStartsWith(property: String, value: String, ignoreCase: Boolean): GenericSearchBuilder[TSearchable]

    Define !startsWith and case sensitivity [ not value.

    Define !startsWith and case sensitivity [ not value.startsWith(property, case sensitivity) ] condition for specification. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to check

    value

    comparison value

    ignoreCase

    should string comparison ignore casing

    returns

    itself

  42. def valueDoesntStartsWith(property: String, value: String): GenericSearchBuilder[TSearchable]

    Define !startsWith [ not value.

    Define !startsWith [ not value.startsWith(property) ] condition for specification. Case sensitive comparison will be performed. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to check

    value

    comparison value

    returns

    itself

  43. def valueStartsWith(property: String, value: String, ignoreCase: Boolean): GenericSearchBuilder[TSearchable]

    Define startsWith and case sensitivity [ value.

    Define startsWith and case sensitivity [ value.startsWith(property, case sensitivity) ] condition for specification. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to check

    value

    comparison value

    ignoreCase

    should string comparison ignore casing

    returns

    itself

  44. def valueStartsWith(property: String, value: String): GenericSearchBuilder[TSearchable]

    Define startsWith [ value.

    Define startsWith [ value.startsWith(property) ] condition for specification. Case sensitive comparison will be performed. Server will return only results that satisfy this and every other specified condition.

    property

    name of property to check

    value

    comparison value

    returns

    itself

  45. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped