Examples of AdministrativePoint

  • org.apache.directory.server.core.api.administrative.AdministrativePoint
    An interface used to describe an AdministrativePoint. An AdministrativePoint holds some elements useful to navigate through the administrative model :
  • @author Apache Directory Project

    Examples of org.apache.directory.server.core.api.administrative.AdministrativePoint


        private AdministrativePoint getParent( AdministrativePoint ap, List<AdministrativePoint> aps,
            AdministrativeRole role, DnNode<List<AdministrativePoint>> currentNode )
        {
            AdministrativePoint parent = null;

            for ( AdministrativePoint adminPoint : aps )
            {
                if ( adminPoint.isAutonomous() || ( adminPoint.getRole() == ap.getRole() ) )
                {
    View Full Code Here

    Examples of org.apache.directory.server.core.api.administrative.AdministrativePoint

            {
                // Check if the current element is a valid parent
                switch ( ap.getRole() )
                {
                    case AutonomousArea:
                        AdministrativePoint currentAp = aps.get( 0 );

                        if ( currentAp.isAutonomous() )
                        {
                            return currentAp;
                        }
                        else
                        {
    View Full Code Here

    Examples of org.apache.directory.server.core.api.administrative.AdministrativePoint

        DnNode<TriggerExecutionAdministrativePoint> teCache = getLdapServer().getDirectoryService()
            .getTriggerExecutionAPCache();
        DnNode<SubschemaAdministrativePoint> ssCache = getLdapServer().getDirectoryService().getSubschemaAPCache();

        // The ACs
        AdministrativePoint aap1 = acCache.getElement( new Dn( schemaManager, "ou=AAP1,ou=noAP1,ou=system" ) );
        assertNotNull( aap1 );

        AdministrativePoint aap2 = acCache.getElement( new Dn( schemaManager, "ou=AAP2,ou=system" ) );
        assertNotNull( aap2 );

        AdministrativePoint subAap1 = acCache.getElement( new Dn( schemaManager, "ou=subAAP1,ou=noAP3,ou=AAP2,ou=system" ) );
        assertNotNull( subAap1 );

        // The ACs
        aap1 = caCache.getElement( new Dn( schemaManager, "ou=AAP1,ou=noAP1,ou=system" ) );
        assertNotNull( aap1 );
    View Full Code Here

    Examples of org.apache.directory.server.core.api.administrative.AdministrativePoint


        private AdministrativePoint getParent( AdministrativePoint ap, List<AdministrativePoint> aps,
            AdministrativeRole role, DnNode<List<AdministrativePoint>> currentNode )
        {
            AdministrativePoint parent = null;

            for ( AdministrativePoint adminPoint : aps )
            {
                if ( adminPoint.isAutonomous() || ( adminPoint.getRole() == ap.getRole() ) )
                {
    View Full Code Here

    Examples of org.apache.directory.server.core.api.administrative.AdministrativePoint

            {
                // Check if the current element is a valid parent
                switch ( ap.getRole() )
                {
                    case AutonomousArea:
                        AdministrativePoint currentAp = aps.get( 0 );

                        if ( currentAp.isAutonomous() )
                        {
                            return currentAp;
                        }
                        else
                        {
    View Full Code Here

    Examples of org.apache.directory.server.core.api.administrative.AdministrativePoint

        DnNode<TriggerExecutionAdministrativePoint> teCache = getLdapServer().getDirectoryService()
            .getTriggerExecutionAPCache();
        DnNode<SubschemaAdministrativePoint> ssCache = getLdapServer().getDirectoryService().getSubschemaAPCache();

        // The ACs
        AdministrativePoint aap1 = acCache.getElement( new Dn( schemaManager, "ou=AAP1,ou=noAP1,ou=system" ) );
        assertNotNull( aap1 );

        AdministrativePoint aap2 = acCache.getElement( new Dn( schemaManager, "ou=AAP2,ou=system" ) );
        assertNotNull( aap2 );

        AdministrativePoint subAap1 = acCache.getElement( new Dn( schemaManager, "ou=subAAP1,ou=noAP3,ou=AAP2,ou=system" ) );
        assertNotNull( subAap1 );

        // The ACs
        aap1 = caCache.getElement( new Dn( schemaManager, "ou=AAP1,ou=noAP1,ou=system" ) );
        assertNotNull( aap1 );
    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.