Package info.mikethomas.fahweb.dao
Class UserDao
- java.lang.Object
-
- info.mikethomas.fahweb.dao.UserDao
-
@Repository public class UserDao extends Object
UserDao class.
- Version:
- $Id: $Id
- Author:
- Michael Thomas (mikepthomas@outlook.com)
-
-
Constructor Summary
Constructors Constructor Description UserDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addUser(User user)
addUser.List<User>
listUser(int firstResult, int maxResults)
listUser.List<User>
listUserForTeam(int team, int firstResult, int maxResults)
listUserForTeam.void
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Setter for the fieldsessionFactory
.
-
-
-
Method Detail
-
setSessionFactory
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Setter for the field
sessionFactory
.- Parameters:
sessionFactory
- aSessionFactory
object.
-
listUser
@Transactional public List<User> listUser(int firstResult, int maxResults)
listUser.
- Parameters:
firstResult
- a int.maxResults
- a int.- Returns:
- a
List
object.
-
-