play.ext.activerecord

Saveable

Related Doc: package activerecord

trait Saveable extends ActiveRecord

Self Type
Saveable
Linear Supertypes
ActiveRecord, com.github.aselab.activerecord.ActiveRecord.HabtmAssociationSupport, ActiveRecordBase[Long], com.github.aselab.activerecord.ActiveRecord.AssociationSupport, ActiveModel, ValidationSupport, JsonSerializer, FormSerializer, IO, Validatable, ProductModel, Product, Equals, CRUDable, com.github.aselab.activerecord.inner.Saveable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Saveable
  2. ActiveRecord
  3. HabtmAssociationSupport
  4. ActiveRecordBase
  5. AssociationSupport
  6. ActiveModel
  7. ValidationSupport
  8. JsonSerializer
  9. FormSerializer
  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

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean

    Definition Classes
    Equals
  2. abstract def productArity: Int

    Definition Classes
    Product
  3. abstract def productElement(n: Int): Any

    Definition Classes
    Product

Concrete 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[Saveable.this.type]

    Definition Classes
    ProductModel
  5. var _isNewRecord: Boolean

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

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

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

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

    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]): Saveable.this.type

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

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

    Definition Classes
    FormSerializer
  17. def beforeCreate(): Unit

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

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

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

    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]): com.github.aselab.activerecord.ActiveRecord.BelongsToAssociation[Saveable.this.type, T]

    Attributes
    protected
    Definition Classes
    AssociationSupport
  23. def belongsTo[T <: AR](implicit m: ClassTag[T]): com.github.aselab.activerecord.ActiveRecord.BelongsToAssociation[Saveable.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): Saveable.this.type

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

    Definition Classes
    ActiveRecordBase
  28. def delete(): Boolean

    Definition Classes
    CRUDable
  29. def doCreate(): Boolean

    Attributes
    protected
    Definition Classes
    ActiveRecordBase → CRUDable
  30. def doDelete(): Boolean

    Attributes
    protected
    Definition Classes
    ActiveRecordBase → CRUDable
  31. def doSave(): Boolean

    Attributes
    protected
  32. def doUpdate(): Boolean

    Attributes
    protected
    Definition Classes
    ActiveRecordBase → CRUDable
  33. def doValidate(): Unit

    Definition Classes
    ValidationSupport → Validatable
  34. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  36. val errors: Errors

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

    Definition Classes
    Validatable
  38. def finalize(): Unit

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

    Definition Classes
    FormSerializer
  40. def fromJValue(jvalue: JValue): Saveable.this.type

    Definition Classes
    JsonSerializer
  41. def fromJson(json: String): Saveable.this.type

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

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

    Definition Classes
    Validatable
  44. def hasAndBelongsToMany[T <: ActiveRecord](conditions: Map[String, Any])(implicit m: ClassTag[T]): com.github.aselab.activerecord.ActiveRecord.HasAndBelongsToManyAssociation[Saveable.this.type, T]

    Attributes
    protected
    Definition Classes
    HabtmAssociationSupport
  45. def hasAndBelongsToMany[T <: ActiveRecord](implicit m: ClassTag[T]): com.github.aselab.activerecord.ActiveRecord.HasAndBelongsToManyAssociation[Saveable.this.type, T]

    Attributes
    protected
    Definition Classes
    HabtmAssociationSupport
  46. def hasError(name: String): Boolean

    Definition Classes
    Validatable
  47. def hasErrors: Boolean

    Definition Classes
    Validatable
  48. def hasMany[T <: AR](conditions: Map[String, Any], foreignKey: String)(implicit m: ClassTag[T]): com.github.aselab.activerecord.ActiveRecord.HasManyAssociation[Saveable.this.type, T]

    Attributes
    protected
    Definition Classes
    AssociationSupport
  49. def hasMany[T <: AR](implicit m: ClassTag[T]): com.github.aselab.activerecord.ActiveRecord.HasManyAssociation[Saveable.this.type, T]

    Attributes
    protected
    Definition Classes
    AssociationSupport
  50. def hasManyThrough[T <: AR, I <: AR](through: com.github.aselab.activerecord.ActiveRecord.CollectionAssociation[Saveable.this.type, I], conditions: Map[String, Any], foreignKey: String)(implicit m1: ClassTag[T], m2: ClassTag[I]): com.github.aselab.activerecord.ActiveRecord.HasManyThroughAssociation[Saveable.this.type, T, I]

    Attributes
    protected
    Definition Classes
    AssociationSupport
  51. def hasOne[T <: AR](conditions: Map[String, Any], foreignKey: String)(implicit m: ClassTag[T]): com.github.aselab.activerecord.ActiveRecord.HasOneAssociation[Saveable.this.type, T]

    Attributes
    protected
    Definition Classes
    AssociationSupport
  52. def hasOne[T <: AR](implicit m: ClassTag[T]): com.github.aselab.activerecord.ActiveRecord.HasOneAssociation[Saveable.this.type, T]

    Attributes
    protected
    Definition Classes
    AssociationSupport
  53. def hasOneThrough[T <: AR, I <: AR](through: com.github.aselab.activerecord.ActiveRecord.SingularAssociation[Saveable.this.type, I], conditions: Map[String, Any], foreignKey: String)(implicit m1: ClassTag[T], m2: ClassTag[I]): com.github.aselab.activerecord.ActiveRecord.HasOneThroughAssociation[Saveable.this.type, T, I]

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

    Definition Classes
    AnyRef → Any
  55. val id: Long

    Definition Classes
    ActiveRecord → ActiveRecordBase
  56. def isDeleted: Boolean

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

    Definition Classes
    Any
  58. def isNewRecord: Boolean

    Definition Classes
    ActiveRecordBase → ActiveModel → CRUDable → Saveable
  59. def isPersisted: Boolean

    Definition Classes
    ActiveRecord → ActiveRecordBase
  60. def isValid: Boolean

    Definition Classes
    Validatable
  61. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  64. def productIterator: Iterator[Any]

    Definition Classes
    Product
  65. def productPrefix: String

    Definition Classes
    Product
  66. lazy val recordCompanion: ActiveRecordBaseCompanion[Long, Saveable.this.type]

    Definition Classes
    ActiveRecordBase
  67. def recordInDatabase: Option[Saveable.this.type]

    Definition Classes
    ActiveRecordBase
  68. def save(throws: Boolean, validate: Boolean): Boolean

    Definition Classes
    Saveable → ActiveRecordBase
  69. def save(): Boolean

    Definition Classes
    ActiveRecordBase → Validatable → CRUDable → Saveable
  70. def saveEither: Either[Errors, Saveable.this.type]

    Definition Classes
    ValidationSupport
  71. def saveWithoutValidation(): Boolean

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

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

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

    Definition Classes
    FormSerializer → IO
  75. def toFormValues(prefix: Option[String]): Map[String, String]

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

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

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

    Definition Classes
    JsonSerializer
  79. def toJson: String

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

    Definition Classes
    ActiveRecordBase → IO
  81. def toMap(onlyFields: String*): Map[String, Any]

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

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

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

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

    Definition Classes
    IO
  86. def toString(): String

    Definition Classes
    AnyRef → Any
  87. def unsafeAssign(data: Map[String, Any]): Saveable.this.type

    Definition Classes
    ActiveRecordBase → IO
  88. def unsafeAssign(data: Map[String, Any], assignFunc: (Any, FieldInfo) ⇒ Any): Saveable.this.type

    Definition Classes
    IO
  89. def update(validate: Boolean): Saveable.this.type

    Definition Classes
    ActiveRecordBase
  90. def update: Saveable.this.type

    Definition Classes
    ActiveRecordBase
  91. def validate(): Boolean

    Definition Classes
    FormSerializer → Validatable
  92. def validateAndSave(): Boolean

    Attributes
    protected
  93. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ActiveRecord

Inherited from com.github.aselab.activerecord.ActiveRecord.HabtmAssociationSupport

Inherited from ActiveRecordBase[Long]

Inherited from com.github.aselab.activerecord.ActiveRecord.AssociationSupport

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 com.github.aselab.activerecord.inner.Saveable

Inherited from AnyRef

Inherited from Any

Ungrouped