|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserDao
DAO interface for User instances. Provides basic CRUD operations due
to the extension of GenericDao. Includes custom implemented
functionality by extending UserDaoCustom.
| Method Summary | |
|---|---|
java.util.List<User> |
findByFirstname(java.lang.String firstname)
Returns all users with the given firstname. |
java.util.List<User> |
findByLastname(java.lang.String lastname)
Find all users with the given lastname. |
User |
findByTheUsersName(java.lang.String username)
Find the user with the given username. |
| Methods inherited from interface org.synyx.hades.dao.GenericDao |
|---|
count, delete, delete, deleteAll, exists, flush, readAll, readAll, readAll, readByPrimaryKey, save, save, saveAndFlush |
| Methods inherited from interface org.synyx.hades.sample.dao.UserDaoCustom |
|---|
myCustomBatchOperation |
| Method Detail |
|---|
User findByTheUsersName(java.lang.String username)
NamedQuery annotation at
the User class.
lastname -
java.util.List<User> findByLastname(java.lang.String lastname)
lastname -
@Query(value="from User u where u.firstname = ?") java.util.List<User> findByFirstname(java.lang.String firstname)
Query
annotation declared one.
firstname -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||