Package org.apache.directory.ldapstudio.browser.core.jobs

Examples of org.apache.directory.ldapstudio.browser.core.jobs.InitializeAttributesJob


            if ( !entry.isAttributesInitialized() && entry.isDirectoryEntry() )
            {
                boolean soa = BrowserUIPlugin.getDefault().getPreferenceStore().getBoolean(
                    BrowserUIConstants.PREFERENCE_ENTRYEDITOR_SHOW_OPERATIONAL_ATTRIBUTES );
                InitializeAttributesJob job = new InitializeAttributesJob( new IEntry[]
                    { entry }, soa );
                job.execute();
                return new Object[]
                    {};
            }
            else
            {
View Full Code Here


            && ( this.mode == MODE_NORMAL || this.mode == MODE_INCLUDE_OPERATIONAL_ATTRIBUTES ) )
        {
            IEntry[] uninitializedEntries = ( IEntry[] ) uninitializedEntryList
                .toArray( new IEntry[uninitializedEntryList.size()] );

            InitializeAttributesJob job = new InitializeAttributesJob( uninitializedEntries, false );
            RunnableContextJobAdapter.execute( job );

            // SyncInitializeEntryJob job = new
            // SyncInitializeEntryJob(uninitializedEntries,
            // InitializeEntryJob.INIT_ATTRIBUTES_MODE, null);
View Full Code Here

            }

            // init attributes
            if ( !templateEntries[0].isAttributesInitialized() )
            {
                InitializeAttributesJob job = new InitializeAttributesJob( templateEntries, false );
                RunnableContextJobAdapter.execute( job, getContainer() );
            }

            // clone entry and remove non-modifyable attributes
            try
View Full Code Here

        boolean soa = BrowserUIPlugin.getDefault().getPreferenceStore().getBoolean(
            BrowserUIConstants.PREFERENCE_ENTRYEDITOR_SHOW_OPERATIONAL_ATTRIBUTES );

        if ( entries.length > 0 )
        {
            new InitializeAttributesJob( entries, soa ).execute();
            new InitializeChildrenJob( entries ).execute();
        }
        if ( searches.length > 0 )
        {
            new SearchJob( searches ).execute();
        }

        if ( entryInput != null )
        {
            new InitializeAttributesJob( new IEntry[]
                { entryInput }, soa ).execute();
        }
        if ( searchInput != null )
        {
            new SearchJob( new ISearch[]
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.browser.core.jobs.InitializeAttributesJob

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.