summaryrefslogtreecommitdiffstats
path: root/collaboration/GSoC-2011-Eranda/twitapp/src/main/java/twitapp/services/UserManager.java
blob: cfae0353bdc809887ebd4bdb5aeb980d7fb9344f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package main.java.twitapp.services;

public class UserManager {
	
	UserBase userBase;
	
	public UserManager(){
		userBase = UserBase.getInstance();
	}
	
	public void addUser(String userId,String name){
		userBase.put(userId, new User(name));
	}
	
	public void removeUser(String userId){
		userBase.remove(userId);
	}
}