Entry entry = ( ( ClonedServerEntry ) renameContext.getEntry() ).getClonedEntry();
if ( entry.contains( OBJECT_CLASS_AT, SchemaConstants.SUBENTRY_OC ) )
{
// @Todo To be reviewed !!!
Subentry subentry = directoryService.getSubentryCache().removeSubentry( oldDn );
SubtreeSpecification ss = subentry.getSubtreeSpecification();
Dn apName = oldDn.getParent();
Dn baseDn = apName;
baseDn = baseDn.add( ss.getBase() );
Dn newName = oldDn.getParent();