Interface JCRIndexingService
-
- All Known Implementing Classes:
JCRIndexingServiceImpl
public interface JCRIndexingService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyIndexChangesOnQueue(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 QueuevoidapplyIndexChangesOnQueue(org.exoplatform.services.jcr.impl.core.query.ChangesFilterListsWrapper changes, String workspaceId)JCR Index Changes applied on JCR to propagate for other nodes through Queuevoidinit(org.exoplatform.services.jcr.impl.core.query.QueryHandler handler, org.exoplatform.services.jcr.config.QueryHandlerEntry config)Initialize JCR Indexing ServicevoidprocessIndexingQueue()1/ Read from Queue
2/ Index in JCR
3/ Update Queue to mark operation as executed for this node
-
-
-
Method Detail
-
processIndexingQueue
void processIndexingQueue() throws Exception1/ 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 UUIDaddedNodes- added nodes JCR UUIDparentRemovedNodes- removed Parent JCR nodes UUIDparentAddedNodes- added Parent JCR nodes UUIDworkspaceId- 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-
-
-