| org.apache.james.userrepository.AbstractUsersRepository org.apache.james.userrepository.AbstractJdbcUsersRepository org.apache.james.userrepository.ListUsersJdbcRepository
ListUsersJdbcRepository | public class ListUsersJdbcRepository extends AbstractJdbcUsersRepository (Code) | | A very lightweight UserRepository, which persists a list
of user names in a database. Password information is not
persisted.
|
readUserFromResultSet | protected User readUserFromResultSet(ResultSet rsUsers) throws SQLException(Code) | | Reads properties for a User from an open ResultSet.
Parameters: rsUsers - A ResultSet with a User record in the current row. A User instance throws: SQLException - if an exception occurs reading from the ResultSet |
setUserForInsertStatement | protected void setUserForInsertStatement(User user, PreparedStatement userInsert) throws SQLException(Code) | | Set parameters of a PreparedStatement object with
property values from a User instance.
Parameters: user - a User instance, which should be an implementation class whichis handled by this Repostory implementation. Parameters: userInsert - a PreparedStatement initialised with SQL taken from the "insert" SQL definition. throws: SQLException - if an exception occurs while setting parameter values. |
setUserForUpdateStatement | protected void setUserForUpdateStatement(User user, PreparedStatement userUpdate) throws SQLException(Code) | | Set parameters of a PreparedStatement object with
property values from a User instance.
Parameters: user - a User instance, which should be an implementation class whichis handled by this Repostory implementation. Parameters: userUpdate - a PreparedStatement initialised with SQL taken from the "update" SQL definition. throws: SQLException - if an exception occurs while setting parameter values. |
|
|