Interface JCRIndexingService

All Known Implementing Classes:
JCRIndexingServiceImpl

public interface JCRIndexingService
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyIndexChangesOnQueue(Set<String> removedNodes, Set<String> addedNodes, Set<String> parentRemovedNodes, Set<String> parentAddedNodes, String workspaceId)
    JCR Index Changes applied on JCR to propagate for other nodes through Queue
    void
    applyIndexChangesOnQueue(org.exoplatform.services.jcr.impl.core.query.ChangesFilterListsWrapper changes, String workspaceId)
    JCR Index Changes applied on JCR to propagate for other nodes through Queue
    void
    init(org.exoplatform.services.jcr.impl.core.query.QueryHandler handler, org.exoplatform.services.jcr.config.QueryHandlerEntry config)
    Initialize JCR Indexing Service
    void
    1/ Read from Queue
    2/ Index in JCR
    3/ Update Queue to mark operation as executed for this node
  • Method Details

    • processIndexingQueue

      void processIndexingQueue() throws Exception
      1/ Read from Queue
      2/ Index in JCR
      3/ Update Queue to mark operation as executed for this node
      Throws:
      Exception
    • applyIndexChangesOnQueue

      void applyIndexChangesOnQueue(org.exoplatform.services.jcr.impl.core.query.ChangesFilterListsWrapper changes, String workspaceId)
      JCR Index Changes applied on JCR to propagate for other nodes through Queue
      Parameters:
      changes -
      workspaceId - REPOSITORY_WORKSPACE
    • applyIndexChangesOnQueue

      void applyIndexChangesOnQueue(Set<String> removedNodes, Set<String> addedNodes, Set<String> parentRemovedNodes, Set<String> parentAddedNodes, String workspaceId)
      JCR Index Changes applied on JCR to propagate for other nodes through Queue
      Parameters:
      removedNodes - removed nodes JCR UUID
      addedNodes - added nodes JCR UUID
      parentRemovedNodes - removed Parent JCR nodes UUID
      parentAddedNodes - added Parent JCR nodes UUID
      workspaceId - REPOSITORY_WORKSPACE
    • init

      void init(org.exoplatform.services.jcr.impl.core.query.QueryHandler handler, org.exoplatform.services.jcr.config.QueryHandlerEntry config)
      Initialize JCR Indexing Service
      Parameters:
      handler -
      config -