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)

    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 extractJsonKeys(json: JsValue): Set[String]

  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def getAutocompleteName(user: Option[User], filter: String): List[String]

    Vocabularies from metadata names besides definitions *

    Vocabularies from metadata names besides definitions *

    Definition Classes
    MongoDBMetadataServiceMetadataService
  17. final def getClass(): Class[_]

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

    Get vocabulary based on id *

    Get vocabulary based on id *

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

    Get vocabulary based on uri *

    Get vocabulary based on uri *

    Definition Classes
    MongoDBMetadataServiceMetadataService
  20. 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
  21. def getDefinitions(spaceId: Option[UUID] = None): List[MetadataDefinition]

    Vocabulary definitions for user fields *

    Vocabulary definitions for user fields *

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

    Vocabulary definitions with distinct names *

    Vocabulary definitions with distinct names *

    Definition Classes
    MongoDBMetadataServiceMetadataService
  23. 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
  24. 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
  25. def getMetadataById(id: UUID): Option[Metadata]

    Get Metadata By Id

    Get Metadata By Id

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

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

    Get metadata context if available *

    Get metadata context if available *

    Definition Classes
    MongoDBMetadataServiceMetadataService
  28. def hashCode(): Int

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

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

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

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

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

    Remove all metadata definitions related to a space*

    Remove all metadata definitions related to a space*

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

    Remove metadata, if this metadata does exit, nothing is executed

    Remove metadata, if this metadata does exit, nothing is executed

    Definition Classes
    MongoDBMetadataServiceMetadataService
  35. def removeMetadataByAttachTo(resourceRef: ResourceRef): Unit

    Remove metadata by attachTo

    Remove metadata by attachTo

    Definition Classes
    MongoDBMetadataServiceMetadataService
  36. def search(key: String, value: String, extractorName: String, count: Int, user: Option[User]): List[ResourceRef]

    Search for resources by key value pairs in the content of the metadata document *

    Search for resources by key value pairs in the content of the metadata document *

    Definition Classes
    MongoDBMetadataServiceMetadataService
  37. def search(query: JsValue): List[ResourceRef]

    Search by metadata.

    Search by metadata. Uses mongodb query structure.

    Definition Classes
    MongoDBMetadataServiceMetadataService
  38. def searchMultiple(query: List[JsValue], joinType: String, count: Int, user: Option[User]): List[ResourceRef]

    Search for resources by key value pairs in the content of the metadata document *

    Search for resources by key value pairs in the content of the metadata document *

    Definition Classes
    MongoDBMetadataServiceMetadataService
  39. 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
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def toString(): String

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

    Update author full name*

    Update author full name*

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

    Update metadata TODO: implement

    Update metadata TODO: implement

    metadataId
    json

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MetadataService

Inherited from AnyRef

Inherited from Any

Ungrouped