* @see org.apache.directory.server.core.CoreSession#list(org.apache.directory.api.ldap.model.name.Dn, org.apache.directory.api.ldap.model.message.AliasDerefMode, java.util.Set)
*/
public Cursor<Entry> list( Dn dn, AliasDerefMode aliasDerefMode,
String... returningAttributes ) throws LdapException
{
OperationManager operationManager = directoryService.getOperationManager();
PresenceNode filter = new PresenceNode( OBJECT_CLASS_AT );
SearchOperationContext searchContext = new SearchOperationContext( this, dn, SearchScope.ONELEVEL, filter, returningAttributes );
searchContext.setAliasDerefMode( aliasDerefMode );
return operationManager.search( searchContext );
}