com.github.aselab.activerecord

ActiveRecordBaseCompanion

trait ActiveRecordBaseCompanion[K, T <: ActiveRecordBase[K]] extends ProductModelCompanion[T] with CompanionConversion[T] with FormSupport[T]

Source
ActiveRecord.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ActiveRecordBaseCompanion
  2. FormSupport
  3. CompanionConversion
  4. CompanionIterable
  5. ProductModelCompanion
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. def all: ActiveRecord.Relation1[T, T]

    all search.

    all search.

    Definition Classes
    ActiveRecordBaseCompanionCompanionIterable
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def bind(data: Map[String, String])(implicit source: T = self.newInstance): T

    Definition Classes
    FormSupport
  9. lazy val classInfo: ClassInfo[T]

    ProductModel class information

    ProductModel class information

    Definition Classes
    ProductModelCompanion
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. implicit def companionToIterable(c: ActiveRecordBaseCompanion.this.type): List[T]

    Definition Classes
    CompanionIterable
  12. implicit def companionToRelation(c: ActiveRecordBaseCompanion.this.type): ActiveRecord.Relation1[T, T]

    Definition Classes
    CompanionConversion
  13. def create(model: T): T

    insert record from model.

    insert record from model.

    Attributes
    protected[com.github.aselab.activerecord]
  14. def delete(id: K): Boolean

    delete record from id.

    delete record from id.

    Attributes
    protected[com.github.aselab.activerecord]
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. lazy val fieldInfo: Map[String, FieldInfo]

    ProductModel fields information

    ProductModel fields information

    Definition Classes
    ProductModelCompanion
  18. lazy val fields: List[FieldInfo]

    Definition Classes
    ProductModelCompanion
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. def find(id: K): Option[T]

    search by id.

  21. def forceDelete(condition: (T) ⇒ dsl.LogicalBoolean): Int

  22. def forceDeleteAll(): Int

  23. def forceInsertAll(models: T*): Unit

  24. def forceInsertAll(models: Iterable[T]): Unit

  25. def forceUpdate(condition: (T) ⇒ dsl.LogicalBoolean)(updateAssignments: (T) ⇒ dsl.UpdateAssignment*): Int

  26. def forceUpdateAll(updateAssignments: (T) ⇒ dsl.UpdateAssignment*): Int

  27. def fromMap(data: Map[String, Any]): Unit

  28. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  29. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  30. def insertWithValidation(models: T*): Iterable[T]

  31. def insertWithValidation(models: Iterable[T]): Iterable[T]

  32. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  33. lazy val isOptimistic: Boolean

  34. def isUnique(name: String, m: T): Boolean

    unique validation.

  35. implicit val keyedEntityDef: dsl.KeyedEntityDef[T, K] { val idPropertyName: String }

  36. implicit val manifest: Manifest[T]

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

    Definition Classes
    AnyRef
  38. def newInstance: T

    Create a new model object.

    Create a new model object.

    Definition Classes
    ProductModelCompanion
  39. final def notify(): Unit

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

    Definition Classes
    AnyRef
  41. lazy val schema: ActiveRecordTables

    database schema

  42. def self: ActiveRecordBaseCompanion.this.type

    self reference

    self reference

    Attributes
    protected
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  44. lazy val table: dsl.Table[T]

    corresponding database table

  45. lazy val targetClass: Class[T]

    corresponding model class

    corresponding model class

    Attributes
    protected
    Definition Classes
    ProductModelCompanion
  46. def toString(): String

    Definition Classes
    AnyRef → Any
  47. def unbind(m: T): Map[String, String]

    Definition Classes
    FormSupport
  48. lazy val uniqueFields: List[FieldInfo]

    Unique annotated fields

  49. def update(model: T): Unit

    update record from model.

    update record from model.

    Attributes
    protected[com.github.aselab.activerecord]
  50. lazy val validators: Map[String, Seq[(Annotation, Validator[_])]]

    Definition Classes
    ProductModelCompanion
  51. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from FormSupport[T]

Inherited from CompanionConversion[T]

Inherited from CompanionIterable[T]

Inherited from ProductModelCompanion[T]

Inherited from AnyRef

Inherited from Any

Ungrouped