@Deprecated public class JamesUsersJdbcRepository extends AbstractJdbcUsersRepository
DefaultJamesUser
class, or any superclass.RecipientRewriteTable.ErrorMappingException
m_sqlParameters
enableAliases, enableForwarding, ignoreCase
ALIASDOMAIN_PREFIX, ERROR_PREFIX, REGEX_PREFIX, WILDCARD
Constructor and Description |
---|
JamesUsersJdbcRepository()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected User |
readUserFromResultSet(ResultSet rsUsers)
Deprecated.
Reads properties for a User from an open ResultSet.
|
protected void |
setUserForInsertStatement(User user,
PreparedStatement userInsert)
Deprecated.
Set parameters of a PreparedStatement object with property values from a
User instance.
|
protected void |
setUserForUpdateStatement(User user,
PreparedStatement userUpdate)
Deprecated.
Set parameters of a PreparedStatement object with property values from a
User instance.
|
contains, containsCaseInsensitive, countUsers, doAddUser, doConfigure, doRemoveUser, doUpdateUser, getUserByName, getUserByName, getUserByNameIterating, init, list, listAllUsers, listUserNames, removeUser, setDatasource, setFileSystem, test
addAddressMapping, addAliasDomainMapping, addErrorMapping, addMapping, addRegexMapping, configure, doAddUser, getAllMappings, getMappings, getUserDomainMappings, removeAddressMapping, removeAliasDomainMapping, removeErrorMapping, removeMapping, removeRegexMapping, setEnableAliases, setEnableForwarding, setIgnoreCase, updateUser
addUser, getLogger, isValidUsername, setDomainList, setEnableVirtualHosting, setLog, supportVirtualHosting
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addUser, supportVirtualHosting
protected User readUserFromResultSet(ResultSet rsUsers) throws SQLException
AbstractJdbcUsersRepository
readUserFromResultSet
in class AbstractJdbcUsersRepository
rsUsers
- A ResultSet with a User record in the current row.SQLException
- if an exception occurs reading from the ResultSetAbstractJdbcUsersRepository.readUserFromResultSet(java.sql.ResultSet)
protected void setUserForInsertStatement(User user, PreparedStatement userInsert) throws SQLException
AbstractJdbcUsersRepository
setUserForInsertStatement
in class AbstractJdbcUsersRepository
user
- a User instance, which should be an implementation class which
is handled by this Repostory implementation.userInsert
- a PreparedStatement initialised with SQL taken from the
"insert" SQL definition.SQLException
- if an exception occurs while setting parameter values.AbstractJdbcUsersRepository.setUserForInsertStatement(org.apache.james.user.api.model.User,
java.sql.PreparedStatement)
protected void setUserForUpdateStatement(User user, PreparedStatement userUpdate) throws SQLException
AbstractJdbcUsersRepository
setUserForUpdateStatement
in class AbstractJdbcUsersRepository
user
- a User instance, which should be an implementation class which
is handled by this Repostory implementation.userUpdate
- a PreparedStatement initialised with SQL taken from the
"update" SQL definition.SQLException
- if an exception occurs while setting parameter values.AbstractJdbcUsersRepository.setUserForUpdateStatement(org.apache.james.user.api.model.User,
java.sql.PreparedStatement)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.