1 package org.wcb.model.dao;
2
3 import org.wcb.model.vo.hibernate.Logbook;
4 import org.wcb.exception.InfrastructureException;
5 import org.springframework.dao.DataAccessException;
6
7 import java.util.List;
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 public interface ILogbookDAO extends IDao{
29
30 List<Logbook> findAll() throws InfrastructureException, DataAccessException;
31
32 List<Logbook> findByRegistration(String registration) throws InfrastructureException;
33
34 List<Logbook> findAllCrossCountry() throws InfrastructureException;
35
36 Logbook findEntry(Integer id) throws InfrastructureException;
37
38 void deleteEntry(Logbook oEntry) throws InfrastructureException;
39 }