getByDatabaseId

Return

OcrStatus with given database id or .NOT_SCHEDULED if there is no such OcrStatus.