io.github.morgaroth.utils.mongodb

salat

package salat

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. salat
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait JodaSupport extends AnyRef

  2. class MongoDAOAnyKey[ObjectType <: AnyRef, IDType] extends SalatDAOWithCfg[ObjectType, IDType]

  3. class MongoDAOAnyKeyJodaSupport[ObjectType <: AnyRef, IDType] extends SalatDAOWithCfg[ObjectType, IDType] with JodaSupport

  4. abstract class MongoDAOStringKey[ObjectType <: AnyRef] extends SalatDAO[ObjectType, String]

    Helper class for constructing MongoDB DAO, uses Typesafe configuration and collection name as constructor arguments, prepared especially for objects with key of type String

    Helper class for constructing MongoDB DAO, uses Typesafe configuration and collection name as constructor arguments, prepared especially for objects with key of type String

    Usage: case class Foo(@Key("_id") someID:String, someInt:Integer, someObject: anotherObject)

    application.conf: ... this.app.Foo.Database{ uri = "mongodb://localhost/FooDatabase" } ...

    val config = ConfigFactory.load().getConfig("this.app.Foo.Database") // reads config with "uri" element object FooDAO extends MongoDAOStringKey[Foo](config,"foos")

  5. class MongoDAOStringKeyJodaSupport[ObjectType <: AnyRef] extends MongoDAOStringKey[ObjectType] with JodaSupport

  6. abstract class SalatDAOWithCfg[ObjectType <: AnyRef, IDType] extends SalatDAO[ObjectType, IDType]

    Helper class with SalatDAO configuration read from application configuration file

    Helper class with SalatDAO configuration read from application configuration file

    Usage: case class Foo(@Key("_id") someID:String, someInt:Integer, someObject: anotherObject)

    object FooDAO extends SalatDAOWithCfg[Foo,String]("app.db.uri","foos")

Value Members

  1. package build

Inherited from AnyRef

Inherited from Any

Ungrouped