Class UserService


  • public class UserService
    extends Object

    UserService class.

    Version:
    $Id: $Id
    Author:
    Michael Thomas (mikepthomas@outlook.com)
    • Constructor Detail

      • UserService

        public UserService()
    • Method Detail

      • setUserDao

        public void setUserDao​(UserDao userDao)

        Setter for the field userDao.

        Parameters:
        userDao - a UserDao object.
      • addUser

        public void addUser​(User user)

        addUser.

        Parameters:
        user - a User object.
      • listUser

        public List<User> listUser​(int firstResult,
                                   int maxResults)

        listUser.

        Parameters:
        firstResult - a int.
        maxResults - a int.
        Returns:
        a List object.