services
.
mongodb
.
MongoDBRelationService
RelationDAO
object
RelationDAO
extends
ModelCompanion
[
Relation
,
ObjectId
]
Linear Supertypes
ModelCompanion
[
Relation
,
ObjectId
],
Logging
,
BaseDAOMethods
[
Relation
,
ObjectId
],
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
RelationDAO
ModelCompanion
Logging
BaseDAOMethods
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
count
(
q:
com.mongodb.casbah.Imports.DBObject
,
fieldsThatMustExist:
List
[
String
]
,
fieldsThatMustNotExist:
List
[
String
]
,
rp:
com.mongodb.casbah.Imports.ReadPreference
)
:
Long
Definition Classes
ModelCompanion → BaseDAOMethods
val
dao
:
SalatDAO
[
Relation
,
ObjectId
]
Definition Classes
RelationDAO
→ ModelCompanion
def
defaultReadPreference
:
ReadPreference
Definition Classes
ModelCompanion → BaseDAOMethods
def
defaultWriteConcern
:
WriteConcern
Definition Classes
ModelCompanion → BaseDAOMethods
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
find
[
A
,
B
]
(
ref:
A
,
keys:
B
,
rp:
com.mongodb.casbah.Imports.ReadPreference
)
(
implicit
arg0: (
A
) ⇒
com.mongodb.casbah.Imports.DBObject
,
arg1: (
B
) ⇒
com.mongodb.casbah.Imports.DBObject
)
:
SalatMongoCursor
[
Relation
]
Definition Classes
ModelCompanion → BaseDAOMethods
def
find
[
A
,
B
]
(
ref:
A
,
keys:
B
)
(
implicit
arg0: (
A
) ⇒
DBObject
,
arg1: (
B
) ⇒
DBObject
)
:
SalatMongoCursor
[
Relation
]
Definition Classes
BaseDAOMethods
def
find
[
A
]
(
ref:
A
)
(
implicit
arg0: (
A
) ⇒
DBObject
)
:
SalatMongoCursor
[
Relation
]
Definition Classes
BaseDAOMethods
def
findAll
()
:
SalatMongoCursor
[
Relation
]
Definition Classes
ModelCompanion
def
findOne
[
A
]
(
t:
A
,
rp:
com.mongodb.casbah.Imports.ReadPreference
)
(
implicit
arg0: (
A
) ⇒
com.mongodb.casbah.Imports.DBObject
)
:
Option
[
Relation
]
Definition Classes
ModelCompanion → BaseDAOMethods
def
findOne
[
A
]
(
t:
A
)
(
implicit
arg0: (
A
) ⇒
DBObject
)
:
Option
[
Relation
]
Definition Classes
BaseDAOMethods
def
findOneById
(
id:
ObjectId
)
:
Option
[
Relation
]
Definition Classes
ModelCompanion → BaseDAOMethods
def
fromJSON
(
s:
String
)
:
Relation
Definition Classes
ModelCompanion
def
fromJSON
(
j:
JObject
)
:
Relation
Definition Classes
ModelCompanion
def
fromJSONArray
(
s:
String
)
:
List
[
Relation
]
Definition Classes
ModelCompanion
def
fromJSONArray
(
j:
JArray
)
:
List
[
Relation
]
Definition Classes
ModelCompanion
def
fromMap
(
m:
Map
[
String
,
Any
]
)
:
Relation
Definition Classes
ModelCompanion
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
ids
[
A
]
(
query:
A
)
(
implicit
arg0: (
A
) ⇒
com.mongodb.casbah.Imports.DBObject
)
:
List
[
ObjectId
]
Definition Classes
ModelCompanion → BaseDAOMethods
def
insert
(
t:
Relation
,
wc:
com.mongodb.casbah.Imports.WriteConcern
)
:
Option
[
ObjectId
]
Definition Classes
ModelCompanion → BaseDAOMethods
def
insert
(
docs:
Traversable
[
Relation
]
,
wc:
com.mongodb.casbah.Imports.WriteConcern
)
:
List
[
Option
[
ObjectId
]]
Definition Classes
ModelCompanion → BaseDAOMethods
def
insert
(
docs:
Relation
*
)
(
implicit
wc:
WriteConcern
)
:
List
[
Option
[
ObjectId
]]
Definition Classes
BaseDAOMethods
def
insert
(
t:
Relation
)
:
Option
[
ObjectId
]
Definition Classes
BaseDAOMethods
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
lazy val
log
:
Logger
Attributes
protected
Definition Classes
Logging
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
primitiveProjection
[
P
]
(
query:
com.mongodb.casbah.Imports.DBObject
,
field:
String
)
(
implicit
m:
Manifest
[
P
]
,
ctx:
Context
)
:
Option
[
P
]
Definition Classes
ModelCompanion → BaseDAOMethods
def
primitiveProjections
[
P
]
(
query:
com.mongodb.casbah.Imports.DBObject
,
field:
String
)
(
implicit
m:
Manifest
[
P
]
,
ctx:
Context
)
:
List
[
P
]
Definition Classes
ModelCompanion → BaseDAOMethods
def
projection
[
P <:
CaseClass
]
(
query:
com.mongodb.casbah.Imports.DBObject
,
field:
String
)
(
implicit
m:
Manifest
[
P
]
,
ctx:
Context
)
:
Option
[
P
]
Definition Classes
ModelCompanion → BaseDAOMethods
def
projections
[
P <:
CaseClass
]
(
query:
com.mongodb.casbah.Imports.DBObject
,
field:
String
)
(
implicit
m:
Manifest
[
P
]
,
ctx:
Context
)
:
List
[
P
]
Definition Classes
ModelCompanion → BaseDAOMethods
def
remove
[
A
]
(
q:
A
,
wc:
com.mongodb.casbah.Imports.WriteConcern
)
(
implicit
arg0: (
A
) ⇒
com.mongodb.casbah.Imports.DBObject
)
:
com.mongodb.casbah.Imports.WriteResult
Definition Classes
ModelCompanion → BaseDAOMethods
def
remove
(
t:
Relation
,
wc:
com.mongodb.casbah.Imports.WriteConcern
)
:
com.mongodb.casbah.Imports.WriteResult
Definition Classes
ModelCompanion → BaseDAOMethods
def
remove
[
A
]
(
q:
A
)
(
implicit
arg0: (
A
) ⇒
DBObject
)
:
com.mongodb.casbah.Imports.WriteResult
Definition Classes
BaseDAOMethods
def
remove
(
t:
Relation
)
:
com.mongodb.casbah.Imports.WriteResult
Definition Classes
BaseDAOMethods
def
removeById
(
id:
ObjectId
,
wc:
com.mongodb.casbah.Imports.WriteConcern
)
:
com.mongodb.casbah.Imports.WriteResult
Definition Classes
ModelCompanion → BaseDAOMethods
def
removeByIds
(
ids:
List
[
ObjectId
]
,
wc:
com.mongodb.casbah.Imports.WriteConcern
)
:
com.mongodb.casbah.Imports.WriteResult
Definition Classes
ModelCompanion → BaseDAOMethods
def
save
(
t:
Relation
,
wc:
com.mongodb.casbah.Imports.WriteConcern
)
:
com.mongodb.casbah.Imports.WriteResult
Definition Classes
ModelCompanion → BaseDAOMethods
def
save
(
t:
Relation
)
:
com.mongodb.casbah.Imports.WriteResult
Definition Classes
BaseDAOMethods
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toCompactJSONArray
(
t:
Traversable
[
Relation
]
)
:
String
Definition Classes
ModelCompanion
def
toCompactJson
(
t:
Relation
)
:
String
Definition Classes
ModelCompanion
def
toDBObject
(
t:
Relation
)
:
com.mongodb.casbah.Imports.DBObject
Definition Classes
ModelCompanion → BaseDAOMethods
def
toJSONArray
(
t:
Traversable
[
Relation
]
)
:
JArray
Definition Classes
ModelCompanion
def
toJson
(
t:
Relation
)
:
JObject
Definition Classes
ModelCompanion
def
toMap
(
t:
Relation
)
:
Map
[
String
,
Any
]
Definition Classes
ModelCompanion
def
toObject
(
dbo:
com.mongodb.casbah.Imports.DBObject
)
:
Relation
Definition Classes
ModelCompanion
def
toPrettyJSONArray
(
t:
Traversable
[
Relation
]
)
:
String
Definition Classes
ModelCompanion
def
toPrettyJson
(
t:
Relation
)
:
String
Definition Classes
ModelCompanion
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
update
(
q:
com.mongodb.casbah.Imports.DBObject
,
o:
com.mongodb.casbah.Imports.DBObject
,
upsert:
Boolean
,
multi:
Boolean
,
wc:
com.mongodb.casbah.Imports.WriteConcern
)
:
com.mongodb.casbah.Imports.WriteResult
Definition Classes
ModelCompanion → BaseDAOMethods
def
update
(
q:
DBObject
,
t:
Relation
,
upsert:
Boolean
,
multi:
Boolean
,
wc:
WriteConcern
)
:
com.mongodb.casbah.Imports.WriteResult
Definition Classes
BaseDAOMethods
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Deprecated Value Members
def
findOneByID
(
id:
ObjectId
)
:
Option
[
Relation
]
Definition Classes
BaseDAOMethods
Annotations
@deprecated
Deprecated
(Since version 0.0.8)
Use findOneById instead
Inherited from
ModelCompanion
[
Relation
,
ObjectId
]
Inherited from
Logging
Inherited from
BaseDAOMethods
[
Relation
,
ObjectId
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped