org.codehaus.redback.xmlrpc.service
Class UserServiceImpl

java.lang.Object
  extended by org.codehaus.redback.xmlrpc.service.UserServiceImpl
All Implemented Interfaces:
Service, UserService

public class UserServiceImpl
extends Object
implements UserService


Constructor Summary
UserServiceImpl(UserManager userManager)
           
 
Method Summary
 Boolean createUser(String username, String fullname, String email)
           
 Boolean deleteUser(String username)
           
 User getUser(String username)
           
 List<User> getUsers()
           
 Boolean ping()
           
 Boolean updateUser(Map<String,String> userMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserServiceImpl

@Inject
public UserServiceImpl(@Named(value="userManager#cached")
                              UserManager userManager)
Method Detail

createUser

public Boolean createUser(String username,
                          String fullname,
                          String email)
                   throws Exception
Specified by:
createUser in interface UserService
Throws:
Exception

deleteUser

public Boolean deleteUser(String username)
                   throws Exception
Specified by:
deleteUser in interface UserService
Throws:
Exception

getUser

public User getUser(String username)
             throws Exception
Specified by:
getUser in interface UserService
Throws:
Exception

getUsers

public List<User> getUsers()
                    throws Exception
Specified by:
getUsers in interface UserService
Throws:
Exception

updateUser

public Boolean updateUser(Map<String,String> userMap)
                   throws Exception
Specified by:
updateUser in interface UserService
Throws:
Exception

ping

public Boolean ping()
             throws Exception
Specified by:
ping in interface Service
Specified by:
ping in interface UserService
Throws:
Exception


Copyright © 2006-2011 Codehaus. All Rights Reserved.