Package org.apache.directory.studio.connection.core.Connection

Examples of org.apache.directory.studio.connection.core.Connection.ReferralHandlingMethod


        }
        else if ( dummyMonitor.getException() instanceof ContextNotEmptyException )
        {
            // do not follow referrals or dereference aliases when deleting entries
            AliasDereferencingMethod aliasDereferencingMethod = AliasDereferencingMethod.NEVER;
            ReferralHandlingMethod referralsHandlingMethod = browserConnection.getRootDSE().isControlSupported(
                StudioControl.MANAGEDSAIT_CONTROL.getOid() ) ? ReferralHandlingMethod.MANAGE
                : ReferralHandlingMethod.IGNORE;

            // perform one-level search and delete recursively
            int numberInBatch;
View Full Code Here


            controlList.add( treeDeleteControl );
        }
        Control[] controls = controlList.toArray( new Control[controlList.size()] );

        // do not follow referrals
        ReferralHandlingMethod referralsHandlingMethod = browserConnection.getRootDSE().isControlSupported(
            StudioControl.MANAGEDSAIT_CONTROL.getOid() ) ? ReferralHandlingMethod.MANAGE
            : ReferralHandlingMethod.IGNORE;

        // delete entry
        if ( browserConnection.getConnection() != null )
View Full Code Here

                }
            }
        }

        // determine referrals handling method
        ReferralHandlingMethod referralsHandlingMethod = entryToCreate.isReferral() ? ReferralHandlingMethod.MANAGE
            : ReferralHandlingMethod.FOLLOW;

        browserConnection.getConnection().getJNDIConnectionWrapper().createEntry( dn, jndiAttributes,
            referralsHandlingMethod, null, monitor, null );
    }
View Full Code Here

            timeLimit--;
        }
        controls.setTimeLimit( timeLimit );
        String filter = parameter.getFilter();
        AliasDereferencingMethod aliasesDereferencingMethod = parameter.getAliasesDereferencingMethod();
        ReferralHandlingMethod referralsHandlingMethod = parameter.getReferralsHandlingMethod();

        Control[] jndiControls = null;
        if ( parameter.getControls() != null )
        {
            List<StudioControl> ctls = parameter.getControls();
View Full Code Here

TOP

Related Classes of org.apache.directory.studio.connection.core.Connection.ReferralHandlingMethod

Copyright © 2018 www.massapicom. 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.