net.liftweb.record

Record

trait Record[MyType <: Record[MyType]] extends FieldContainer

Self Type
MyType
Linear Supertypes
FieldContainer, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Record
  2. FieldContainer
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def meta: MetaRecord[MyType]

    The meta record (the object that contains the meta result for this type)

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. def allFields: List[net.liftweb.record.Field[_, MyType]]

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

    Definition Classes
    Any
  8. def asJSON: JsExp

    Returns the JSON representation of this record

    Returns the JSON representation of this record

    returns

    a JsObj

  9. def asJValue: JObject

    Encode this record instance as a JObject

  10. def asJsExp: JsExp

    Returns the JSON representation of this record, converts asJValue to JsObj

    Returns the JSON representation of this record, converts asJValue to JsObj

    returns

    a JsObj

  11. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def copy: MyType

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(other: Any): Boolean

    Definition Classes
    Record → AnyRef → Any
  15. def fieldByName(fieldName: String): Box[net.liftweb.record.Field[_, MyType]]

    Find the field by name

    Find the field by name

    fieldName

    -- the name of the field to find

    returns

    Box[MappedField]

  16. def fields(): List[net.liftweb.record.Field[_, MyType]]

    Get the fields defined on the meta object for this record instance

  17. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

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

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. def runSafe[T](f: ⇒ T): T

  25. final def safe_?: Boolean

    Is it safe to make changes to the record (or should we check access control?)

  26. def saveTheRecord(): Box[MyType]

    Save the instance and return the instance

  27. def setFieldsFromJSON(json: String): Box[Unit]

    Sets the fields of this Record from the given JSON.

  28. def setFieldsFromJValue(jvalue: JValue): Box[Unit]

    Set the fields of this record from the given JValue

  29. def setFieldsFromJsonString(json: String): Box[Unit]

    Sets the fields of this Record from the given JSON.

  30. def setFieldsFromReq(req: Req): Unit

    Sets the fields of this Record from the given Req.

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toForm(f: (MyType) ⇒ Unit): NodeSeq

    Present the model as a form and execute the function on submission of the form

    Present the model as a form and execute the function on submission of the form

    f

    - the function to execute on form submission

    returns

    the form

  33. def toForm(button: Box[String])(f: (MyType) ⇒ Unit): NodeSeq

    Present the model as a form and execute the function on submission of the form

    Present the model as a form and execute the function on submission of the form

    button

    - If it's Full, put a submit button on the form with the value of the parameter

    f

    - the function to execute on form submission

    returns

    the form

  34. def toString(): String

    Definition Classes
    Record → AnyRef → Any
  35. def toXHtml: NodeSeq

    Returns the HTML representation of this Record

  36. def validate: List[FieldError]

    Validates this Record by calling validators for each field

    Validates this Record by calling validators for each field

    returns

    a List of FieldError. If this list is empty you can assume that record was validated successfully

  37. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from FieldContainer

Inherited from AnyRef

Inherited from Any