1 package org.gnomekr.potron.service; 2 3 import java.util.List; 4 5 import net.sf.acegisecurity.providers.dao.AuthenticationDao; 6 7 import org.gnomekr.potron.data.User; 8 9 /*** 10 * IUserManager.java 11 * @author Xavier Cho 12 * @version $Revision 1.1 $ $Date: 2005/07/06 15:26:56 $ 13 */ 14 public interface IUserManager extends AuthenticationDao { 15 16 /*** 17 * @param user 18 * @throws UserExistsException 19 */ 20 void createUser(User user) throws UserExistsException; 21 22 /*** 23 * @param userName 24 * @return 25 */ 26 User getUser(String userName); 27 28 /*** 29 * @return 30 */ 31 List<User> getUsers(); 32 33 /*** 34 * @param user 35 */ 36 void updateUser(User user); 37 38 /*** 39 * @param userName 40 */ 41 void deleteUser(String userName); 42 }