Examples of ListOperationContext


Examples of org.apache.directory.server.core.interceptor.context.ListOperationContext

        String msg = "Attempt to delete non-existant entry: ";
        assertHasEntry( nextInterceptor, opContext, msg, name );

        // check if entry to delete has children (only leaves can be deleted)
        boolean hasChildren = false;
        EntryFilteringCursor list = nextInterceptor.list( new ListOperationContext( opContext.getSession(), name ) );
       
        if ( list.next() )
        {
            hasChildren = true;
        }
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.ListOperationContext

            return;
        }
       
        LOG.debug( "{} schema: loading objectClasses", schema.getSchemaName() );
       
        EntryFilteringCursor list = partition.list( new ListOperationContext( null, dn ) );
       
        while ( list.next() )
        {
            ClonedServerEntry result = list.get();
            LdapDN resultDN = result.getDn();
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.ListOperationContext

            return;
        }
       
        LOG.debug( "{} schema: loading attributeTypes", schema.getSchemaName() );
       
        EntryFilteringCursor list = partition.list( new ListOperationContext( null, dn ) );
       
        while ( list.next() )
        {
            ServerEntry result = list.get();
            LdapDN resultDN = result.getDn();
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.ListOperationContext

            return;
        }
       
        LOG.debug( "{} schema: loading matchingRules", schema.getSchemaName() );
       
        EntryFilteringCursor list = partition.list( new ListOperationContext( null, dn ) );
       
        while ( list.next() )
        {
            ServerEntry result = list.get();
            LdapDN resultDN = result.getDn();
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.ListOperationContext

            return;
        }
       
        LOG.debug( "{} schema: loading syntaxes", schema.getSchemaName() );
       
        EntryFilteringCursor list = partition.list( new ListOperationContext( null, dn ) );
       
        while ( list.next() )
        {
            ServerEntry result = list.get();
            LdapDN resultDN = result.getDn();
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.ListOperationContext

            return;
        }
       
        LOG.debug( "{} schema: loading syntaxCheckers", schema.getSchemaName() );
       
        EntryFilteringCursor list = partition.list( new ListOperationContext( null, dn ) );
       
        while ( list.next() )
        {
            ServerEntry result = list.get();
            LdapDN resultDN = result.getDn();
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.ListOperationContext

            return;
        }
       
        LOG.debug( "{} schema: loading normalizers", schema.getSchemaName() );
       
        EntryFilteringCursor list = partition.list( new ListOperationContext( null, dn ) );
       
        while ( list.next() )
        {
            ClonedServerEntry result = list.get();
            LdapDN resultDN = result.getDn();
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.ListOperationContext

            return;
        }
       
        LOG.debug( "{} schema: loading comparators", schema.getSchemaName() );
       
        EntryFilteringCursor list = partition.list( new ListOperationContext( null, dn ) );
       
        while ( list.next() )
        {
            ClonedServerEntry result = list.get();
            LdapDN resultDN = result.getDn();
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.ListOperationContext

     * Used to encapsulate [de]marshalling of controls before and after list operations.
     */
    protected EntryFilteringCursor doListOperation( LdapDN target ) throws Exception
    {
        // setup the op context and populate with request controls
        ListOperationContext opCtx = new ListOperationContext( session, target );
        opCtx.addRequestControls( requestControls );

        // execute list operation
        OperationManager operationManager = service.getOperationManager();
        EntryFilteringCursor results = operationManager.list( opCtx );

        // clear the request controls and set the response controls
        requestControls = EMPTY_CONTROLS;
        responseControls = opCtx.getResponseControls();

        return results;
    }
View Full Code Here

Examples of org.apache.directory.server.core.interceptor.context.ListOperationContext

    public EntryFilteringCursor list( LdapDN dn, AliasDerefMode aliasDerefMode,
        Set<AttributeTypeOptions> returningAttributes ) throws Exception
    {
        OperationManager operationManager = directoryService.getOperationManager();
        return operationManager.list(
            new ListOperationContext( this, dn, aliasDerefMode, returningAttributes ) );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.