services

MetadataService

trait MetadataService extends AnyRef

MetadataService for add and query metadata

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MetadataService
  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 addDefinition(definition: MetadataDefinition, update: Boolean = true): Unit

    Add vocabulary definitions, leaving it unchanged if the update argument is set to false, defaults to update *

  2. abstract def addMetadata(metadata: Metadata): UUID

    Add metadata to the metadata collection and attach to a section /file/dataset/collection

  3. abstract def deleteDefinition(id: UUID): Unit

    Delete vocabulary definitions*

  4. abstract def editDefinition(id: UUID, json: JsValue): Unit

    Edit vocabulary definitions*

  5. abstract def getDefinition(id: UUID): Option[MetadataDefinition]

    Get vocabulary based on id *

  6. abstract def getDefinitionByUri(uri: String): Option[MetadataDefinition]

    Get vocabulary based on uri *

  7. abstract def getDefinitionByUriAndSpace(uri: String, spaceId: Option[String]): Option[MetadataDefinition]

    Get vocabulary based on uri and space *

  8. abstract def getDefinitions(spaceId: Option[UUID] = None): List[MetadataDefinition]

    Vocabulary definitions for user fields *

  9. abstract def getDefinitionsDistinctName(user: Option[User] = None): List[MetadataDefinition]

    Vocabulary definitions with distinct names *

  10. abstract def getExtractedMetadataByAttachTo(resourceRef: ResourceRef, extractor: String): List[Metadata]

    Get Extractor metadata by attachTo, from a specific extractor if given

  11. abstract def getMetadataByAttachTo(resourceRef: ResourceRef): List[Metadata]

    Get Metadata based on Id of an element (section/file/dataset/collection)

  12. abstract def getMetadataByCreator(resourceRef: ResourceRef, typeofAgent: String): List[Metadata]

    Get metadata based on type i.

    Get metadata based on type i.e. user generated metadata or technical metadata

  13. abstract def getMetadataById(id: UUID): Option[Metadata]

    Get Metadata By Id

  14. abstract def getMetadataContext(metadataId: UUID): Option[JsValue]

    Get metadata context if available

  15. abstract def removeDefinitionsBySpace(spaceId: UUID): Unit

    Remove all metadata definitions related to a space*

  16. abstract def removeMetadata(metadataId: UUID): Unit

    Remove metadata

  17. abstract def removeMetadataByAttachTo(resourceRef: ResourceRef, host: String, apiKey: Option[String], user: Option[User]): List[UUID]

    Remove metadata by attachTo

  18. abstract def removeMetadataByAttachToAndExtractor(resourceRef: ResourceRef, extractorName: String, host: String, apiKey: Option[String], user: Option[User]): List[UUID]

    Remove metadata by attachTo from a specific extractor

  19. abstract def searchbyKeyInDataset(key: String, datasetId: UUID): List[Metadata]

    Search for metadata that have a key in a dataset *

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

    Update author full name*

  21. abstract def updateMetadata(metadataId: UUID, json: JsValue): Unit

    Update Metadata

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