1 9 package org.jboss.portal.core.modules; 10 11 import java.util.Set ; 12 13 import org.jboss.portal.core.model.User; 14 15 19 public interface UserModule 20 { 21 27 User findUserByUserName(String userName) throws IllegalArgumentException , ModuleException; 28 29 35 User findUserByID(Integer id) throws IllegalArgumentException , ModuleException; 36 37 43 User createUser(String name, String password, String realEmail) throws IllegalArgumentException , ModuleException; 44 45 50 void removeUser(Integer id) throws IllegalArgumentException , ModuleException; 51 52 59 Set findUsers(int offset, int limit) throws IllegalArgumentException , ModuleException; 60 61 Set findUsersFilteredByUsername(String filter, int offset, int limit) throws ModuleException; 62 63 68 int getUserCount() throws IllegalArgumentException , ModuleException; 69 } | Popular Tags |