Refines meta to require a BsonMetaRecord
Refines meta to require a BsonMetaRecord
Encode a record instance into a DBObject
Returns the JSON representation of this record
Encode this record instance as a JObject
Encode this record instance as a JObject
Returns the JSON representation of this record, converts asJValue to JsObj
Returns the JSON representation of this record, converts asJValue to JsObj
a JsObj
Pattern.
Pattern.equals doesn't work properly so it needs a special check. If you use PatternField, be sure to override equals with this.
Find the field by name
Find the field by name
-- the name of the field to find
Box[MappedField]
Get the fields defined on the meta object for this record instance
Get the fields defined on the meta object for this record instance
Is it safe to make changes to the record (or should we check access control?)
Is it safe to make changes to the record (or should we check access control?)
Save the instance and return the instance
Save the instance and return the instance
Set the fields of this record from the given DBObject
Sets the fields of this Record from the given JSON.
Sets the fields of this Record from the given JSON.
Set the fields of this record from the given JValue
Set the fields of this record from the given JValue
Sets the fields of this Record from the given JSON.
Sets the fields of this Record from the given JSON.
Sets the fields of this Record from the given Req.
Sets the fields of this Record from the given Req.
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
- the function to execute on form submission
the form
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
- If it's Full, put a submit button on the form with the value of the parameter
- the function to execute on form submission
the form
Returns the HTML representation of this Record
Returns the HTML representation of this Record
Validates this Record by calling validators for each field
Validates this Record by calling validators for each field
a List of FieldError. If this list is empty you can assume that record was validated successfully
Specialized Record that can be encoded and decoded from BSON (DBObject)