com.github.aselab.activerecord.inner

IntermediateRecord

Related Docs: object IntermediateRecord | package inner

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, JsonSerializer, FormSerializer, 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. JsonSerializer
  11. FormSerializer
  12. IO
  13. Validatable
  14. ProductModel
  15. Product
  16. Equals
  17. CRUDable
  18. Saveable
  19. AnyRef
  20. 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: Any): Boolean

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

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

    Definition Classes
    AnyRef → Any
  4. lazy val _companion: ProductModelCompanion[IntermediateRecord.this.type]

    Definition Classes
    IntermediateRecordProductModel
  5. var _isNewRecord: Boolean

    Attributes
    protected
    Definition Classes
    CRUDable
  6. 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
  7. 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
  8. 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
  9. 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
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def asJson(onlyFields: String*): JValue

    Definition Classes
    JsonSerializer
  12. def asJson(onlyFields: List[String]): JValue

    Definition Classes
    JsonSerializer
  13. def asJson: JValue

    Definition Classes
    JsonSerializer
  14. macro def assign(data: Map[String, Any]): IntermediateRecord.this.type

    Definition Classes
    IO
  15. macro def assign(data: (String, Any)*): IntermediateRecord.this.type

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

    Definition Classes
    FormSerializer
  17. 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
  18. 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
  19. 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
  20. 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
  21. def beforeValidation(): Unit

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

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

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

    Definition Classes
    Validatable
  25. def clone(): AnyRef

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

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

    Definition Classes
    ActiveRecordBase
  28. def delete(): Boolean

    Delete model.

    Delete model.

    before and after callbacks are available.

    Definition Classes
    CRUDable
  29. def doCreate(): Boolean

    Model creation.

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

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

    Model deletion.

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

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

    Model update.

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

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

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

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

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

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

    Definition Classes
    Validatable
  37. def finalize(): Unit

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

    Definition Classes
    FormSerializer
  39. def fromJValue(jvalue: JValue): IntermediateRecord.this.type

    Definition Classes
    JsonSerializer
  40. def fromJson(json: String): IntermediateRecord.this.type

    Definition Classes
    JsonSerializer
  41. final def getClass(): Class[_]

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

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

    Definition Classes
    Validatable
  44. def hasErrors: Boolean

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Any
  55. def isNewRecord: Boolean

    Definition Classes
    ActiveRecordBaseActiveModelCRUDableSaveable
  56. def isPersisted: Boolean

    Definition Classes
    PersistenceStatus
  57. def isValid: Boolean

    Definition Classes
    Validatable
  58. val leftId: Long

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

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

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

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

    corresponding ActiveRecordCompanion object

    corresponding ActiveRecordCompanion object

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

    Definition Classes
    ActiveRecordBase
  64. val rightId: Long

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

    Definition Classes
    ActiveRecordBase
  66. 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
  67. def saveEither: Either[Errors, IntermediateRecord.this.type]

    Definition Classes
    ValidationSupport
  68. def saveWithoutValidation(): Boolean

    Definition Classes
    Validatable
  69. def serializedValue(value: Any): Any

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

    Definition Classes
    AnyRef
  71. def toFieldType(value: Any, fieldInfo: FieldInfo): Any

    Definition Classes
    FormSerializerIO
  72. def toFormValues(prefix: Option[String]): Map[String, String]

    Definition Classes
    FormSerializer
  73. def toFormValues: Map[String, String]

    Definition Classes
    FormSerializer
  74. def toJson(onlyFields: String*): String

    Definition Classes
    JsonSerializer
  75. def toJson(onlyFields: List[String]): String

    Definition Classes
    JsonSerializer
  76. def toJson: String

    Definition Classes
    JsonSerializer
  77. def toMap: Map[String, Any]

    Definition Classes
    ActiveRecordBaseIO
  78. def toMap(onlyFields: String*): Map[String, Any]

    Definition Classes
    IO
  79. def toMap(onlyFields: List[String]): Map[String, Any]

    Definition Classes
    IO
  80. def toSerialized(map: Map[String, Any]): Map[String, Any]

    Attributes
    protected
    Definition Classes
    IO
  81. def toSerializedMap(onlyFields: List[String]): Map[String, Any]

    Definition Classes
    IO
  82. def toSerializedMap: Map[String, Any]

    Definition Classes
    IO
  83. def unsafeAssign(data: Map[String, Any]): IntermediateRecord.this.type

    Definition Classes
    ActiveRecordBaseIO
  84. def unsafeAssign(data: Map[String, Any], assignFunc: (Any, FieldInfo) ⇒ Any): IntermediateRecord.this.type

    Definition Classes
    IO
  85. def update(validate: Boolean): IntermediateRecord.this.type

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

    Definition Classes
    ActiveRecordBase
  87. def validate(): Boolean

    Definition Classes
    FormSerializerValidatable
  88. final def wait(): Unit

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

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

Inherited from ValidationSupport

Inherited from JsonSerializer

Inherited from FormSerializer

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