Packages

t

org.beangle.data.dao

EntityDao

trait EntityDao extends AnyRef

dao 查询辅助类

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EntityDao
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def count(entityClass: Class[_], keyName: String, value: Any): Long
  2. abstract def domain: Domain
  3. abstract def duplicate[T <: Entity[_]](clazz: Class[T], id: Any, codeName: String, codeValue: Any): Boolean
  4. abstract def duplicate(entityName: String, id: Any, params: Map[String, _]): Boolean
  5. abstract def duplicate(entityClass: Class[_], id: Any, params: Map[String, _]): Boolean
  6. abstract def evict(entity: AnyRef): Unit
  7. abstract def execute(builder: Builder): Unit

    执行一个操作构建者提供的一系列操作

  8. abstract def execute(opts: Operation*): Unit

    在同一个session保存、删除

  9. abstract def executeUpdate(queryString: String, arguments: Any*): Int
  10. abstract def executeUpdate(queryString: String, parameterMap: Map[String, _]): Int
  11. abstract def executeUpdateRepeatly(queryString: String, arguments: Iterable[Iterable[_]]): List[Int]
  12. abstract def exists(entityName: String, attr: String, value: Any): Boolean
  13. abstract def exists(entityClass: Class[_], attr: String, value: Any): Boolean
  14. abstract def find[T <: Entity[ID], ID](clazz: Class[T], ids: Iterable[ID]): Seq[T]
  15. abstract def find[T <: Entity[ID], ID](clazz: Class[T], id: ID): Option[T]

    find T by id.

  16. abstract def findBy[T <: Entity[_]](entityName: String, keyName: String, values: Iterable[_]): Seq[T]
  17. abstract def findBy[T <: Entity[_]](entityClass: Class[T], keyName: String, values: Iterable[_]): Seq[T]
  18. abstract def get[T <: Entity[ID], ID](clazz: Class[T], id: ID): T

    查询指定id的对象

    查询指定id的对象

    clazz

    类型

    id

    唯一标识

  19. abstract def getAll[T <: Entity[_]](clazz: Class[T]): Seq[T]
  20. abstract def initialize[T](entity: T): T

    Initialize entity whenever session close or open

  21. abstract def refresh[T](entity: T): T
  22. abstract def remove[T <: Entity[ID], ID](clazz: Class[T], id: ID, ids: ID*): Unit

    remove entities by id

  23. abstract def remove[E](first: E, entities: E*): Unit

    remove entities.

  24. abstract def remove[E](entities: Iterable[E]): Unit

    remove entities.

  25. abstract def saveOrUpdate[E](entities: Iterable[E]): Unit

    save or update entities

  26. abstract def saveOrUpdate[E](first: E, entities: E*): Unit

    save or update entities

  27. abstract def search[T](queryString: String, params: Map[String, _], limit: PageLimit, cacheable: Boolean): Seq[T]
  28. abstract def search[T](queryString: String, params: Map[String, _]): Seq[T]
  29. abstract def search[T](query: String, params: Any*): Seq[T]
  30. abstract def search[T](query: Query[T]): Seq[T]

    Search Query

  31. abstract def search[T](builder: QueryBuilder[T]): Seq[T]

    Search by QueryBuilder

  32. abstract def uniqueResult[T](builder: QueryBuilder[T]): T

    Search Unique Result

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped