| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |
trait MongoMetaRecord[BaseRecord <: MongoRecord[BaseRecord]]
extends
MetaRecord[BaseRecord] with MongoMeta[BaseRecord]
| _formats.. |
implicit lazy val _formats
|
Formats | MongoMeta |
| collectionName.. |
def collectionName
|
String | MongoMeta |
| count.. |
def count
|
Long | MongoMeta |
| createRecord.. |
final def createRecord
|
BaseRecord | MetaRecord |
| fieldOrder.. |
def fieldOrder
|
List[Field[Any, BaseRecord]] | MetaRecord |
| findAll.. |
def findAll
Find all rows in this collection
|
List[BaseRecord] | |
| fixCollectionName.. |
def fixCollectionName
|
String | MongoMeta |
| formTemplate.. |
var formTemplate
|
Box[NodeSeq] | MetaRecord |
| formats.. |
def formats
|
Formats | MongoMeta |
| instantiateRecord.. |
protected def instantiateRecord
|
BaseRecord | MetaRecord |
| mongoIdentifier.. |
def mongoIdentifier
|
MongoIdentifier | MongoMeta |
| mutable_?.. |
def mutable_?
|
Boolean | MetaRecord |
| rootClass.. |
protected val rootClass
|
Class[Any] | MetaRecord |
| !=.. |
final def !=(arg0 : Any)
|
Boolean | Any |
| !=.. |
final def !=(arg0 : Object)
|
Boolean | AnyRef |
| ==.. |
final def ==(arg0 : Object)
|
Boolean | AnyRef |
| ==.. |
final def ==(arg0 : Any)
|
Boolean | Any |
| appendDispatch.. |
def appendDispatch(arg0 : PartialFunction[Req, (BaseRecord) => Box[LiftResponse]])
|
RulesSeq[PartialFunction] | MetaRecord |
| asDBObject.. |
def asDBObject(inst : BaseRecord)
Create a BasicDBObject from the field names and values
[details]
- MongoFieldFlavor types (List) are converted to DBObjects
using asDBObject
|
DBObject | |
| asInstanceOf.. |
final def asInstanceOf[T0]
|
T0 | Any |
| asJSON.. |
def asJSON(arg0 : BaseRecord)
|
JsObj | MetaRecord |
| bulkDelete_!!.. |
def bulkDelete_!!(qry : DBObject)
|
Unit | |
| bulkDelete_!!.. |
def bulkDelete_!!(k : String, o : Any)
|
Unit | |
| clone.. |
protected def clone
|
Object | AnyRef |
| count.. |
def count(arg0 : JObject)
|
Long | MongoMeta |
| createWithMutableField.. |
def createWithMutableField[FieldType](arg0 : BaseRecord, arg1 : Field[FieldType, BaseRecord], arg2 : Box[FieldType])
|
BaseRecord | MetaRecord |
| delete.. |
def delete(arg0 : JObject)
|
Unit | MongoMeta |
| delete.. |
def delete(arg0 : DBObject)
|
Unit | MongoMeta |
| delete.. |
def delete(arg0 : String, arg1 : Any)
|
Unit | MongoMeta |
| delete_!.. |
def delete_!(inst : BaseRecord)
Delete the instance from backing store
|
Boolean | |
| drop.. |
def drop
|
Unit | MongoMeta |
| ensureIndex.. |
def ensureIndex(arg0 : JObject, arg1 : JObject)
|
Unit | MongoMeta |
| ensureIndex.. |
def ensureIndex(arg0 : JObject)
|
Unit | MongoMeta |
| ensureIndex.. |
def ensureIndex(arg0 : JObject, arg1 : Boolean)
|
Unit | MongoMeta |
| eq.. |
final def eq(arg0 : Object)
|
Boolean | AnyRef |
| equals.. |
def equals(arg0 : Any)
|
Boolean | AnyRef |
| fieldByName.. |
def fieldByName(arg0 : String, arg1 : BaseRecord)
|
Box[Field[Any, BaseRecord]] | MetaRecord |
| fields.. |
def fields(arg0 : BaseRecord)
|
List[Field[Any, BaseRecord]] | MetaRecord |
| finalize.. |
protected def finalize
|
Unit | AnyRef |
| find.. |
def find(id : Int)
Find a single row by an Int id
|
Box[BaseRecord] | |
| find.. |
def find(qry : DBObject)
Find a single row by a qry, using a DBObject
|
Box[BaseRecord] | |
| find.. |
def find(k : String, o : Any)
Find a single row by a qry using String key and Any value
|
Box[BaseRecord] | |
| find.. |
def find(s : String)
Find a single row by a String id
|
Box[BaseRecord] | |
| find.. |
def find(oid : ObjectId)
Find a single row by an ObjectId
|
Box[BaseRecord] | |
| find.. |
def find(json : JObject)
Find a single document by a qry using a json value
|
Box[BaseRecord] | |
| findAll.. |
def findAll(qry : JObject, opts : FindOption*)
Find all documents using a JObject query
|
List[BaseRecord] | |
| findAll.. |
def findAll(qry : DBObject, keys : DBObject, sort : Option[DBObject], opts : FindOption*)
Find all rows and retrieve only keys fields
|
List[BaseRecord] | |
| findAll.. |
def findAll(qry : DBObject, opts : FindOption*)
Find all documents using a DBObject query
[details]
These are for passing in regex queries.
|
List[BaseRecord] | |
| findAll.. |
def findAll(k : String, o : Any, opts : FindOption*)
Find all documents using a k, v query
|
List[BaseRecord] | |
| findAll.. |
def findAll(qry : DBObject, sort : DBObject, opts : FindOption*)
Find all documents using a DBObject query with sort
|
List[BaseRecord] | |
| findAll.. |
def findAll(qry : DBObject, sort : Option[DBObject], opts : FindOption*)
Find all rows using a DBObject query
|
List[BaseRecord] | |
| findAll.. |
def findAll(k : String, o : Any, sort : JObject, opts : FindOption*)
Find all documents using a k, v query with JOBject sort
|
List[BaseRecord] | |
| findAll.. |
def findAll(qry : JObject, keys : JObject, sort : Option[JObject], opts : FindOption*)
Find all rows and retrieve only keys fields
|
List[BaseRecord] | |
| findAll.. |
def findAll(qry : JObject, sort : JObject, opts : FindOption*)
Find all documents using a JObject query with sort
|
List[BaseRecord] | |
| findAny.. |
def findAny(a : Any)
Find a single row by Any
This doesn't work as find because we need JObject's to be implicitly converted
|
Box[BaseRecord] | |
| foreachCallback.. |
protected def foreachCallback(arg0 : BaseRecord, arg1 : (LifecycleCallbacks) => Any)
|
Unit | MetaRecord |
| fromDBObject.. |
def fromDBObject(dbo : DBObject)
Creates a new record from a then sets the fields with the given DBObject
[details]
|
Box[BaseRecord] | |
| fromJSON.. |
def fromJSON(arg0 : String)
|
Box[BaseRecord] | MetaRecord |
| fromReq.. |
def fromReq(arg0 : Req)
|
BaseRecord | MetaRecord |
| getClass.. |
final def getClass
|
Class[Any] | AnyRef |
| hashCode.. |
def hashCode
|
Int | AnyRef |
| insertAll.. |
def insertAll(insts : List[BaseRecord])
Insert multiple records
|
Unit | |
| introspect.. |
def introspect(arg0 : BaseRecord, arg1 : Array[Method])
|
Unit | MetaRecord |
| isInstanceOf.. |
final def isInstanceOf[T0]
|
Boolean | Any |
| metaFields.. |
def metaFields
|
List[Field[Any, BaseRecord]] | MetaRecord |
| ne.. |
final def ne(arg0 : Object)
|
Boolean | AnyRef |
| notify.. |
final def notify
|
Unit | AnyRef |
| notifyAll.. |
final def notifyAll
|
Unit | AnyRef |
| prependDispatch.. |
def prependDispatch(arg0 : PartialFunction[Req, (BaseRecord) => Box[LiftResponse]])
|
RulesSeq[PartialFunction] | MetaRecord |
| save.. |
def save(inst : BaseRecord, strict : Boolean)
Save the instance in the appropriate backing store
|
Boolean | |
| save.. |
def save(inst : BaseRecord, db : DB)
|
Boolean | |
| save.. |
def save(inst : BaseRecord)
|
Boolean | |
| setFieldsFromDBObject.. |
def setFieldsFromDBObject(inst : BaseRecord, dbo : DBObject)
Populate the inst's fields with the values from a DBObject
[details]
Values are set
using setFromAny passing it the DBObject returned from Mongo.
|
Box[Unit] | |
| setFieldsFromJSON.. |
def setFieldsFromJSON(arg0 : BaseRecord, arg1 : String)
|
Box[Unit] | MetaRecord |
| setFieldsFromReq.. |
def setFieldsFromReq(arg0 : BaseRecord, arg1 : Req)
|
Box[Unit] | MetaRecord |
| synchronized.. |
final def synchronized[T0](arg0 : T0)
|
T0 | AnyRef |
| toForm.. |
def toForm(arg0 : BaseRecord)
|
NodeSeq | MetaRecord |
| toForm.. |
def toForm(arg0 : BaseRecord, arg1 : NodeSeq)
|
NodeSeq | MetaRecord |
| toString.. |
def toString
|
String | AnyRef |
| toXHtml.. |
def toXHtml(arg0 : BaseRecord)
|
NodeSeq | MetaRecord |
| update.. |
def update(qry : JObject, newbr : BaseRecord, db : DB, opts : UpdateOption*)
|
Unit | |
| update.. |
def update(arg0 : JObject, arg1 : JObject, arg2 : DB, arg3 : UpdateOption*)
|
Unit | MongoMeta |
| update.. |
def update(arg0 : JObject, arg1 : JObject, arg2 : UpdateOption*)
|
Unit | MongoMeta |
| update.. |
def update(arg0 : DBObject, arg1 : DBObject, arg2 : DB, arg3 : UpdateOption*)
|
Unit | MongoMeta |
| update.. |
def update(qry : JObject, newbr : BaseRecord, opts : UpdateOption*)
|
Unit | |
| validate.. |
def validate(arg0 : BaseRecord)
|
List[FieldError] | MetaRecord |
| wait.. |
final def wait(arg0 : Long)
|
Unit | AnyRef |
| wait.. |
final def wait
|
Unit | AnyRef |
| wait.. |
final def wait(arg0 : Long, arg1 : Int)
|
Unit | AnyRef |
| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |