Rev | Line | |
---|
[569] | 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 com.ether.user.UserState; |
---|
| 7 | import org.jetbrains.annotations.NotNull; |
---|
| 8 | import org.jetbrains.annotations.Nullable; |
---|
| 9 | |
---|
| 10 | import java.util.List; |
---|
| 11 | |
---|
| 12 | /** |
---|
| 13 | * @author vmipsl |
---|
| 14 | * @date 29 nov. 2011 |
---|
| 15 | */ |
---|
| 16 | public 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.