services.mongodb

MongoDBMetadataService

class MongoDBMetadataService extends MetadataService

MongoDB Metadata Service Implementation

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

Instance Constructors

  1. new MongoDBMetadataService(contextService: ContextLDService, datasets: DatasetService, files: FileService, folders: FolderService, curations: CurationService, routing: ExtractorRoutingService)

    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 addDefinition(definition: MetadataDefinition, update: Boolean = true): Unit

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

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

    Definition Classes
    MongoDBMetadataServiceMetadataService
  7. def addMetadata(metadata: Metadata): UUID

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

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

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

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def deleteDefinition(id: UUID): Unit

    Delete vocabulary definitions*

    Delete vocabulary definitions*

    Definition Classes
    MongoDBMetadataServiceMetadataService
  11. def editDefinition(id: UUID, json: JsValue): Unit

    Edit vocabulary definitions*

    Edit vocabulary definitions*

    Definition Classes
    MongoDBMetadataServiceMetadataService
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  16. def getDefinition(id: UUID): Option[MetadataDefinition]

    Get vocabulary based on id *

    Get vocabulary based on id *

    Definition Classes
    MongoDBMetadataServiceMetadataService
  17. def getDefinitionByUri(uri: String): Option[MetadataDefinition]

    Get vocabulary based on uri *

    Get vocabulary based on uri *

    Definition Classes
    MongoDBMetadataServiceMetadataService
  18. def getDefinitionByUriAndSpace(uri: String, spaceId: Option[String]): Option[MetadataDefinition]

    Get vocabulary based on uri and space *

    Get vocabulary based on uri and space *

    Definition Classes
    MongoDBMetadataServiceMetadataService
  19. def getDefinitions(spaceId: Option[UUID] = None): List[MetadataDefinition]

    Vocabulary definitions for user fields *

    Vocabulary definitions for user fields *

    Definition Classes
    MongoDBMetadataServiceMetadataService
  20. def getDefinitionsDistinctName(user: Option[User]): List[MetadataDefinition]

    Vocabulary definitions with distinct names *

    Vocabulary definitions with distinct names *

    Definition Classes
    MongoDBMetadataServiceMetadataService
  21. def getExtractedMetadataByAttachTo(resourceRef: ResourceRef, extractor: String): List[Metadata]

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

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

    Definition Classes
    MongoDBMetadataServiceMetadataService
  22. def getMetadataByAttachTo(resourceRef: ResourceRef): List[Metadata]

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

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

    Definition Classes
    MongoDBMetadataServiceMetadataService
  23. 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

    Definition Classes
    MongoDBMetadataServiceMetadataService
  24. def getMetadataById(id: UUID): Option[Metadata]

    Get Metadata By Id

    Get Metadata By Id

    Definition Classes
    MongoDBMetadataServiceMetadataService
  25. def getMetadataBycontextId(contextId: UUID): List[Metadata]

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

    Get metadata context if available *

    Get metadata context if available *

    Definition Classes
    MongoDBMetadataServiceMetadataService
  27. def hashCode(): Int

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

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

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

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

    Definition Classes
    AnyRef
  32. def removeDefinitionsBySpace(spaceId: UUID): Unit

    Remove all metadata definitions related to a space*

    Remove all metadata definitions related to a space*

    Definition Classes
    MongoDBMetadataServiceMetadataService
  33. def removeMetadata(id: UUID): Unit

    Remove metadata, if this metadata does not exist, nothing is executed.

    Remove metadata, if this metadata does not exist, nothing is executed. Return removed metadata

    Definition Classes
    MongoDBMetadataServiceMetadataService
  34. def removeMetadataByAttachTo(resourceRef: ResourceRef, host: String, apiKey: Option[String], user: Option[User]): List[UUID]

    Remove metadata by attachTo

    Remove metadata by attachTo

    Definition Classes
    MongoDBMetadataServiceMetadataService
  35. def removeMetadataByAttachToAndExtractor(resourceRef: ResourceRef, extractorName: String, host: String, apiKey: Option[String], user: Option[User]): List[UUID]

    Remove metadata by attached ID and extractor name *

    Remove metadata by attached ID and extractor name *

    Definition Classes
    MongoDBMetadataServiceMetadataService
  36. def searchbyKeyInDataset(key: String, datasetId: UUID): List[Metadata]

    Search for metadata that have a key in a dataset *

    Search for metadata that have a key in a dataset *

    Definition Classes
    MongoDBMetadataServiceMetadataService
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def toString(): String

    Definition Classes
    AnyRef → Any
  39. def updateAuthorFullName(userId: UUID, fullName: String): Unit

    Update author full name*

    Update author full name*

    Definition Classes
    MongoDBMetadataServiceMetadataService
  40. def updateMetadata(metadataId: UUID, json: JsValue): Unit

    Update metadata TODO: implement

    Update metadata TODO: implement

    metadataId
    json

    Definition Classes
    MongoDBMetadataServiceMetadataService
  41. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MetadataService

Inherited from AnyRef

Inherited from Any

Ungrouped