本文整理了Java中org.apache.directory.ldap.client.api.LdapConnection.rename()
方法的一些代码示例,展示了LdapConnection.rename()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LdapConnection.rename()
方法的具体详情如下:
包路径:org.apache.directory.ldap.client.api.LdapConnection
类名称:LdapConnection
方法名:rename
[英]renames the given entryDn with new Rdn and deletes the old RDN.
[中]使用新的Rdn重命名给定的entryDn并删除旧的Rdn。
代码示例来源:origin: org.apache.directory.api/api-all
/**
* {@inheritDoc}
*/
@Override
public void rename( Dn entryDn, Rdn newRdn, boolean deleteOldRdn ) throws LdapException
{
connection.rename( entryDn, newRdn, deleteOldRdn );
}
代码示例来源:origin: org.apache.directory.api/api-ldap-client-api
/**
* {@inheritDoc}
*/
@Override
public void rename( String entryDn, String newRdn ) throws LdapException
{
connection.rename( entryDn, newRdn );
}
代码示例来源:origin: org.apache.directory.api/api-ldap-client-api
/**
* {@inheritDoc}
*/
@Override
public void rename( Dn entryDn, Rdn newRdn, boolean deleteOldRdn ) throws LdapException
{
connection.rename( entryDn, newRdn, deleteOldRdn );
}
代码示例来源:origin: org.apache.directory.api/api-all
/**
* {@inheritDoc}
*/
@Override
public void rename( String entryDn, String newRdn ) throws LdapException
{
connection.rename( entryDn, newRdn );
}
代码示例来源:origin: org.apache.directory.api/api-all
/**
* {@inheritDoc}
*/
@Override
public void rename( Dn entryDn, Rdn newRdn ) throws LdapException
{
connection.rename( entryDn, newRdn );
}
代码示例来源:origin: org.apache.directory.api/api-ldap-client-all
/**
* {@inheritDoc}
*/
@Override
public void rename( String entryDn, String newRdn ) throws LdapException
{
connection.rename( entryDn, newRdn );
}
代码示例来源:origin: org.apache.directory.api/api-ldap-client-all
/**
* {@inheritDoc}
*/
@Override
public void rename( Dn entryDn, Rdn newRdn ) throws LdapException
{
connection.rename( entryDn, newRdn );
}
代码示例来源:origin: org.apache.directory.api/api-ldap-client-api
/**
* {@inheritDoc}
*/
@Override
public void rename( Dn entryDn, Rdn newRdn ) throws LdapException
{
connection.rename( entryDn, newRdn );
}
代码示例来源:origin: org.apache.directory.api/api-ldap-client-api
/**
* {@inheritDoc}
*/
@Override
public void rename( String entryDn, String newRdn, boolean deleteOldRdn ) throws LdapException
{
connection.rename( entryDn, newRdn, deleteOldRdn );
}
代码示例来源:origin: org.apache.directory.client.ldap/ldap-client-api
/**
* renames the given entryDn with new RDN and deletes the old RDN.
* @see #rename(DN, RDN, boolean)
*/
public ModifyDnResponse rename( DN entryDn, RDN newRdn ) throws LdapException
{
return rename( entryDn, newRdn, true );
}
代码示例来源:origin: org.apache.directory.api/api-ldap-client-all
/**
* {@inheritDoc}
*/
@Override
public void rename( String entryDn, String newRdn, boolean deleteOldRdn ) throws LdapException
{
connection.rename( entryDn, newRdn, deleteOldRdn );
}
代码示例来源:origin: org.apache.directory.api/api-all
/**
* {@inheritDoc}
*/
@Override
public void rename( String entryDn, String newRdn, boolean deleteOldRdn ) throws LdapException
{
connection.rename( entryDn, newRdn, deleteOldRdn );
}
代码示例来源:origin: org.apache.directory.client.ldap/ldap-client-api
/**
* renames the given entryDn with new Rdn and deletes the old RDN.
* @see #rename(String, String, boolean)
*/
public ModifyDnResponse rename( String entryDn, String newRdn ) throws LdapException
{
return rename( entryDn, newRdn, true );
}
代码示例来源:origin: org.apache.directory.api/api-ldap-client-all
/**
* {@inheritDoc}
*/
@Override
public void rename( Dn entryDn, Rdn newRdn, boolean deleteOldRdn ) throws LdapException
{
connection.rename( entryDn, newRdn, deleteOldRdn );
}
代码示例来源:origin: org.apache.directory.client.ldap/ldap-client-api
/**
* @see #rename(DN, RDN, boolean)
*/
public ModifyDnResponse rename( String entryDn, String newRdn, boolean deleteOldRdn ) throws LdapException
{
try
{
return rename( new DN( entryDn ), new RDN( newRdn ), deleteOldRdn );
}
catch ( InvalidNameException e )
{
LOG.error( e.getMessage(), e );
throw new LdapException( e.getMessage(), e );
}
}
代码示例来源:origin: org.apache.camel/camel-ldif
log.debug("attempting RDN move of {}", ldifEntry);
conn.rename(ldifEntry.getDn(), new Rdn(ldifEntry.getNewRdn()), ldifEntry.isDeleteOldRdn());
内容来源于网络,如有侵权,请联系作者删除!