com.github.aselab.activerecord.inner

IntermediateRecord

case class IntermediateRecord() extends ActiveRecordBase[CKey] with dsl.KeyedEntity[CKey] with Product with Serializable

Source
Associations.scala
Linear Supertypes
Serializable, Serializable, KeyedEntity[CKey], PersistenceStatus, ActiveRecordBase[CKey], ActiveRecord.AssociationSupport, ActiveModel, ValidationSupport, IO, Validatable, ProductModel, Product, Equals, CRUDable, Saveable, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IntermediateRecord
  2. Serializable
  3. Serializable
  4. KeyedEntity
  5. PersistenceStatus
  6. ActiveRecordBase
  7. AssociationSupport
  8. ActiveModel
  9. ValidationSupport
  10. IO
  11. Validatable
  12. ProductModel
  13. Product
  14. Equals
  15. CRUDable
  16. Saveable
  17. AnyRef
  18. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IntermediateRecord()

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: ProductModelCompanion[IntermediateRecord.this.type]

    Definition Classes
    IntermediateRecordProductModel
  7. var _isNewRecord: 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 assign(data: Map[String, Any]): IntermediateRecord.this.type

    Definition Classes
    ActiveRecordBaseIO
  14. def assignFormValues(data: Map[String, String]): IntermediateRecord.this.type

    Definition Classes
    IO
  15. 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
  16. 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
  17. 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
  18. 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
  19. def beforeValidation(): Unit

    Attributes
    protected
    Definition Classes
    Validatable
  20. def belongsTo[T <: AR](foreignKey: String)(implicit m: Manifest[T]): ActiveRecord.BelongsToAssociation[IntermediateRecord.this.type, T]

    Attributes
    protected
    Definition Classes
    AssociationSupport
  21. def belongsTo[T <: AR](implicit m: Manifest[T]): ActiveRecord.BelongsToAssociation[IntermediateRecord.this.type, T]

    Attributes
    protected
    Definition Classes
    AssociationSupport
  22. def clearErrors(): Unit

    Definition Classes
    Validatable
  23. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def create(validate: Boolean): IntermediateRecord.this.type

    Definition Classes
    ActiveRecordBase
  25. def create: IntermediateRecord.this.type

    Definition Classes
    ActiveRecordBase
  26. def delete(): Boolean

    Delete model.

    Delete model.

    before and after callbacks are available.

    Definition Classes
    CRUDable
  27. def doCreate(): Boolean

    Model creation.

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

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

    Model deletion.

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

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

    Model update.

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

    Attributes
    protected
    Definition Classes
    ActiveRecordBaseCRUDable
  30. def doValidate(): Unit

    Definition Classes
    ValidationSupportValidatable
  31. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. def equals(z: Any): Boolean

    Definition Classes
    KeyedEntity → AnyRef → Any
  33. val errors: Errors

    Definition Classes
    Validatable
  34. def fieldErrors: Seq[ValidationError]

    Definition Classes
    Validatable
  35. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  36. def formErrors: Seq[ValidationError]

    Definition Classes
    IO
  37. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  38. def globalErrors: Seq[ValidationError]

    Definition Classes
    Validatable
  39. def hasError(name: String): Boolean

    Definition Classes
    Validatable
  40. def hasErrors: Boolean

    Definition Classes
    Validatable
  41. def hasMany[T <: AR](conditions: Map[String, Any] = Map.empty, foreignKey: String = null)(implicit m: Manifest[T]): ActiveRecord.HasManyAssociation[IntermediateRecord.this.type, T]

    Attributes
    protected
    Definition Classes
    AssociationSupport
  42. def hasMany[T <: AR](implicit m: Manifest[T]): ActiveRecord.HasManyAssociation[IntermediateRecord.this.type, T]

    Attributes
    protected
    Definition Classes
    AssociationSupport
  43. def hasManyThrough[T <: AR, I <: AR](through: ActiveRecord.CollectionAssociation[IntermediateRecord.this.type, I], conditions: Map[String, Any] = Map.empty, foreignKey: String = null)(implicit m1: Manifest[T], m2: Manifest[I]): ActiveRecord.HasManyThroughAssociation[IntermediateRecord.this.type, T, I]

    Attributes
    protected
    Definition Classes
    AssociationSupport
  44. def hasOne[T <: AR](conditions: Map[String, Any] = Map.empty, foreignKey: String = null)(implicit m: Manifest[T]): ActiveRecord.HasOneAssociation[IntermediateRecord.this.type, T]

    Attributes
    protected
    Definition Classes
    AssociationSupport
  45. def hasOne[T <: AR](implicit m: Manifest[T]): ActiveRecord.HasOneAssociation[IntermediateRecord.this.type, T]

    Attributes
    protected
    Definition Classes
    AssociationSupport
  46. def hasOneThrough[T <: AR, I <: AR](through: ActiveRecord.SingularAssociation[IntermediateRecord.this.type, I], conditions: Map[String, Any] = Map.empty, foreignKey: String = null)(implicit m1: Manifest[T], m2: Manifest[I]): ActiveRecord.HasOneThroughAssociation[IntermediateRecord.this.type, T, I]

    Attributes
    protected
    Definition Classes
    AssociationSupport
  47. def hashCode(): Int

    Definition Classes
    KeyedEntity → AnyRef → Any
  48. def id: CKey

    Definition Classes
    IntermediateRecord → KeyedEntity → ActiveRecordBase
  49. def isDeleted: Boolean

    Definition Classes
    ActiveRecordBase
  50. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  51. def isNewRecord: Boolean

    Definition Classes
    ActiveRecordBaseActiveModelCRUDableSaveable
  52. def isPersisted: Boolean

    Definition Classes
    PersistenceStatus
  53. def isValid: Boolean

    Definition Classes
    Validatable
  54. val leftId: Long

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

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

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

    Definition Classes
    AnyRef
  58. lazy val recordCompanion: ActiveRecordBaseCompanion[CKey, IntermediateRecord.this.type]

    corresponding ActiveRecordCompanion object

    corresponding ActiveRecordCompanion object

    Definition Classes
    ActiveRecordBase
  59. def recordInDatabase: Option[IntermediateRecord.this.type]

    Definition Classes
    ActiveRecordBase
  60. val rightId: Long

  61. def save(throws: Boolean = false, validate: Boolean = true): Boolean

    Definition Classes
    ActiveRecordBase
  62. def save(): Boolean

    Save model.

    Save model.

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

    Definition Classes
    ActiveRecordBaseValidatableCRUDableSaveable
  63. def saveEither: Either[Errors, IntermediateRecord.this.type]

    Definition Classes
    ValidationSupport
  64. def saveWithoutValidation(): Boolean

    Definition Classes
    Validatable
  65. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  66. def toFormValues(prefix: Option[String]): Map[String, String]

    Definition Classes
    IO
  67. def toFormValues: Map[String, String]

    Definition Classes
    IO
  68. def toMap: Map[String, Any]

    Definition Classes
    ActiveRecordBaseIO
  69. def update(validate: Boolean): IntermediateRecord.this.type

    Definition Classes
    ActiveRecordBase
  70. def update: IntermediateRecord.this.type

    Definition Classes
    ActiveRecordBase
  71. def validate(): Boolean

    Definition Classes
    IOValidatable
  72. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from KeyedEntity[CKey]

Inherited from PersistenceStatus

Inherited from ActiveRecordBase[CKey]

Inherited from ActiveRecord.AssociationSupport

Inherited from ActiveModel

Inherited from ValidationSupport

Inherited from IO

Inherited from Validatable

Inherited from ProductModel

Inherited from Product

Inherited from Equals

Inherited from CRUDable

Inherited from Saveable

Inherited from AnyRef

Inherited from Any

Ungrouped