com.github.aselab.activerecord

ActiveModel

trait ActiveModel extends ProductModel with FormSerializer with JsonSerializer with ValidationSupport

Source
ActiveRecord.scala
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ActiveModel
  2. ValidationSupport
  3. JsonSerializer
  4. FormSerializer
  5. IO
  6. Validatable
  7. ProductModel
  8. Saveable
  9. Product
  10. Equals
  11. AnyRef
  12. 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: 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[ActiveModel.this.type]

    Definition Classes
    ProductModel
  7. final def asInstanceOf[T0]: T0

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

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

    Definition Classes
    JsonSerializer
  10. def asJson: JValue

    Definition Classes
    JsonSerializer
  11. def assign(data: Map[String, Any]): ActiveModel.this.type

    Definition Classes
    IO
    Annotations
    @macroImpl( ... )
  12. def assign(data: (String, Any)*): ActiveModel.this.type

    Definition Classes
    IO
    Annotations
    @macroImpl( ... )
  13. def assignFormValues(data: Map[String, String]): ActiveModel.this.type

    Definition Classes
    FormSerializer
  14. def beforeValidation(): Unit

    Attributes
    protected
    Definition Classes
    Validatable
  15. def clearErrors(): Unit

    Definition Classes
    Validatable
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def doValidate(): Unit

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

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

    Definition Classes
    AnyRef → Any
  20. val errors: Errors

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

    Definition Classes
    Validatable
  22. def finalize(): Unit

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

    Definition Classes
    FormSerializer
  24. def fromJValue(jvalue: JValue): ActiveModel.this.type

    Definition Classes
    JsonSerializer
  25. def fromJson(json: String): ActiveModel.this.type

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

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

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

    Definition Classes
    Validatable
  29. def hasErrors: Boolean

    Definition Classes
    Validatable
  30. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. def isNewRecord: Boolean

    Definition Classes
    ActiveModelSaveable
  33. def isValid: Boolean

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

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

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

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

    Definition Classes
    Product
  38. def productPrefix: String

    Definition Classes
    Product
  39. def save(): Boolean

    Definition Classes
    ValidatableSaveable
  40. def saveEither: Either[Errors, ActiveModel.this.type]

    Definition Classes
    ValidationSupport
  41. def saveWithoutValidation(): Boolean

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

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

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

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

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

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

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

    Definition Classes
    JsonSerializer
  49. def toJson: String

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

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

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

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

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

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

    Definition Classes
    IO
  56. def toString(): String

    Definition Classes
    AnyRef → Any
  57. def unsafeAssign(data: Map[String, Any], assignFunc: (Any, FieldInfo) ⇒ Any): ActiveModel.this.type

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

    Definition Classes
    IO
  59. def validate(): Boolean

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ValidationSupport

Inherited from JsonSerializer

Inherited from FormSerializer

Inherited from IO

Inherited from Validatable

Inherited from ProductModel

Inherited from Saveable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped