services.mongodb

MongoDBFolderService

class MongoDBFolderService extends FolderService

Use Mongodb to store folders

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

Instance Constructors

  1. new MongoDBFolderService(files: FileService, 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 addFile(folderId: UUID, fileId: UUID): Unit

    Add File to Folder

    Add File to Folder

    Definition Classes
    MongoDBFolderServiceFolderService
  7. def addSubFolder(folderId: UUID, subFolderId: UUID): Unit

    Add Subfolder to folder

    Add Subfolder to folder

    Definition Classes
    MongoDBFolderServiceFolderService
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def countByDisplayName(displayName: String, parentType: String, parentId: String): Long

    Count how many folders have the same display name

    Count how many folders have the same display name

    Definition Classes
    MongoDBFolderServiceFolderService
  11. def countByName(name: String, parentType: String, parentId: String): Long

    Count how many folders have the same base name

    Count how many folders have the same base name

    Definition Classes
    MongoDBFolderServiceFolderService
  12. def delete(folderId: UUID, host: String, apiKey: Option[String], user: Option[User]): Unit

    Delete folder and any reference of it.

    Delete folder and any reference of it.

    Definition Classes
    MongoDBFolderServiceFolderService
  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 findByDisplayNameInParent(name: String, parentType: String, parentId: String): List[Folder]

    Get all folders with the same display name

    Get all folders with the same display name

    Definition Classes
    MongoDBFolderServiceFolderService
  17. def findByFileId(file_id: UUID): List[Folder]

    Find folders that contain a file by id.

    Find folders that contain a file by id.

    Definition Classes
    MongoDBFolderServiceFolderService
  18. def findByNameInParent(name: String, parentType: String, parentId: String): List[Folder]

    Get all folders with the same base name

    Get all folders with the same base name

    Definition Classes
    MongoDBFolderServiceFolderService
  19. def findByParentDatasetId(parentId: UUID): List[Folder]

    Get all folders that are part of a dataset (doesn't matter the level)

    Get all folders that are part of a dataset (doesn't matter the level)

    Definition Classes
    MongoDBFolderServiceFolderService
  20. def findByParentDatasetIds(parentIds: List[UUID]): List[Folder]

    Get all the folders in a list of parent datasettIds.

    Get all the folders in a list of parent datasettIds. It helps to identify the files that a user has access to.

    Definition Classes
    MongoDBFolderServiceFolderService
  21. def get(ids: List[UUID]): DBResult[Folder]

    Definition Classes
    MongoDBFolderServiceFolderService
  22. def get(id: UUID): Option[Folder]

    Get Folder

    Get Folder

    Definition Classes
    MongoDBFolderServiceFolderService
  23. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  25. def insert(folder: Folder): Option[String]

    Create a Folder

    Create a Folder

    Definition Classes
    MongoDBFolderServiceFolderService
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  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 recursiveArchive(folder: Folder, host: String, parameters: JsObject, apiKey: Option[String], user: Option[User]): Unit

    Recursively submit requests to archive or unarchive the contents of the given folder.

    Recursively submit requests to archive or unarchive the contents of the given folder. NOTE: "parameters" includes "operation", which supports both archiving and unarchiving

    Definition Classes
    MongoDBFolderServiceFolderService
  31. def removeFile(folderId: UUID, fileId: UUID): Unit

    Remove file from folder

    Remove file from folder

    Definition Classes
    MongoDBFolderServiceFolderService
  32. def removeSubFolder(folderId: UUID, subFolderId: UUID): Unit

    Remove subfolder.

    Remove subfolder.

    Definition Classes
    MongoDBFolderServiceFolderService
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. def update(folder: Folder): Unit

    Update a Folder

    Update a Folder

    Definition Classes
    MongoDBFolderServiceFolderService
  36. def updateAuthorFullName(userId: UUID, fullName: String): Unit

    Update author full name

    Update author full name

    Definition Classes
    MongoDBFolderServiceFolderService
  37. def updateName(folderId: UUID, name: String, displayName: String): Unit

    Update name for a folder

    Update name for a folder

    Definition Classes
    MongoDBFolderServiceFolderService
  38. def updateParent(folderId: UUID, parent: TypedID): Unit

    Update parent of a folder

    Update parent of a folder

    Definition Classes
    MongoDBFolderServiceFolderService
  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 FolderService

Inherited from AnyRef

Inherited from Any

Ungrouped