1 7 package hero.user; 8 9 import java.util.Map ; 10 import java.util.Collection ; 11 12 29 public interface UserBase { 30 public String getUserName(String userId) throws UserBaseException; 31 public Map getUserInfos(String userId) throws UserBaseException; 32 public Collection getUsers() throws UserBaseException; 33 public boolean handle(String userId) throws UserBaseException; 34 35 public boolean isMutable(); 37 public void create(String userId, String password, String userName, String userEmail, Map userInfos) throws UserBaseException,ImmutableException; 38 public void edit(String userId, String password, String userName, String userEmail, Map userInfos) throws UserBaseException,ImmutableException; 39 public void deleteUser(String userId) throws UserBaseException,ImmutableException; 40 41 } 42 | Popular Tags |