Object/Class

com.github.aselab.activerecord.experimental

Version

Related Docs: class Version | package experimental

Permalink

object Version extends ActiveRecordCompanion[Version] with Serializable

Source
versions.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Version
  2. Serializable
  3. Serializable
  4. ActiveRecordCompanion
  5. ActiveRecordBaseCompanion
  6. CompanionConversion
  7. CompanionIterable
  8. ActiveModelCompanion
  9. JsonSupport
  10. FormSupport
  11. ProductModelCompanion
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type C = ActiveModelCompanion[ActiveModel]

    Permalink
    Definition Classes
    FormSupport

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def all: ActiveRecord.Relation1[Version, Version]

    Permalink

    all search.

    all search.

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

    Permalink
    Definition Classes
    Any
  6. def assignValue(value: Any, fieldInfo: FieldInfo): Any

    Permalink
    Definition Classes
    FormSupport
  7. def bind(data: Map[String, String])(implicit source: Version = self.newInstance): Version

    Permalink
    Definition Classes
    FormSupport
  8. lazy val classInfo: ClassInfo[Version]

    Permalink

    ProductModel class information

    ProductModel class information

    Definition Classes
    ProductModelCompanion
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  10. implicit def companionToIterable(c: Version.this.type): List[Version]

    Permalink
    Definition Classes
    CompanionIterable
  11. implicit def companionToRelation(c: Version.this.type): ActiveRecord.Relation1[Version, Version]

    Permalink
    Definition Classes
    CompanionConversion
  12. def create(model: Version): Unit

    Permalink

    insert record from model.

    insert record from model.

    Attributes
    protected[com.github.aselab.activerecord]
    Definition Classes
    ActiveRecordBaseCompanion
  13. def defaultScope: ActiveRecord.Relation1[Version, Version]

    Permalink
    Definition Classes
    ActiveRecordBaseCompanion
  14. def delete(id: Long): Boolean

    Permalink

    delete record from id.

    delete record from id.

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

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

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

    Permalink

    ProductModel fields information

    ProductModel fields information

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

    Permalink
    Definition Classes
    ProductModelCompanion
  19. def find(id: Long): Option[Version]

    Permalink

    search by id.

    search by id.

    Definition Classes
    ActiveRecordBaseCompanion
  20. def forceDelete(condition: (Version) ⇒ dsl.LogicalBoolean): Int

    Permalink
    Definition Classes
    ActiveRecordBaseCompanion
  21. def forceDeleteAll(): Int

    Permalink
    Definition Classes
    ActiveRecordBaseCompanion
  22. def forceInsertAll(models: Version*): Unit

    Permalink
    Definition Classes
    ActiveRecordBaseCompanion
  23. def forceInsertAll(models: Iterable[Version]): Unit

    Permalink
    Definition Classes
    ActiveRecordBaseCompanion
  24. def forceUpdate(condition: (Version) ⇒ dsl.LogicalBoolean)(updateAssignments: (Version) ⇒ dsl.UpdateAssignment*): Int

    Permalink
    Definition Classes
    ActiveRecordBaseCompanion
  25. def forceUpdateAll(updateAssignments: (Version) ⇒ dsl.UpdateAssignment*): Int

    Permalink
    Definition Classes
    ActiveRecordBaseCompanion
  26. def fromArrayJson(json: String): List[Version]

    Permalink
    Definition Classes
    JsonSupport
  27. def fromJArray(jarray: JValue, throws: Boolean = false): List[Version]

    Permalink
    Definition Classes
    JsonSupport
  28. def fromJValue(jvalue: JValue, throws: Boolean = false): Version

    Permalink
    Definition Classes
    JsonSupport
  29. def fromJson(json: String): Version

    Permalink
    Definition Classes
    JsonSupport
  30. def fromMap(data: Map[String, Any]): Version

    Permalink
    Definition Classes
    ActiveRecordBaseCompanion
  31. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  32. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  33. def inTransaction[R](f: ⇒ R): R

    Permalink
    Definition Classes
    ActiveRecordBaseCompanion
  34. def insertWithValidation(models: Version*): Iterable[Version]

    Permalink
    Definition Classes
    ActiveRecordBaseCompanion
  35. def insertWithValidation(models: Iterable[Version]): Iterable[Version]

    Permalink
    Definition Classes
    ActiveRecordBaseCompanion
  36. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  37. lazy val isOptimistic: Boolean

    Permalink
    Definition Classes
    ActiveRecordBaseCompanion
  38. def isRequired(name: String): Boolean

    Permalink
    Definition Classes
    FormSupport
  39. def isUnique(name: String, m: Version): Boolean

    Permalink

    unique validation.

    unique validation.

    Definition Classes
    ActiveRecordBaseCompanion
  40. implicit val keyedEntityDef: dsl.KeyedEntityDef[Version, Long] { val idPropertyName: String }

    Permalink
    Definition Classes
    ActiveRecordBaseCompanion
  41. implicit val manifest: ClassTag[Version]

    Permalink
  42. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  43. macro def newInstance(data: (String, Any)*): Version

    Permalink
    Definition Classes
    ActiveModelCompanion
  44. def newInstance: Version

    Permalink

    Create a new model object.

    Create a new model object.

    Definition Classes
    ActiveModelCompanionProductModelCompanion
  45. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  46. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  47. lazy val schema: ActiveRecordTables

    Permalink

    database schema

    database schema

    Definition Classes
    ActiveRecordBaseCompanion
  48. def self: Version.this.type

    Permalink

    self reference

    self reference

    Attributes
    protected
    Definition Classes
    ActiveRecordBaseCompanion
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  50. lazy val table: dsl.Table[Version]

    Permalink

    corresponding database table

    corresponding database table

    Definition Classes
    ActiveRecordBaseCompanion
  51. lazy val targetClass: Class[Version]

    Permalink

    corresponding model class

    corresponding model class

    Attributes
    protected
    Definition Classes
    ProductModelCompanion
  52. implicit val toCanLookup: (Long) ⇒ dsl.CanLookup

    Permalink
    Definition Classes
    ActiveRecordBaseCompanion
  53. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  54. def transaction[R](f: ⇒ R): R

    Permalink
    Definition Classes
    ActiveRecordBaseCompanion
  55. def unbind(m: Version): Map[String, String]

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

    Permalink

    Unique annotated fields

    Unique annotated fields

    Definition Classes
    ActiveRecordBaseCompanion
  57. def unsafeAssign(data: Map[String, Any], assignFunc: (Any, FieldInfo) ⇒ Any, throws: Boolean = true)(implicit source: Version = self.newInstance): Version

    Permalink
    Definition Classes
    FormSupport
  58. def update(model: Version): Unit

    Permalink

    update record from model.

    update record from model.

    Attributes
    protected[com.github.aselab.activerecord]
    Definition Classes
    ActiveRecordBaseCompanion
  59. lazy val validatableFields: List[FieldInfo]

    Permalink
    Definition Classes
    ProductModelCompanion
  60. lazy val validators: Map[String, Seq[(Annotation, Validator[_])]]

    Permalink
    Definition Classes
    ProductModelCompanion
  61. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from ActiveRecordCompanion[Version]

Inherited from ActiveRecordBaseCompanion[Long, Version]

Inherited from CompanionConversion[Version]

Inherited from CompanionIterable[Version]

Inherited from ActiveModelCompanion[Version]

Inherited from JsonSupport[Version]

Inherited from FormSupport[Version]

Inherited from ProductModelCompanion[Version]

Inherited from AnyRef

Inherited from Any

Ungrouped