ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / annotationdefinition / AnnotationDefinitionDAO

AnnotationDefinitionDAO

class AnnotationDefinitionDAO

Constructors

Name Summary
<init> AnnotationDefinitionDAO(database: CoroutineDatabase)

Functions

Name Summary
byId suspend fun byId(id: String): AnnotationDefinition
byIdOrNull suspend fun byIdOrNull(id: String): AnnotationDefinition?
suspend fun byIdOrNull(id: Id<AnnotationDefinition>): AnnotationDefinition?
getAll suspend fun getAll(): AnnotationDefinitionList
save suspend fun save(annotationDefinition: AnnotationDefinition): UpdateResult?