com.github.aselab.activerecord.experimental

Version

case class Version(targetTable: String, targetId: Long, field: String, oldValue: String, newValue: String) extends ActiveRecord with Product with Serializable

Linear Supertypes
Serializable, Serializable, ActiveRecord, ActiveRecordRelationSupport, ActiveRecordBase[Long], ActiveRecordBaseRelationSupport, CRUDable, Product, Equals, KeyedEntity[Long], PersistenceStatus, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Version
  2. Serializable
  3. Serializable
  4. ActiveRecord
  5. ActiveRecordRelationSupport
  6. ActiveRecordBase
  7. ActiveRecordBaseRelationSupport
  8. CRUDable
  9. Product
  10. Equals
  11. KeyedEntity
  12. PersistenceStatus
  13. AnyRef
  14. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Version(targetTable: String, targetId: Long, field: String, oldValue: String, newValue: String)

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. lazy val _companion: ActiveRecordBaseCompanion[Long, Version.this.type]

    corresponding ActiveRecordCompanion object

    corresponding ActiveRecordCompanion object

    Definition Classes
    ActiveRecordBase
  7. var _isNewInstance: Boolean

    Attributes
    protected
    Definition Classes
    CRUDable
  8. def afterCreate(): Unit

    Callback method of after create.

    Callback method of after create.

    You can override this method and implement logic if necessary. Nothing is done by default. This is not called if failed to create.

    Attributes
    protected
    Definition Classes
    CRUDable
  9. def afterDelete(): Unit

    Callback method of after delete.

    Callback method of after delete.

    You can override this method and implement logic if necessary. Nothing is done by default. This is not called if failed to delete.

    Attributes
    protected
    Definition Classes
    CRUDable
  10. def afterSave(): Unit

    Callback method of after create and update.

    Callback method of after create and update.

    You can override this method and implement logic if necessary. Nothing is done by default. This is not called if failed to save.

    Attributes
    protected
    Definition Classes
    CRUDable
  11. def afterUpdate(): Unit

    Callback method of after update.

    Callback method of after update.

    You can override this method and implement logic if necessary. Nothing is done by default. This is not called if failed to update.

    Attributes
    protected
    Definition Classes
    CRUDable
  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def beforeCreate(): Unit

    Callback method of before create.

    Callback method of before create.

    You can override this method and implement logic if necessary. Nothing is done by default.

    Attributes
    protected
    Definition Classes
    CRUDable
  14. def beforeDelete(): Unit

    Callback method of before delete.

    Callback method of before delete.

    You can override this method and implement logic if necessary. Nothing is done by default.

    Attributes
    protected
    Definition Classes
    CRUDable
  15. def beforeSave(): Unit

    Callback method of before create and update.

    Callback method of before create and update.

    You can override this method and implement logic if necessary. Nothing is done by default.

    Attributes
    protected
    Definition Classes
    CRUDable
  16. def beforeUpdate(): Unit

    Callback method of before update.

    Callback method of before update.

    You can override this method and implement logic if necessary. Nothing is done by default.

    Attributes
    protected
    Definition Classes
    CRUDable
  17. def belongsTo[T <: ActiveRecord](implicit m: Manifest[T]): ActiveRecordManyToOne[T]

    Attributes
    protected
    Definition Classes
    ActiveRecordBaseRelationSupport
  18. def canEqual(arg0: Any): Boolean

    Definition Classes
    Version → Equals
  19. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. def delete(): Boolean

    Delete model.

    Delete model.

    before and after callbacks are available.

    Definition Classes
    CRUDable
  21. def doCreate(): Boolean

    Model creation.

    Model creation. Implement creation logic and return result of success or failure

    Attributes
    protected
    Definition Classes
    ActiveRecordBaseCRUDable
  22. def doDelete(): Boolean

    Model deletion.

    Model deletion. Implement deletion logic and return result of success or failure

    Attributes
    protected
    Definition Classes
    ActiveRecordBaseCRUDable
  23. def doUpdate(): Boolean

    Model update.

    Model update. Implement update logic and return result of success or failure

    Attributes
    protected
    Definition Classes
    ActiveRecordBaseCRUDable
  24. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. def equals(obj: Any): Boolean

    Definition Classes
    ActiveRecordBase → Equals → KeyedEntity → AnyRef → Any
  26. val field: String

  27. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  29. def getRelation(left: Class[_], right: Class[_]): RelationWrapper[ActiveRecord, com.github.aselab.activerecord.ActiveRecordBase[_]]

    Attributes
    protected
    Definition Classes
    ActiveRecordBaseRelationSupport
  30. def hasAndBelongsToMany[T <: ActiveRecord](implicit m: Manifest[T]): ActiveRecordManyToMany[T, DefaultIntermediateRecord]

    Attributes
    protected
    Definition Classes
    ActiveRecordRelationSupport
  31. def hasMany[T <: com.github.aselab.activerecord.ActiveRecordBase[_]](implicit m: Manifest[T]): ActiveRecordOneToMany[T]

    Attributes
    protected
    Definition Classes
    ActiveRecordRelationSupport
  32. def hasManyThrough[A <: ActiveRecord, B <: IntermediateRecord](implicit m: Manifest[A]): ActiveRecordManyToMany[A, B]

    Attributes
    protected
    Definition Classes
    ActiveRecordRelationSupport
  33. def hashCode(): Int

    Definition Classes
    KeyedEntity → AnyRef → Any
  34. val id: Long

    primary key

    primary key

    Definition Classes
    ActiveRecord → KeyedEntity
  35. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  36. def isNewInstance: Boolean

    Definition Classes
    ActiveRecordActiveRecordBaseCRUDable
  37. def isPersisted: Boolean

    Definition Classes
    PersistenceStatus
  38. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  39. val newValue: String

  40. final def notify(): Unit

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

    Definition Classes
    AnyRef
  42. val oldValue: String

  43. def productArity: Int

    Definition Classes
    Version → Product
  44. def productElement(arg0: Int): Any

    Definition Classes
    Version → Product
  45. def productIterator: Iterator[Any]

    Definition Classes
    Product
  46. def productPrefix: String

    Definition Classes
    Version → Product
  47. lazy val relations: Map[(String, String), RelationWrapper[ActiveRecord, com.github.aselab.activerecord.ActiveRecordBase[_]]]

    Attributes
    protected
    Definition Classes
    ActiveRecordBaseActiveRecordBaseRelationSupport
  48. def save(): Boolean

    Save model.

    Save model.

    If isNewInstance flag is true, it calls doCreate method. If not, it calls doUpdate method. before and after callbacks are available.

    Definition Classes
    CRUDable
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  50. val targetId: Long

  51. val targetTable: String

  52. def toString(): String

    Definition Classes
    Version → AnyRef → Any
  53. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from ActiveRecord

Inherited from ActiveRecordBase[Long]

Inherited from CRUDable

Inherited from Product

Inherited from Equals

Inherited from KeyedEntity[Long]

Inherited from PersistenceStatus

Inherited from AnyRef

Inherited from Any