@Deprecated public class JamesUsersJdbcRepository extends AbstractJdbcUsersRepository
DefaultJamesUser class, or any superclass.m_sqlParameters| Constructor and Description |
|---|
JamesUsersJdbcRepository()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.james.user.api.model.User |
readUserFromResultSet(ResultSet rsUsers)
Deprecated.
Reads properties for a User from an open ResultSet.
|
protected void |
setUserForInsertStatement(org.apache.james.user.api.model.User user,
PreparedStatement userInsert)
Deprecated.
Set parameters of a PreparedStatement object with property values from a
User instance.
|
protected void |
setUserForUpdateStatement(org.apache.james.user.api.model.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, testaddAddressMapping, addAliasDomainMapping, addErrorMapping, addMapping, addRegexMapping, configure, doAddUser, getAllMappings, getMappings, getUserDomainMappings, removeAddressMapping, removeAliasDomainMapping, removeErrorMapping, removeMapping, removeRegexMapping, setEnableAliases, setEnableForwarding, setIgnoreCase, updateUseraddUser, getDefaultVirtualHostingValue, getLogger, getUser, isAdministrator, isValidUsername, setDomainList, setEnableVirtualHosting, setLog, supportVirtualHostingpublic JamesUsersJdbcRepository()
protected org.apache.james.user.api.model.User readUserFromResultSet(ResultSet rsUsers) throws SQLException
AbstractJdbcUsersRepositoryreadUserFromResultSet in class AbstractJdbcUsersRepositoryrsUsers - 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(org.apache.james.user.api.model.User user, PreparedStatement userInsert) throws SQLException
AbstractJdbcUsersRepositorysetUserForInsertStatement in class AbstractJdbcUsersRepositoryuser - 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(org.apache.james.user.api.model.User user, PreparedStatement userUpdate) throws SQLException
AbstractJdbcUsersRepositorysetUserForUpdateStatement in class AbstractJdbcUsersRepositoryuser - 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-2017 The Apache Software Foundation. All Rights Reserved.