org.androidpn.server.service.impl
Class UserServiceImpl
java.lang.Object
org.androidpn.server.service.impl.UserServiceImpl
- All Implemented Interfaces:
- UserService
public class UserServiceImpl
- extends java.lang.Object
- implements UserService
This class is the implementation of UserService.
- Author:
- Sehwan Noh (devnoh@gmail.com)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserServiceImpl
public UserServiceImpl()
setUserDao
public void setUserDao(UserDao userDao)
getUser
public User getUser(java.lang.String userId)
- Specified by:
getUser
in interface UserService
getUsers
public java.util.List<User> getUsers()
- Specified by:
getUsers
in interface UserService
saveUser
public User saveUser(User user)
throws UserExistsException
- Specified by:
saveUser
in interface UserService
- Throws:
UserExistsException
getUserByUsername
public User getUserByUsername(java.lang.String username)
throws UserNotFoundException
- Specified by:
getUserByUsername
in interface UserService
- Throws:
UserNotFoundException
removeUser
public void removeUser(java.lang.Long userId)
- Specified by:
removeUser
in interface UserService