| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |
trait Record[MyType <: Record[MyType]]
extends
FieldContainer with ScalaObject
| allFields.. |
def allFields
|
List[Field[Any, MyType]] | |
| asJSON.. |
def asJSON
Retuns the JSON representation of this record
[details]
|
JsExp | |
| asJValue.. |
def asJValue
Encode this record instance as a JObject
|
JObject | |
| asJsExp.. |
def asJsExp
Retuns the JSON representation of this record, converts asJValue to JsObj
[details]
|
JsExp | |
| meta.. |
abstract def meta
The meta record (the object that contains the meta result for this type)
|
MetaRecord[MyType] | |
| safe_?.. |
final def safe_?
Is it safe to make changes to the record (or should we check access control?)
|
Boolean | |
| toXHtml.. |
def toXHtml
Returns the HTML representation ofthis Record
|
NodeSeq | |
| validate.. |
def validate
Validates this Record by calling validators for each field
[details]
|
List[FieldError] |
| !=.. |
final def !=(arg0 : Object)
|
Boolean | AnyRef |
| !=.. |
final def !=(arg0 : Any)
|
Boolean | Any |
| ==.. |
final def ==(arg0 : Any)
|
Boolean | Any |
| ==.. |
final def ==(arg0 : Object)
|
Boolean | AnyRef |
| asInstanceOf.. |
final def asInstanceOf[T0]
|
T0 | Any |
| clone.. |
protected def clone
|
Object | AnyRef |
| eq.. |
final def eq(arg0 : Object)
|
Boolean | AnyRef |
| equals.. |
def equals(arg0 : Any)
|
Boolean | AnyRef |
| fieldByName.. |
def fieldByName(fieldName : String)
Find the field by name
[details]
|
Box[Field[Any, MyType]] | |
| fields.. |
def fields
Get the fields defined on the meta object for this record instance
|
List[Field[Any, MyType]] | |
| finalize.. |
protected def finalize
|
Unit | AnyRef |
| getClass.. |
final def getClass
|
Class[Any] | AnyRef |
| hashCode.. |
def hashCode
|
Int | AnyRef |
| isInstanceOf.. |
final def isInstanceOf[T0]
|
Boolean | Any |
| ne.. |
final def ne(arg0 : Object)
|
Boolean | AnyRef |
| notify.. |
final def notify
|
Unit | AnyRef |
| notifyAll.. |
final def notifyAll
|
Unit | AnyRef |
| runSafe.. |
def runSafe[T](f : => T)
|
T | |
| setFieldsFromJSON.. |
def setFieldsFromJSON(json : String)
Sets the fields of this Record from the given JSON
|
Box[Unit] | |
| setFieldsFromJValue.. |
def setFieldsFromJValue(jvalue : JValue)
Set the fields of this record from the given JValue
|
Box[Unit] | |
| setFieldsFromJsonString.. |
def setFieldsFromJsonString(json : String)
Sets the fields of this Record from the given JSON
|
Box[Unit] | |
| setFieldsFromReq.. |
def setFieldsFromReq(req : Req)
Sets the fields of this Record from the given Req
|
Unit | |
| synchronized.. |
final def synchronized[T0](arg0 : T0)
|
T0 | AnyRef |
| toForm.. |
def toForm(f : (MyType) => Unit)
Present the model as a form and execute the function on submission of the form
[details]
|
NodeSeq | |
| toForm.. |
def toForm(button : Box[String])(f : (MyType) => Unit)
Present the model as a form and execute the function on submission of the form
[details]
|
NodeSeq | |
| toString.. |
def toString
|
String | AnyRef |
| wait.. |
final def wait(arg0 : Long, arg1 : Int)
|
Unit | AnyRef |
| wait.. |
final def wait
|
Unit | AnyRef |
| wait.. |
final def wait(arg0 : Long)
|
Unit | AnyRef |
| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |