trait
MetadataService extends AnyRef
Abstract Value Members
-
abstract
def
addDefinition(definition: MetadataDefinition, update: Boolean = true): Unit
-
abstract
def
addMetadata(metadata: Metadata): UUID
-
abstract
def
deleteDefinition(id: UUID): Unit
-
abstract
def
editDefinition(id: UUID, json: JsValue): Unit
-
-
abstract
def
getDefinitionByUri(uri: String): Option[MetadataDefinition]
-
abstract
def
getDefinitionByUriAndSpace(uri: String, spaceId: Option[String]): Option[MetadataDefinition]
-
abstract
def
getDefinitions(spaceId: Option[UUID] = None): List[MetadataDefinition]
-
abstract
def
getDefinitionsDistinctName(user: Option[User] = None): List[MetadataDefinition]
-
abstract
def
getExtractedMetadataByAttachTo(resourceRef: ResourceRef, extractor: String): List[Metadata]
-
abstract
def
getMetadataByAttachTo(resourceRef: ResourceRef): List[Metadata]
-
abstract
def
getMetadataByCreator(resourceRef: ResourceRef, typeofAgent: String): List[Metadata]
-
abstract
def
getMetadataById(id: UUID): Option[Metadata]
-
abstract
def
getMetadataContext(metadataId: UUID): Option[JsValue]
-
abstract
def
removeDefinitionsBySpace(spaceId: UUID): Unit
-
abstract
def
removeMetadata(metadataId: UUID): Unit
-
abstract
def
removeMetadataByAttachTo(resourceRef: ResourceRef, host: String, apiKey: Option[String], user: Option[User]): List[UUID]
-
abstract
def
removeMetadataByAttachToAndExtractor(resourceRef: ResourceRef, extractorName: String, host: String, apiKey: Option[String], user: Option[User]): List[UUID]
-
abstract
def
searchbyKeyInDataset(key: String, datasetId: UUID): List[Metadata]
-
abstract
def
updateAuthorFullName(userId: UUID, fullName: String): Unit
-
abstract
def
updateMetadata(metadataId: UUID, json: JsValue): Unit
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
MetadataService for add and query metadata