Trait

play.ext.activerecord

Saveable

Related Doc: package activerecord

Permalink

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
Visibility
  1. Public
  2. All

Abstract Value Members

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

    Permalink
    Definition Classes
    Equals
  2. abstract def productArity: Int

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

    Permalink
    Definition Classes
    Product

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

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

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

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

    Permalink
    Definition Classes
    ProductModel
  5. var _isNewRecord: Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    JsonSerializer
  13. def asJson: JValue

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

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

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

    Permalink
    Definition Classes
    FormSerializer
  17. def beforeCreate(): Unit

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    CRUDable
  21. def beforeValidation(): Unit

    Permalink
    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]

    Permalink
    Attributes
    protected
    Definition Classes
    AssociationSupport
  23. def belongsTo[T <: AR](implicit m: ClassTag[T]): com.github.aselab.activerecord.ActiveRecord.BelongsToAssociation[Saveable.this.type, T]

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

    Permalink
    Definition Classes
    Validatable
  25. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    ActiveRecordBase
  28. def delete(): Boolean

    Permalink
    Definition Classes
    CRUDable
  29. def doCreate(): Boolean

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

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

    Permalink
    Attributes
    protected
  32. def doUpdate(): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  36. val errors: Errors

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

    Permalink
    Definition Classes
    Validatable
  38. def finalize(): Unit

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

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

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

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

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

    Permalink
    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]

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

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

    Permalink
    Definition Classes
    Validatable
  47. def hasErrors: Boolean

    Permalink
    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]

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

    Permalink
    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]

    Permalink
    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]

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

    Permalink
    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]

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

    Permalink
    Definition Classes
    AnyRef → Any
  55. val id: Long

    Permalink
    Definition Classes
    ActiveRecord → ActiveRecordBase
  56. def isDeleted: Boolean

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

    Permalink
    Definition Classes
    Any
  58. def isNewRecord: Boolean

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

    Permalink
    Definition Classes
    ActiveRecord → ActiveRecordBase
  60. def isValid: Boolean

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

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

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

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

    Permalink
    Definition Classes
    Product
  65. def productPrefix: String

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

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

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

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

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

    Permalink
    Definition Classes
    ValidationSupport
  71. def saveWithoutValidation(): Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    JsonSerializer
  79. def toJson: String

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

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

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

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

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

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

    Permalink
    Definition Classes
    IO
  86. def toString(): String

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

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

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

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

    Permalink
    Definition Classes
    ActiveRecordBase
  91. def validate(): Boolean

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

    Permalink
    Attributes
    protected
  93. final def wait(): Unit

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

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

    Permalink
    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