play.modules.mongojack

MongoDB

object MongoDB

MongoDB Jackson Mapper module for play framework

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

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def collection[T <: KeyTyped[K], K](entityType: Class[T with KeyTyped[K]])(implicit app: api.Application): JacksonDBCollection[T, K]

    Get a collection.

    Get a collection. Implicitly uses the camel case version of the class name, or the collection name configured by a net.vz.mongodb.jackson.MongoCollection annotation if present.

    The passed in entityType must directly implement play.modules.mongodb.jackson.KeyTyped and specify the K parameter, this is used as the key type. If you don't want your objects implementing MongoDocument, simply use the MongoDB.collection(Class, Class) method instead, and pass the keyType in there.

    This method takes an implicit application as a parameter, and so is the best option to use from Scala, and can also be used while testing to pass in a fake application.

    entityType

    The type of the entity

  9. def collection[T <: KeyTyped[K], K](name: String, entityType: Class[T with KeyTyped[K]])(implicit app: api.Application): JacksonDBCollection[T, K]

    Get a collection.

    Get a collection.

    The passed in entityType must directly implement play.modules.mongodb.jackson.KeyTyped and specify the K parameter, this is used as the key type. If you don't want your objects implementing MongoDocument, simply use the MongoDB.collection(Class, Class) method instead, and pass the keyType in there.

    This method takes an implicit application as a parameter, and so is the best option to use from Scala, and can also be used while testing to pass in a fake application.

    name

    The name of the collection

    entityType

    The type of the entity

  10. def collection[T, K](entityType: Class[T], keyType: Class[K])(implicit app: api.Application): JacksonDBCollection[T, K]

    Get a collection.

    Get a collection. Implicitly uses the camel case version of the class name, or the collection name configured by a net.vz.mongodb.jackson.MongoCollection annotation if present.

    This method takes an implicit application as a parameter, and so is the best option to use from Scala, and can also be used while testing to pass in a fake application.

    entityType

    The type of the entity

    keyType

    The type of the key

  11. def collection[T, K](name: String, entityType: Class[T], keyType: Class[K])(implicit app: api.Application): JacksonDBCollection[T, K]

    Get a collection.

    Get a collection. This method takes an implicit application as a parameter, and so is the best option to use from Scala, and can also be used while testing to pass in a fake application.

    name

    The name of the collection

    entityType

    The type of the entity

    keyType

    The type of the key

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def getCollection[T <: KeyTyped[K], K](entityType: Class[T with KeyTyped[K]]): JacksonDBCollection[T, K]

    Get a collection.

    Get a collection. Implicitly uses the camel case version of the class name, or the collection name configured by a net.vz.mongodb.jackson.MongoCollection annotation if present.

    The passed in entityType must directly implement play.modules.mongodb.jackson.KeyTyped and specify the K parameter, this is used as the key type. If you don't want your objects implementing MongoDocument, simply use the MongoDB.getCollection(Class, Class) method instead, and pass the keyType in there.

    This method uses the current application, and so will not work outside of the context of a running app.

    entityType

    The type of the entity

  17. def getCollection[T <: KeyTyped[K], K](name: String, entityType: Class[T with KeyTyped[K]]): JacksonDBCollection[T, K]

    Get a collection.

    Get a collection.

    The passed in entityType must directly implement play.modules.mongodb.jackson.KeyTyped and specify the K parameter, this is used as the key type. If you don't want your objects implementing MongoDocument, simply use the MongoDB.getCollection(Class, Class) method instead, and pass the keyType in there. This method uses the current application, and so will not work outside of the context of a running app.

    name

    The name of the collection

    entityType

    The type of the entity

  18. def getCollection[T, K](entityType: Class[T], keyType: Class[K]): JacksonDBCollection[T, K]

    Get a collection.

    Get a collection. Implicitly uses the camel case version of the class name, or the collection name configured by a net.vz.mongodb.jackson.MongoCollection annotation if present.

    This method uses the current application, and so will not work outside of the context of a running app.

    entityType

    The type of the entity

    keyType

    The type of the key

  19. def getCollection[T, K](name: String, entityType: Class[T], keyType: Class[K]): JacksonDBCollection[T, K]

    Get a collection.

    Get a collection. This method uses the current application, and so will not work outside of the context of a running app.

    name

    The name of the collection

    entityType

    The type of the entity

    keyType

    The type of the key

  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped