Package org.apache.directory.ldapstudio.browser.core.model.ldif.container

Examples of org.apache.directory.ldapstudio.browser.core.model.ldif.container.LdifChangeDeleteRecord


                throw createConnectionException( null, ne );
            }
        }
        else if ( record instanceof LdifChangeDeleteRecord )
        {
            LdifChangeDeleteRecord changeDeleteRecord = ( LdifChangeDeleteRecord ) record;
            try
            {
                this.context.destroySubcontext( dn, getControls( changeDeleteRecord ), monitor );
            }
            catch ( NamingException ne )
View Full Code Here


                    }
                    parseAttrValRecord( record );
                }
                else if ( changeTypeLine.isDelete() )
                {
                    record = new LdifChangeDeleteRecord( dnLine );
                    append( record, partList );
                    record.setChangeType( changeTypeLine );
                    if ( !changeTypeLine.isValid() )
                    {
                        this.cleanupLine( record );
View Full Code Here

    void delete( IEntry entry, ExtendedProgressMonitor monitor )
    {
        try
        {
            LdifChangeDeleteRecord cdr = new LdifChangeDeleteRecord( LdifDnLine.create( entry.getDn().toString() ) );
            ModelConverter.addControls( cdr, entry );
            cdr.setChangeType( LdifChangeTypeLine.createDelete() );
            cdr.finish( LdifSepLine.create() );

            this.applyModificationAndLog( cdr, monitor );

            connection.uncacheEntry( entry );
View Full Code Here

    void delete( IEntry entry, ExtendedProgressMonitor monitor )
    {
        try
        {
            LdifChangeDeleteRecord cdr = new LdifChangeDeleteRecord( LdifDnLine.create( entry.getDn().toString() ) );
            ModelConverter.addControls( cdr, entry );
            cdr.setChangeType( LdifChangeTypeLine.createDelete() );
            cdr.finish( LdifSepLine.create() );

            this.applyModificationAndLog( cdr, monitor );

            connection.uncacheEntry( entry );
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.browser.core.model.ldif.container.LdifChangeDeleteRecord

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.