1 package net.sumaris.core.service.data;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 import net.sumaris.core.dao.technical.SortDirection;
27 import net.sumaris.core.vo.data.VesselPositionVO;
28 import org.springframework.transaction.annotation.Transactional;
29
30 import java.util.List;
31
32
33
34
35
36
37
38 @Transactional
39 public interface VesselPositionService {
40
41
42 @Transactional(readOnly = true)
43 List<VesselPositionVO> getAllByOperationId(int operationId, int offset, int size, String sortAttribute, SortDirection sortDirection);
44
45 @Transactional(readOnly = true)
46 VesselPositionVO get(int id);
47
48 VesselPositionVO save(VesselPositionVO vesselPosition);
49
50 List<VesselPositionVO> save(List<VesselPositionVO> vesselPositions);
51
52 void delete(int id);
53
54 void delete(List<Integer> ids);
55
56 }