trait
MetadataService extends AnyRef
Abstract Value Members
-
abstract
def
addDefinition(definition: MetadataDefinition): Unit
-
abstract
def
addMetadata(metadata: Metadata): UUID
-
abstract
def
addMetadata(content_ld: JsValue, context: JsValue, attachedTo: ResourceRef, createdAt: Date, creator: Agent, spaceId: Option[UUID]): JsObject
-
abstract
def
copyMetadataSummary(sourceResourceRef: ResourceRef, targetResourceRef: ResourceRef): Unit
-
abstract
def
deleteDefinition(id: UUID): Unit
-
abstract
def
editDefinition(id: UUID, json: JsValue): Unit
-
abstract
def
getContextSpace(resourceRef: ResourceRef, space: Option[UUID]): Option[UUID]
-
-
abstract
def
getDefinitionByLabelAndSpace(label: String, spaceId: Option[String] = None): Option[MetadataDefinition]
-
abstract
def
getDefinitionByUriAndSpace(uri: String, spaceId: Option[String] = None): 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
getMetadataSummary(resourceRef: ResourceRef, spaceId: Option[UUID]): RdfMetadata
-
abstract
def
makeDefinitionAddable(id: UUID, addable: Boolean): Unit
-
abstract
def
removeDefinitionsBySpace(spaceId: UUID): Unit
-
abstract
def
removeMetadata(attachedTo: ResourceRef, term: String, itemId: String, deletedAt: Date, deletor: Agent, spaceId: Option[UUID], host: String): JsValue
-
abstract
def
removeMetadataByAttachTo(resourceRef: ResourceRef, host: String): List[UUID]
-
abstract
def
removeMetadataByAttachToAndExtractor(resourceRef: ResourceRef, extractorName: String, host: String): List[UUID]
-
abstract
def
removeMetadataById(metadataId: UUID): Unit
-
abstract
def
searchbyKeyInDataset(key: String, datasetId: UUID): List[Metadata]
-
abstract
def
synchMetadataContext(resourceRef: ResourceRef): Unit
-
abstract
def
updateAuthorFullName(userId: UUID, fullName: String): Unit
-
abstract
def
updateMetadata(content_ld: JsValue, context: JsValue, attachedTo: ResourceRef, itemId: String, updatedAt: Date, updator: Agent, spaceId: Option[UUID]): JsValue
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