services

CollectionService

trait CollectionService extends AnyRef

Generic collection service.

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

Abstract Value Members

  1. abstract def addDataset(collectionId: UUID, datasetId: UUID): Try[Unit]

    Add datataset to collection

  2. abstract def addFollower(id: UUID, userId: UUID): Unit

    Add follower to a collection.

  3. abstract def addToSpace(collection: UUID, space: UUID): Unit

    Associate a collection with a space

  4. abstract def count(space: Option[String] = None): Long

    The number of collections

  5. abstract def createThumbnail(collectionId: UUID): Unit

    Set new thumbnail.

  6. abstract def delete(collectionId: UUID): Try[Unit]

    Delete collection and any reference of it

  7. abstract def deleteAll(): Unit

  8. abstract def findOneByDatasetId(datasetId: UUID): Option[Collection]

  9. abstract def first(space: Option[String] = None): Option[Collection]

    First collection in chronological order.

  10. abstract def get(id: UUID): Option[Collection]

    Get collection.

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

    Create collection.

  12. abstract def isInDataset(dataset: Dataset, collection: Collection): Boolean

  13. abstract def latest(space: Option[String] = None): Option[Collection]

    Lastest collection in chronological order.

  14. abstract def listCollections(order: Option[String] = None, limit: Option[Integer] = None, space: Option[String] = None): List[Collection]

    List collections in the system.

  15. abstract def listCollectionsAfter(date: String, limit: Int, space: Option[String] = None): List[Collection]

    List collections after a specified date.

  16. abstract def listCollectionsBefore(date: String, limit: Int, space: Option[String] = None): List[Collection]

    List collections before a specified date.

  17. abstract def listCollectionsChronoReverse(limit: Option[Integer] = None, space: Option[String] = None): List[Collection]

    List collections in the system in reverse chronological order.

  18. abstract def listInsideDataset(datasetId: UUID): List[Collection]

    List all collections inside a dataset.

  19. abstract def listOutsideDataset(datasetId: UUID): List[Collection]

    List all collections outside a dataset.

  20. abstract def listUserCollectionsAfter(date: String, limit: Int, email: String): List[Collection]

    List collections for a specific user after a specified date.

  21. abstract def listUserCollectionsBefore(date: String, limit: Int, email: String): List[Collection]

    List collections for a specific user before a specified date.

  22. abstract def removeDataset(collectionId: UUID, datasetId: UUID, ignoreNotFound: Boolean = true): Try[Unit]

    Remove dataset from collection

  23. abstract def removeFollower(id: UUID, userId: UUID): Unit

    Remove follower from a collection.

  24. abstract def updateThumbnail(collectionId: UUID, thumbnailId: UUID): Unit

    Update thumbnail used to represent this collection.

Concrete 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. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped