com.github.aselab.activerecord

DefaultIntermediateRecord

case class DefaultIntermediateRecord() extends IntermediateRecord with Product with Serializable

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

Instance Constructors

  1. new DefaultIntermediateRecord()

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[CompositeKey2[Long, Long], DefaultIntermediateRecord.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
    DefaultIntermediateRecord → 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. def finalize(): Unit

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

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

    Attributes
    protected
    Definition Classes
    ActiveRecordBaseRelationSupport
  29. def hashCode(): Int

    Definition Classes
    KeyedEntity → AnyRef → Any
  30. def id: CompositeKey2[Long, Long]

    Definition Classes
    DefaultIntermediateRecord → KeyedEntity
  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. def isNewInstance: Boolean

    Definition Classes
    ActiveRecordBaseCRUDable
  33. def isPersisted: Boolean

    Definition Classes
    PersistenceStatus
  34. val leftId: Long

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

    Definition Classes
    AnyRef
  36. final def notify(): Unit

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

    Definition Classes
    AnyRef
  38. def productArity: Int

    Definition Classes
    DefaultIntermediateRecord → Product
  39. def productElement(arg0: Int): Any

    Definition Classes
    DefaultIntermediateRecord → Product
  40. def productIterator: Iterator[Any]

    Definition Classes
    Product
  41. def productPrefix: String

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

    Attributes
    protected
    Definition Classes
    ActiveRecordBaseActiveRecordBaseRelationSupport
  43. val rightId: Long

  44. 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
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  46. def toString(): String

    Definition Classes
    DefaultIntermediateRecord → AnyRef → Any
  47. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  49. 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 IntermediateRecord

Inherited from ActiveRecordBase[CompositeKey2[Long, Long]]

Inherited from CRUDable

Inherited from Product

Inherited from Equals

Inherited from KeyedEntity[CompositeKey2[Long, Long]]

Inherited from PersistenceStatus

Inherited from AnyRef

Inherited from Any