services.mongodb

MongoDBPreviewService

class MongoDBPreviewService extends PreviewService

Use MongoDB to store previews

Annotations
@Singleton()
Linear Supertypes
PreviewService, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MongoDBPreviewService
  2. PreviewService
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MongoDBPreviewService(files: FileService, tiles: TileService, storage: ByteStorageService)

    Annotations
    @Inject()

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 attachToCollection(previewId: UUID, collectionId: UUID, previewType: String, extractorId: Option[String], json: JsValue): Unit

    Definition Classes
    MongoDBPreviewServicePreviewService
  8. def attachToFile(previewId: UUID, fileId: UUID, extractorId: Option[String], json: JsValue): Unit

    Definition Classes
    MongoDBPreviewServicePreviewService
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def count(): Long

    Count all files

    Count all files

    Definition Classes
    MongoDBPreviewServicePreviewService
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def findByCollectionId(id: UUID): List[Preview]

    Definition Classes
    MongoDBPreviewServicePreviewService
  15. def findByDatasetId(id: UUID): List[Preview]

    Definition Classes
    MongoDBPreviewServicePreviewService
  16. def findByFileId(id: UUID): List[Preview]

    Definition Classes
    MongoDBPreviewServicePreviewService
  17. def findBySectionId(id: UUID): List[Preview]

    Definition Classes
    MongoDBPreviewServicePreviewService
  18. def get(previewIds: List[UUID]): DBResult[Preview]

    Definition Classes
    MongoDBPreviewServicePreviewService
  19. def get(previewId: UUID): Option[Preview]

    Definition Classes
    MongoDBPreviewServicePreviewService
  20. def getBlob(id: UUID): Option[(InputStream, String, String, Long)]

    Get blob.

    Get blob.

    Definition Classes
    MongoDBPreviewServicePreviewService
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def getExtractorId(id: UUID): String

    Definition Classes
    MongoDBPreviewServicePreviewService
  23. def getMetadata(id: UUID): Map[String, Any]

    Get metadata from the mongo db as a map.

    Get metadata from the mongo db as a map.

    Definition Classes
    MongoDBPreviewServicePreviewService
  24. def hashCode(): Int

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

    Definition Classes
    Any
  26. def listPreviews(): List[Preview]

    List all thumbnail files.

    List all thumbnail files.

    Definition Classes
    MongoDBPreviewServicePreviewService
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  30. def remove(id: UUID): Unit

    Definition Classes
    MongoDBPreviewServicePreviewService
  31. def removePreview(p: Preview): Unit

    Definition Classes
    MongoDBPreviewServicePreviewService
  32. def save(inputStream: InputStream, filename: String, contentLength: Long, contentType: Option[String]): String

    Save blob.

    Save blob.

    Definition Classes
    MongoDBPreviewServicePreviewService
  33. def setTitle(previewId: UUID, title: String): Unit

    Updated title property of preview.

    Updated title property of preview. If no file is given, previewer default is used.

    Definition Classes
    MongoDBPreviewServicePreviewService
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. def updateMetadata(previewId: UUID, json: JsValue): Unit

    Definition Classes
    MongoDBPreviewServicePreviewService
  37. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PreviewService

Inherited from AnyRef

Inherited from Any

Ungrouped