net.sf.emarket.user.service
Class UserManagerServiceImpl

java.lang.Object
  extended by net.sf.emarket.user.service.UserManagerServiceImpl
All Implemented Interfaces:
java.io.Serializable, IUserManagerService

@Service
public class UserManagerServiceImpl
extends java.lang.Object
implements IUserManagerService

SimpleUserManager Description.

Author:
: snambi
See Also:
Serialized Form

Constructor Summary
UserManagerServiceImpl()
           
 
Method Summary
 void addUser(User user)
           
 void deleteUserById(java.lang.String id)
           
 User getUserById(java.lang.String id)
           
 boolean isUserPasswordValid(java.lang.String userid, java.lang.String password)
           
 void setMailSender(IMailSenderService mailSender)
           
 void setTemplateMessage(org.springframework.mail.SimpleMailMessage templateMessage)
           
 void setUserDao(IUserDao dao)
           
 void updateUser(User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserManagerServiceImpl

public UserManagerServiceImpl()
Method Detail

setUserDao

public void setUserDao(IUserDao dao)

setMailSender

public void setMailSender(IMailSenderService mailSender)

setTemplateMessage

public void setTemplateMessage(org.springframework.mail.SimpleMailMessage templateMessage)

addUser

public void addUser(User user)
             throws UserAlreadyExistsException,
                    UserDataNotCompleteException
Specified by:
addUser in interface IUserManagerService
Throws:
UserAlreadyExistsException
UserDataNotCompleteException

getUserById

public User getUserById(java.lang.String id)
                 throws UserNotFoundException
Specified by:
getUserById in interface IUserManagerService
Throws:
UserNotFoundException

isUserPasswordValid

public boolean isUserPasswordValid(java.lang.String userid,
                                   java.lang.String password)
Specified by:
isUserPasswordValid in interface IUserManagerService

updateUser

public void updateUser(User user)
                throws UserNotFoundException
Specified by:
updateUser in interface IUserManagerService
Throws:
UserNotFoundException

deleteUserById

public void deleteUserById(java.lang.String id)
                    throws UserNotFoundException
Specified by:
deleteUserById in interface IUserManagerService
Throws:
UserNotFoundException


Copyright © 2009. All Rights Reserved.