source: tapas/persistence/interface/com/ether/dao/ObservatoryDAO.java @ 467

Last change on this file since 467 was 467, checked in by rboipsl, 12 years ago

creation form xml

File size: 549 bytes
Line 
1package com.ether.dao;
2
3import com.ether.PersistenceException;
4import com.ether.tapas.Observatory;
5import org.jetbrains.annotations.NotNull;
6import org.jetbrains.annotations.Nullable;
7
8import java.util.List;
9
10/**
11 * @author vmipsl
12 * @date may 2011
13 * Example for a DAO
14 */
15public interface ObservatoryDAO
16        extends DomainAccessObject<Observatory, Integer>
17{
18
19    @NotNull
20    List<Observatory> getAllObservatories() throws PersistenceException;
21
22    @Nullable
23    Observatory getObservatoryById(@NotNull final long id) throws PersistenceException;
24}
Note: See TracBrowser for help on using the repository browser.