se.radley.plugin.salat

SalatPlugin

class SalatPlugin extends Plugin

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

Instance Constructors

  1. new SalatPlugin(app: Application)

Type Members

  1. case class MongoSource(hosts: List[ServerAddress], dbName: String, writeConcern: WriteConcern, user: Option[String] = scala.None, password: Option[String] = scala.None, options: Option[MongoOptions], conn: MongoConnection = null) extends Product with Serializable

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 cappedCollection(collectionName: String, size: Int, max: Option[Int] = None, sourceName: String = "default"): MongoCollection

    Returns Capped MongoCollection that has been configured in application.

    Returns Capped MongoCollection that has been configured in application.conf

    collectionName

    The MongoDB collection name

    size

    The capped collection size

    max

    The capped collection max number of documents

    sourceName

    The source name ex. default

    returns

    A MongoCollection

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def collection(collectionName: String, sourceName: String = "default"): MongoCollection

    Returns MongoCollection that has been configured in application.

    Returns MongoCollection that has been configured in application.conf

    collectionName

    The MongoDB collection name

    sourceName

    The source name ex. default

    returns

    A MongoCollection

  10. lazy val configuration: Configuration

  11. def db(sourceName: String = "default"): MongoDB

    Returns MongoDB for configured source

    Returns MongoDB for configured source

    sourceName

    The source name ex. default

    returns

    A MongoDB

  12. def enabled: Boolean

    Definition Classes
    SalatPlugin → Plugin
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  17. def gridFS(bucketName: String = "fs", sourceName: String = "default"): GridFS

    Returns GridFS for configured source

    Returns GridFS for configured source

    bucketName

    The bucketName for the GridFS instance

    sourceName

    The source name ex. default

    returns

    A GridFS

  18. def hashCode(): Int

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

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

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

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

    Definition Classes
    AnyRef
  23. def onStart(): Unit

    Definition Classes
    SalatPlugin → Plugin
  24. def onStop(): Unit

    Definition Classes
    SalatPlugin → Plugin
  25. def source(source: String): MongoSource

    Returns the MongoSource that has been configured in application.

    Returns the MongoSource that has been configured in application.conf

    source

    The source name ex. default

    returns

    A MongoSource

  26. lazy val sources: Map[String, MongoSource]

  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()

Inherited from Plugin

Inherited from AnyRef

Inherited from Any

Ungrouped