services.mongodb

MongoDBCollectionService

class MongoDBCollectionService extends CollectionService

Use Mongodb to store collections.

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

Instance Constructors

  1. new MongoDBCollectionService(datasets: DatasetService)

    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. def addDataset(collectionId: UUID, datasetId: UUID): Try[Unit]

    Add datataset to collection

    Add datataset to collection

    Definition Classes
    MongoDBCollectionServiceCollectionService
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

    Count all collections

    Count all collections

    Definition Classes
    MongoDBCollectionServiceCollectionService
  10. def createThumbnail(collectionId: UUID): Unit

    Set new thumbnail.

    Set new thumbnail.

    Definition Classes
    MongoDBCollectionServiceCollectionService
  11. def delete(collectionId: UUID): Try[Unit]

    Delete collection and any reference of it

    Delete collection and any reference of it

    Definition Classes
    MongoDBCollectionServiceCollectionService
  12. def deleteAll(): Unit

  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( classOf[java.lang.Throwable] )
  16. def findOneByDatasetId(datasetId: UUID): Option[Collection]

  17. def first(): Option[Collection]

    First collection in chronological order.

    First collection in chronological order.

    Definition Classes
    MongoDBCollectionServiceCollectionService
  18. def get(id: UUID): Option[Collection]

    Get collection.

    Get collection.

    Definition Classes
    MongoDBCollectionServiceCollectionService
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. def index(id: UUID): Unit

  22. def insert(collection: Collection): Option[String]

    Create collection.

    Create collection.

    Definition Classes
    MongoDBCollectionServiceCollectionService
  23. def isInDataset(dataset: Dataset, collection: Collection): Boolean

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def latest(): Option[Collection]

    Lastest collection in chronological order.

    Lastest collection in chronological order.

    Definition Classes
    MongoDBCollectionServiceCollectionService
  26. def listCollections(): List[Collection]

    List all collections in the system.

    List all collections in the system.

    Definition Classes
    MongoDBCollectionServiceCollectionService
  27. def listCollectionsAfter(date: String, limit: Int): List[Collection]

    List collections after a specified date.

    List collections after a specified date.

    Definition Classes
    MongoDBCollectionServiceCollectionService
  28. def listCollectionsBefore(date: String, limit: Int): List[Collection]

    List collections before a specified date.

    List collections before a specified date.

    Definition Classes
    MongoDBCollectionServiceCollectionService
  29. def listCollectionsChronoReverse(): List[Collection]

    List all collections in the system in reverse chronological order.

    List all collections in the system in reverse chronological order.

    Definition Classes
    MongoDBCollectionServiceCollectionService
  30. def listInsideDataset(datasetId: UUID): List[Collection]

    List all collections inside a dataset.

    List all collections inside a dataset.

    Definition Classes
    MongoDBCollectionServiceCollectionService
  31. def listOutsideDataset(datasetId: UUID): List[Collection]

    List all collections outside a dataset.

    List all collections outside a dataset.

    Definition Classes
    MongoDBCollectionServiceCollectionService
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  35. def removeDataset(collectionId: UUID, datasetId: UUID, ignoreNotFound: Boolean = true): Try[Unit]

    Remove dataset from collection

    Remove dataset from collection

    Definition Classes
    MongoDBCollectionServiceCollectionService
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. def updateThumbnail(collectionId: UUID, thumbnailId: UUID): Unit

    Update thumbnail used to represent this collection.

    Update thumbnail used to represent this collection.

    Definition Classes
    MongoDBCollectionServiceCollectionService
  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CollectionService

Inherited from AnyRef

Inherited from Any

Ungrouped