services

CurationService

trait CurationService extends AnyRef

Service to manipulate curation objects.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CurationService
  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 addCurationFile(parentType: String, parentId: UUID, curationFileId: UUID): Unit

    add a curation file to curationObject or curation folder.

  2. abstract def addCurationFolder(parentType: String, parentId: UUID, subCurationFolderId: UUID): Unit

    add a curation folder to curationObject or curation folder.

  3. abstract def deleteCurationFile(curationFileId: UUID, host: String, apiKey: Option[String], user: Option[User]): Unit

    Delete a curation file, and remove its metadata.

  4. abstract def deleteCurationFolder(id: UUID, host: String, apiKey: Option[String], user: Option[User]): Unit

    Delete a curation folder and all its subfolders and files.

  5. abstract def get(id: UUID): Option[CurationObject]

    Get curation object.

  6. abstract def getAllCurationFileIds(id: UUID): List[UUID]

    List curation file ids of a curation object and its folders

  7. abstract def getAllCurationFolderIds(id: UUID): List[UUID]

    List curation folder ids of a curation object and its folders

  8. abstract def getCurationByCurationFile(curationFileId: UUID): Option[CurationObject]

    get the curation contains this curation file

  9. abstract def getCurationFiles(curationFileIds: List[UUID]): List[CurationFile]

    List curation files of a curation obeject

  10. abstract def getCurationFolder(curationFolderId: UUID): Option[CurationFolder]

    get the curation folder

  11. abstract def getCurationFolders(curationFolderIds: List[UUID]): List[CurationFolder]

    List curation folders of a curation obeject

  12. abstract def getCurationObjectByDatasetId(datasetId: UUID): List[CurationObject]

    List curation and published objects a dataset is related to.

  13. abstract def incrementMetadataCount(id: UUID, count: Long): Unit

    Change the metadataCount field for a curation object

  14. abstract def insert(curation: CurationObject): Unit

    insert a new curation object.

  15. abstract def insertFile(curationFile: CurationFile): Unit

    insert a new curation object file.

  16. abstract def insertFolder(curationFolder: CurationFolder): Unit

    insert a new curation object folder.

  17. abstract def listSpace(date: String, nextPage: Boolean, limit: Option[Integer], space: Option[String]): List[CurationObject]

    Return a list of curation objects in a space, this does not check for permissions

  18. abstract def listSpace(limit: Option[Integer], space: Option[String]): List[CurationObject]

    Return a list of curation objects in a space, this does not check for permissions

  19. abstract def maxCollectionDepth(curation: CurationObject): Int

    Get the maximum depth of a curation object

  20. abstract def remove(id: UUID, host: String, apiKey: Option[String], user: Option[User]): Unit

    remove curation object, also delete it from staging area.

  21. abstract def removeCurationFile(parentType: String, parentId: UUID, curationFileId: UUID): Unit

    remove a curation folder from curationObject or curation folder.

  22. abstract def removeCurationFolder(parentType: String, parentId: UUID, subCurationFolderId: UUID): Unit

    remove a curation folder to curationObject or curation folder.

  23. abstract def setPublished(id: UUID): Unit

    Set the curation object as Published and set the publish date to current date.

  24. abstract def setSubmitted(id: UUID): Unit

    Set the curation object as submitted and set the submitted date to current date

  25. abstract def updateAuthorFullName(userId: UUID, fullName: String): Unit

    Update author full name

  26. abstract def updateExternalIdentifier(curationId: UUID, externalIdentifier: URI): Unit

    Save external Identifier received from repository

  27. abstract def updateInformation(id: UUID, description: String, name: String, oldSpace: UUID, newSpace: UUID, creators: List[String]): Unit

    Update curation object's name, description, space.

  28. abstract def updateRepository(curationId: UUID, repository: String): Unit

    Update the repository selected

  29. abstract def updateStatus(id: UUID, status: String): Unit

    Update status of a curation object.

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