object
MongoUtils
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
mongoQuery(dbObject: DBObject): String
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
readBlob(id: UUID, collection: String, useMongoProperty: String): Option[(InputStream, String, String, Long)]
-
def
removeBlob(id: UUID, collection: String, useMongoProperty: String): Boolean
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
writeBlob[T](inputStream: InputStream, filename: String, contentType: Option[String], extra: Map[String, AnyRef], collection: String, useMongoProperty: String)(implicit ev: Manifest[T]): Option[UUID]
Inherited from AnyRef
Inherited from Any
Object used to read/write/delete from mongo. This object is aware of ByteStorageService. It will use mongo for the metadta of the file, and the ByteStorageService for the bytes. If either the ByteStorageService is set to MongoDBByteStorage or the useMongoProperty is set to true it will use mongo for the bytes as well (without going through ByteStorageService).
This code is aware of an issue with Casbah, Joda (see JIRA: https://opensource.ncsa.illinois.edu/jira/browse/MMDB-1573).