1 |
eff8ec56
|
Vojtěch Bartička
|
using Models.Annotations;
|
2 |
a6675a6d
|
Vojtěch Bartička
|
using Models.Enums;
|
3 |
eff8ec56
|
Vojtěch Bartička
|
using System;
|
4 |
|
|
using System.Collections.Generic;
|
5 |
|
|
using System.Linq;
|
6 |
|
|
using System.Text;
|
7 |
|
|
using System.Threading.Tasks;
|
8 |
|
|
|
9 |
|
|
namespace Core.Services.AnnotationService
|
10 |
|
|
{
|
11 |
|
|
public interface IAnnotationService
|
12 |
|
|
{
|
13 |
|
|
public void CreateDocumentAnnotations(AnnotationsAddRequest request, Guid userId);
|
14 |
6bdb3d95
|
Vojtěch Bartička
|
public AnnotationListResponse GetUserAnnotations(Guid userId);
|
15 |
a6675a6d
|
Vojtěch Bartička
|
public AnnotationInfo GetAnnotation(Guid annotationId, Guid userId, ERole userRole);
|
16 |
be4deff8
|
Vojtěch Bartička
|
public void AddAnnotationInstance(Guid annotationId, Guid userId, ERole userRole, AnnotationInstanceAddRequest request);
|
17 |
0f8d6304
|
Vojtěch Bartička
|
public void DeleteAnnotationInstance(Guid annotationId, Guid tagInstanceId, Guid loggedUserId, ERole userRole);
|
18 |
f2275185
|
Vojtěch Bartička
|
public void AddNoteToAnnotation(Guid annotationId, Guid userId, ERole userRole, AddNoteToAnnotationRequest request);
|
19 |
15c88dc1
|
Vojtěch Bartička
|
public void SetTagInstanceSentiment(Guid annotationId, Guid instanceId, Guid userId, ERole userRole, ETagSentiment sentiment);
|
20 |
0ea30313
|
Vojtěch Bartička
|
public void MarkAnnotationAsDone(Guid annotationId, Guid userId, ERole userRole, bool done);
|
21 |
440997e0
|
Vojtěch Bartička
|
public Guid CreateFinalAnnotation(Guid documentId, Guid userId);
|
22 |
eff8ec56
|
Vojtěch Bartička
|
}
|
23 |
|
|
}
|