trait
EntityDao extends AnyRef
Abstract Value Members
-
abstract
def
count(entityClass: Class[_], keyName: String, value: Any): Long
-
abstract
def
duplicate[T <: Entity[_]](clazz: Class[T], id: Any, codeName: String, codeValue: Any): Boolean
-
abstract
def
duplicate(entityName: String, id: Any, params: Map[String, Any]): Boolean
-
abstract
def
duplicate(entityClass: Class[_], id: Any, params: Map[String, Any]): Boolean
-
abstract
def
evict(entity: AnyRef): Unit
-
abstract
def
execute(builder: Builder): Unit
-
abstract
def
execute(opts: Operation*): Unit
-
abstract
def
executeUpdate(queryString: String, arguments: Any*): Int
-
abstract
def
executeUpdate(queryString: String, parameterMap: Map[String, Any]): Int
-
abstract
def
executeUpdateRepeatly(queryString: String, arguments: Seq[Seq[Any]]): List[Int]
-
abstract
def
exists(entityName: String, attr: String, value: Any): Boolean
-
abstract
def
exists(entityClass: Class[_], attr: String, value: Any): Boolean
-
abstract
def
find[T <: Entity[ID], ID](clazz: Class[T], ids: Iterable[ID]): Seq[T]
-
abstract
def
find[T <: Entity[ID], ID](clazz: Class[T], id: ID): Option[T]
-
abstract
def
findBy[T <: Entity[_]](entityName: String, keyName: String, values: Iterable[_]): Seq[T]
-
abstract
def
findBy[T <: Entity[_]](entityClass: Class[T], keyName: String, values: Iterable[_]): Seq[T]
-
abstract
def
get[T <: Entity[ID], ID](clazz: Class[T], id: ID): T
-
abstract
def
getAll[T <: Entity[_]](clazz: Class[T]): Seq[T]
-
abstract
def
initialize[T](entity: T): T
-
abstract
def
refresh[T](entity: T): T
-
abstract
def
remove[T <: Entity[ID], ID](clazz: Class[T], id: ID, ids: ID*): Unit
-
abstract
def
remove[E](first: E, entities: E*): Unit
-
abstract
def
remove[E](entities: Iterable[E]): Unit
-
abstract
def
saveOrUpdate[E](entities: Iterable[E]): Unit
-
abstract
def
saveOrUpdate[E](first: E, entities: E*): Unit
-
abstract
def
search[T](queryString: String, params: Map[String, Any], limit: PageLimit, cacheable: Boolean): Seq[T]
-
abstract
def
search[T](queryString: String, params: Map[String, Any]): Seq[T]
-
abstract
def
search[T](query: String, params: Any*): Seq[T]
-
abstract
def
search[T](query: Query[T]): Seq[T]
-
abstract
def
search[T](builder: QueryBuilder[T]): Seq[T]
-
abstract
def
uniqueResult[T](builder: QueryBuilder[T]): T
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
dao 查询辅助类