Trait

net.liftweb.record

Record

Related Doc: package record

Permalink

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. Record
  2. FieldContainer
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def meta: MetaRecord[MyType]

    Permalink

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

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

    Permalink
    Definition Classes
    Record → FieldContainer
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def asJObject: JObject

    Permalink

    Encode this record instance as a JObject

  7. def asJSON: JsExp

    Permalink

    Returns the JSON representation of this record

    Returns the JSON representation of this record

    returns

    a JsObj

  8. def asJValue: JValue

    Permalink

    Encode this record instance as a JValue

  9. def asJsExp: JsExp

    Permalink

    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

  10. def clone(): AnyRef

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

    Permalink
  12. def dirty_?: Boolean

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

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

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

    Permalink

    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[Field[_, MyType]]

    Permalink

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

  17. def finalize(): Unit

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

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

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

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

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

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

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

    Permalink
  25. final def safe_?: Boolean

    Permalink

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

  26. def saveTheRecord(): Box[MyType]

    Permalink

    Save the instance and return the instance

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

    Permalink

    Set the fields of this record from the given JValue

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

    Permalink

    Sets the fields of this Record from the given JSON.

  29. def setFieldsFromReq(req: Req): Unit

    Permalink

    Sets the fields of this Record from the given Req.

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

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

    Permalink

    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

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

    Permalink

    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

  33. def toString(): String

    Permalink
    Definition Classes
    Record → AnyRef → Any
  34. def toXHtml: NodeSeq

    Permalink

    Returns the HTML representation of this Record

  35. def validate: List[FieldError]

    Permalink

    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

  36. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FieldContainer

Inherited from AnyRef

Inherited from Any

Ungrouped