|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.extensions.surf.util.AbstractLifecycleBean
org.alfresco.repo.search.IndexerComponent
public class IndexerComponent
Component API for indexing. Delegates to the real index retrieved from the
IndexerComponent.indexerAndSearcherFactory
Transactional support is free.
Indexer
Field Summary |
---|
Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
---|
log |
Constructor Summary | |
---|---|
IndexerComponent()
|
Method Summary | |
---|---|
void |
createChildRelationship(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef)
Create a refernce link between a parent and child. |
void |
createNode(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef)
Create an index entry when a new node is created. |
void |
deleteChildRelationship(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef)
Delete a relationship between a parent and child. |
void |
deleteIndex(org.alfresco.service.cmr.repository.StoreRef storeRef)
Delete the index for a store |
void |
deleteNode(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef)
Delete a node entry from an index. |
void |
flushPending()
|
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event)
|
protected void |
onShutdown(org.springframework.context.ApplicationEvent event)
|
void |
setIndexerAndSearcherFactory(IndexerAndSearcher indexerAndSearcherFactory)
|
void |
setReadThrough(boolean isReadThrough)
Activates 'read through' behaviour for this indexer. |
void |
setStoreRedirectorProxyFactory(StoreRedirectorProxyFactory storeRedirectorProxyFactory)
|
void |
updateChildRelationship(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipBeforeRef,
org.alfresco.service.cmr.repository.ChildAssociationRef relationshipAfterRef)
Alter the relationship between parent and child nodes in the index. |
void |
updateNode(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Update an index entry due to property changes on a node. |
Methods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
---|
getApplicationContext, onApplicationEvent, setApplicationContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexerComponent()
Method Detail |
---|
public void setStoreRedirectorProxyFactory(StoreRedirectorProxyFactory storeRedirectorProxyFactory)
protected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
protected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
public void setIndexerAndSearcherFactory(IndexerAndSearcher indexerAndSearcherFactory)
public void setReadThrough(boolean isReadThrough)
Indexer
setReadThrough
in interface Indexer
public void createNode(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef)
Indexer
createNode
in interface Indexer
public void updateNode(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Indexer
updateNode
in interface Indexer
public void deleteNode(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef)
Indexer
deleteNode
in interface Indexer
public void createChildRelationship(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef)
Indexer
createChildRelationship
in interface Indexer
public void updateChildRelationship(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipBeforeRef, org.alfresco.service.cmr.repository.ChildAssociationRef relationshipAfterRef)
Indexer
updateChildRelationship
in interface Indexer
public void deleteChildRelationship(org.alfresco.service.cmr.repository.ChildAssociationRef relationshipRef)
Indexer
deleteChildRelationship
in interface Indexer
public void deleteIndex(org.alfresco.service.cmr.repository.StoreRef storeRef)
Indexer
deleteIndex
in interface Indexer
public void flushPending()
flushPending
in interface Indexer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |