Last change
on this file since 105 was
105,
checked in by rboipsl, 13 years ago
|
Import du projet NDACC _ module persistence
|
File size:
769 bytes
|
Line | |
---|
1 | package com.ether.dao.instrument; |
---|
2 | |
---|
3 | import java.util.List; |
---|
4 | |
---|
5 | import org.jetbrains.annotations.NotNull; |
---|
6 | import org.jetbrains.annotations.Nullable; |
---|
7 | |
---|
8 | import com.ether.PersistenceException; |
---|
9 | import com.ether.dao.DomainAccessObject; |
---|
10 | import com.ether.instrument.Instrument; |
---|
11 | import com.ether.instrument.InstrumentType; |
---|
12 | |
---|
13 | /** |
---|
14 | * @author vmipsl |
---|
15 | * @date 24 jan 2011 |
---|
16 | */ |
---|
17 | public interface InstrumentDAO |
---|
18 | extends DomainAccessObject<Instrument, Long> |
---|
19 | { |
---|
20 | @NotNull |
---|
21 | Integer getNbInstruments() throws PersistenceException; |
---|
22 | |
---|
23 | @Nullable |
---|
24 | List<Instrument> getInstrumentsByStationId(@NotNull final Long stationId) throws PersistenceException; |
---|
25 | |
---|
26 | @Nullable |
---|
27 | List<Instrument> getInstrumentsByType(@NotNull final InstrumentType type) throws PersistenceException; |
---|
28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.