Packages

trait WaspMongoDB extends MongoDBHelper with WaspDB

Linear Supertypes
WaspDB, MongoDBHelper, Logging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WaspMongoDB
  2. WaspDB
  3. MongoDBHelper
  4. Logging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def close(): Unit
    Definition Classes
    WaspMongoDB → WaspDB
  2. abstract def deleteByName[T <: Model](name: String)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit
  3. abstract def deleteByQuery[T <: Model](query: Map[String, BsonValue])(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit
  4. abstract def deleteFileById(id: BsonObjectId): Unit
  5. abstract def getAll[T <: Model]()(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[T]
  6. abstract def getAllDocumentsByField[T <: Model](field: String, value: BsonValue)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[T]
  7. abstract def getAllDocumentsByFieldRaw[T <: Model](field: String, value: BsonValue)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[BsonDocument]
  8. abstract def getAllRaw[T <: Model]()(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[BsonDocument]
  9. abstract def getDocumentByField[T <: Model](field: String, value: BsonValue)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[T]
  10. abstract def getDocumentByFieldRaw[T <: Model](field: String, value: BsonValue)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[BsonDocument]
  11. abstract def getDocumentByQueryParams[T <: Model](query: Map[String, BsonValue], sort: Option[BsonDocument])(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[T]
  12. abstract def getDocumentByQueryParamsRaw[T <: Model](query: Map[String, BsonValue])(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Option[BsonDocument]
  13. abstract def getFileByID(id: BsonObjectId): Array[Byte]
  14. abstract def initializeCollections(): Unit
  15. abstract def insert[T <: Model](doc: T)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit
  16. abstract def insertIfNotExists[T <: Model](doc: T)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit
  17. abstract def insertRaw[T <: Model](doc: BsonDocument)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit
  18. abstract def mongoDatabase: MongoDatabase
    Definition Classes
    MongoDBHelper
  19. abstract def saveFile(arrayBytes: Array[Byte], file: String, metadata: BsonDocument): BsonObjectId
  20. abstract def updateByName[T <: Model](name: String, doc: T)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): UpdateResult
  21. abstract def updateByNameRaw[T <: Model](name: String, doc: BsonDocument)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): UpdateResult
  22. abstract def upsert[T <: Model](doc: T)(implicit ct: ClassTag[T], typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]): Unit

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addDocumentToCollection[T](collection: String, doc: T)(implicit ct: ClassTag[T]): Unit
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def createCollection(collection: String): Unit
    Attributes
    protected
    Definition Classes
    MongoDBHelper
    Annotations
    @silent( "deprecated" )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def exitsDocumentByKey(key: String, value: BsonValue, collection: String): Boolean
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getAllDocuments[T](collection: String)(implicit ct: ClassTag[T]): Seq[T]
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  13. def getAllDocumentsByKey[T](key: String, value: BsonValue, collection: String)(implicit ct: ClassTag[T]): Seq[T]
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getCollection(collection: String): MongoCollection[Document]
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  16. def getDocumentByKey[T](key: String, value: BsonValue, collection: String)(implicit ct: ClassTag[T]): Option[T]
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  17. def getDocumentByQueryParams[T](queryParams: Map[String, BsonValue], sort: Option[BsonDocument], collection: String)(implicit ct: ClassTag[T]): Option[T]
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val logger: WaspLogger
    Attributes
    protected
    Definition Classes
    Logging
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def removeDocumentFromCollection[T](key: String, value: BsonValue, collection: String)(implicit arg0: ClassTag[T]): Unit
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  25. def removeDocumentFromCollectionByQuery[T](query: BsonDocument, collection: String)(implicit arg0: ClassTag[T]): Unit
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  26. def replaceDocumentToCollection[T](key: String, value: BsonValue, updateValue: T, collection: String, upsert: Boolean = false)(implicit ct: ClassTag[T]): UpdateResult
    Attributes
    protected
    Definition Classes
    MongoDBHelper
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from WaspDB

Inherited from MongoDBHelper

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped