source: ether_statistics/persistence/interface/com/ether/dao/UserDAO.java @ 569

Last change on this file since 569 was 569, checked in by vmipsl, 12 years ago

Nouveau projet

File size: 749 bytes
Line 
1package com.ether.dao;
2
3import com.ether.PersistenceException;
4import com.ether.user.User;
5import com.ether.user.UserFilter;
6import com.ether.user.UserState;
7import org.jetbrains.annotations.NotNull;
8import org.jetbrains.annotations.Nullable;
9
10import java.util.List;
11
12/**
13 * @author vmipsl
14 * @date 29 nov. 2011
15 */
16public interface UserDAO
17        extends SearchableDomainAccessObject<User, Integer, UserFilter>
18{
19    @Nullable
20    User getUserByEmail( @NotNull final String userEmail )
21            throws PersistenceException;
22
23    @NotNull
24    List<User> getUsersByState( @NotNull final UserState userState )
25            throws PersistenceException;
26
27    @NotNull
28    List<User> getAllUsersByNameOrder()
29            throws PersistenceException;
30}
Note: See TracBrowser for help on using the repository browser.