Packages

object QueryHelper extends Logging

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryHelper
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val PageParam: String
  5. val PageSizeParam: String
  6. val RESERVED_NULL: Boolean
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. def dateBetween(query: OqlBuilder[_], alias: String, attr: String, beginOnName: String, endOnName: String): Unit

    增加日期区间查询条件

    增加日期区间查询条件

    query

    查询构建器

    alias

    别名

    attr

    时间限制属性

    beginOnName

    开始的属性名字(全名)

    endOnName

    结束的属性名字(全名)

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def extractConditions(clazz: Class[_], prefix: String, exclusiveAttrNames: String): List[Condition]

    提取中的条件

    提取中的条件

    clazz

    实体类型

    prefix

    参数中的前缀(不包含最后的.)

    exclusiveAttrNames

    排除属性列表(prefix.attr1,prefix.attr2)

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. def pageIndex: Int

    获得请求中的页码

  21. def pageLimit: PageLimit

    从的参数或者cookie中(参数优先)取得分页信息

  22. def pageSize: Int

    获得请求中的页长

  23. def populateConditions(entityQuery: OqlBuilder[_], exclusiveAttrNames: String): Unit

    把entity alias的别名的参数转换成条件.

    把entity alias的别名的参数转换成条件.

    entityQuery

    查询构建器

    exclusiveAttrNames

    以entityQuery中alias开头的属性串

  24. def populateConditions(builder: OqlBuilder[_]): Unit
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def addDateIntervalCondition(query: OqlBuilder[_], alias: String, attr: String, beginOnName: String, endOnName: String): Unit
    Annotations
    @deprecated
    Deprecated

    Using dateBetween

  2. def addDateIntervalCondition(query: OqlBuilder[_], attr: String, beginOnName: String, endOnName: String): Unit
    Annotations
    @deprecated
    Deprecated

    Using dateBetween

  3. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped