ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / document / DocumentDAO / findForCuration

findForCuration

suspend fun findForCuration(project: Project, userIdentifier: UserIdentifier, limit: Int = 10, ignoreDocuments: List<String> = listOf(), subFilter: Map<String, String> = mapOf(), dateRange: List<Long?>? = null): List<Document>

Encapsulates the query for getting new documents to curate. Will use the projects filterCondition, will optionally exclude some documents, and only return documents that are required for curation. If a curator is also an annotator, and the curator annotated a document, the curator will not be able to curate the document.