AbstractDao

org.beangle.data.dao.AbstractDao
abstract class AbstractDao[T <: Entity[ID], ID <: Serializable](val entityClass: Class[T], val entityDao: EntityDao) extends Dao[T, ID]

Attributes

Graph
Supertypes
trait Dao[T, ID]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def find(id: ID): Option[T]

search T by id.

search T by id.

Attributes

def find(ids: Array[ID]): Seq[T]

search T by id.

search T by id.

Attributes

def get(id: ID): T

get T by id.

get T by id.

Attributes

def remove(entities: Iterable[T]): Unit

remove entities.

remove entities.

Attributes

def remove(first: T, entities: T*): Unit

remove entities.

remove entities.

Attributes

def remove(id: ID, ids: ID*): Unit

remove entities by id

remove entities by id

Attributes

def saveOrUpdate(first: T, entities: T*): Unit

save or update entities

save or update entities

Attributes

def saveOrUpdate(entities: Seq[T]): Unit

save or update entities

save or update entities

Attributes

Inherited methods

def find(first: ID, ids: ID*): Seq[T]

search T by id.

search T by id.

Attributes

Inherited from:
Dao
def remove(entities: Seq[T]): Unit

remove entities.

remove entities.

Attributes

Inherited from:
Dao

Concrete fields

val entityClass: Class[T]

get entity type

get entity type

Attributes