| java.lang.Object net.jforum.dao.generic.AutoKeys net.jforum.dao.generic.GenericUserDAO
All known Subclasses: net.jforum.dao.sqlserver.SqlServerUserDAO, net.jforum.dao.oracle.OracleUserDAO, net.jforum.dao.hsqldb.HsqldbUserDAO,
GenericUserDAO | public class GenericUserDAO extends AutoKeys implements UserDAO(Code) | | author: Rafael Steil version: $Id: GenericUserDAO.java,v 1.29 2007/09/21 17:26:09 rafaelsteil Exp $ |
Method Summary | |
public int | addNew(User user) | public void | addNewWithId(User user) | public void | addToGroup(int userId, int[] groupId) | public void | decrementPosts(int userId) | public void | delete(int userId) | protected void | fillUserFromResultSet(User u, ResultSet rs) | public User | findByEmail(String email) | public List | findByName(String input, boolean exactMatch) | public User | getLastUserInfo() | public int | getTotalUsers() | public int | getTotalUsersByGroup(int groupId) | protected int | getTotalUsersCommon(PreparedStatement p) | public String | getUserAuthHash(int userId) | public String | getUsernameByEmail(String email) | public boolean | hasUsernameChanged(int userId, String usernameToCheck) | public void | incrementPosts(int userId) | protected void | initNewUser(User user, PreparedStatement p) | public boolean | isDeleted(int userId) | public boolean | isUsernameRegistered(String username) | protected List | loadKarma(List users) Load KarmaStatus from a list of users. | public List | pendingActivations() | protected List | processSelectAll(ResultSet rs) | public void | removeFromGroup(int userId, int[] groupId) | public void | saveNewPassword(String password, String email) | public void | saveUserAuthHash(int userId, String hash) | public List | selectAll() | public List | selectAll(int startFrom, int count) | public List | selectAllByGroup(int groupId, int start, int count) | public List | selectAllWithKarma() | public List | selectAllWithKarma(int startFrom, int count) | public User | selectById(int userId) | public User | selectByName(String username) | public void | setActive(int userId, boolean active) | public void | setRanking(int userId, int rankingId) | public void | undelete(int userId) | public void | update(User user) | public void | updateUsername(int userId, String username) | public boolean | validateActivationKeyHash(int userId, String hash) | public User | validateLogin(String username, String password) | public boolean | validateLostPasswordHash(String email, String hash) | public void | writeLostPasswordHash(String email, String hash) | public void | writeUserActive(int userId) |
GenericUserDAO | public GenericUserDAO()(Code) | | |
loadKarma | protected List loadKarma(List users)(Code) | | Load KarmaStatus from a list of users.
Parameters: users - List List throws: SQLException - |
|
|