View Javadoc
1   package ejava.examples.asyncmarket;
2   
3   import java.util.List;
4   
5   import ejava.examples.asyncmarket.bo.Person;
6   
7   public interface UserMgmt {
8       long createUser(String userId, String name) throws MarketException;
9       Person getUser(long id) throws MarketException;
10      Person getUserByUserId(String userId) throws MarketException;
11      void removeUser(String userId) throws MarketException;
12      List<Person> getUsers(int index, int count) throws MarketException;
13  }