source: ether_ndacc/trunk/persistence/interface/com/ether/dao/instrument/InstrumentDAO.java @ 105

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 
1package com.ether.dao.instrument;
2
3import java.util.List;
4
5import org.jetbrains.annotations.NotNull;
6import org.jetbrains.annotations.Nullable;
7
8import com.ether.PersistenceException;
9import com.ether.dao.DomainAccessObject;
10import com.ether.instrument.Instrument;
11import com.ether.instrument.InstrumentType;
12
13/**
14 * @author vmipsl
15 * @date 24 jan 2011
16 */
17public 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.