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