Class PersistentIndexChangesFilter

  • All Implemented Interfaces:
    org.exoplatform.services.jcr.dataflow.persistent.ItemsPersistenceListener, org.exoplatform.services.jcr.impl.core.query.LocalIndexMarker

    public class PersistentIndexChangesFilter
    extends org.exoplatform.services.jcr.impl.core.query.DefaultChangesFilter
    implements org.exoplatform.services.jcr.impl.core.query.LocalIndexMarker
    • Field Summary

      • Fields inherited from class org.exoplatform.services.jcr.impl.core.query.IndexerChangesFilter

        config, handler, indexingTree, parentHandler, parentIndexingTree, parentSearchManager, searchManager
    • Constructor Summary

      Constructors 
      Constructor Description
      PersistentIndexChangesFilter​(org.exoplatform.services.jcr.impl.core.query.SearchManager searchManager, org.exoplatform.services.jcr.impl.core.query.SearchManager parentSearchManager, org.exoplatform.services.jcr.config.QueryHandlerEntry config, org.exoplatform.services.jcr.impl.core.query.IndexingTree indexingTree, org.exoplatform.services.jcr.impl.core.query.IndexingTree parentIndexingTree, org.exoplatform.services.jcr.impl.core.query.QueryHandler handler, org.exoplatform.services.jcr.impl.core.query.QueryHandler parentHandler, org.exoplatform.container.configuration.ConfigurationManager cfm)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doUpdateIndex​(Set<String> removedNodes, Set<String> addedNodes, Set<String> parentRemovedNodes, Set<String> parentAddedNodes)
      Update JCR indexes and add JCR indexing operations in QUEUE
      protected void doUpdateIndex​(org.exoplatform.services.jcr.impl.core.query.ChangesFilterListsWrapper changes)  
      • Methods inherited from class org.exoplatform.services.jcr.impl.core.query.DefaultChangesFilter

        getLogger, init
      • Methods inherited from class org.exoplatform.services.jcr.impl.core.query.IndexerChangesFilter

        close, getHandler, getIndexingTree, getSearchManager, isShared, isTXAware, logErrorChanges, onSaveItems
    • Constructor Detail

      • PersistentIndexChangesFilter

        public PersistentIndexChangesFilter​(org.exoplatform.services.jcr.impl.core.query.SearchManager searchManager,
                                            org.exoplatform.services.jcr.impl.core.query.SearchManager parentSearchManager,
                                            org.exoplatform.services.jcr.config.QueryHandlerEntry config,
                                            org.exoplatform.services.jcr.impl.core.query.IndexingTree indexingTree,
                                            org.exoplatform.services.jcr.impl.core.query.IndexingTree parentIndexingTree,
                                            org.exoplatform.services.jcr.impl.core.query.QueryHandler handler,
                                            org.exoplatform.services.jcr.impl.core.query.QueryHandler parentHandler,
                                            org.exoplatform.container.configuration.ConfigurationManager cfm)
                                     throws Exception
        Throws:
        Exception
    • Method Detail

      • doUpdateIndex

        protected void doUpdateIndex​(Set<String> removedNodes,
                                     Set<String> addedNodes,
                                     Set<String> parentRemovedNodes,
                                     Set<String> parentAddedNodes)
        Update JCR indexes and add JCR indexing operations in QUEUE
        Overrides:
        doUpdateIndex in class org.exoplatform.services.jcr.impl.core.query.DefaultChangesFilter
      • doUpdateIndex

        protected void doUpdateIndex​(org.exoplatform.services.jcr.impl.core.query.ChangesFilterListsWrapper changes)
        Overrides:
        doUpdateIndex in class org.exoplatform.services.jcr.impl.core.query.IndexerChangesFilter