|
|||||||||
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(ChildAssociationRef relationshipRef)
Create a refernce link between a parent and child. |
void |
createNode(ChildAssociationRef relationshipRef)
Create an index entry when a new node is created. |
void |
deleteChildRelationship(ChildAssociationRef relationshipRef)
Delete a relationship between a parent and child. |
void |
deleteIndex(StoreRef storeRef)
Delete the index for a store |
void |
deleteNode(ChildAssociationRef relationshipRef)
Delete a node entry from an index. |
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event)
|
protected void |
onShutdown(org.springframework.context.ApplicationEvent event)
|
void |
setIndexerAndSearcherFactory(IndexerAndSearcher indexerAndSearcherFactory)
|
void |
setStoreRedirectorProxyFactory(StoreRedirectorProxyFactory storeRedirectorProxyFactory)
|
void |
updateChildRelationship(ChildAssociationRef relationshipBeforeRef,
ChildAssociationRef relationshipAfterRef)
Alter the relationship between parent and child nodes in the index. |
void |
updateNode(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 createNode(ChildAssociationRef relationshipRef)
Indexer
createNode
in interface Indexer
public void updateNode(NodeRef nodeRef)
Indexer
updateNode
in interface Indexer
public void deleteNode(ChildAssociationRef relationshipRef)
Indexer
deleteNode
in interface Indexer
public void createChildRelationship(ChildAssociationRef relationshipRef)
Indexer
createChildRelationship
in interface Indexer
public void updateChildRelationship(ChildAssociationRef relationshipBeforeRef, ChildAssociationRef relationshipAfterRef)
Indexer
updateChildRelationship
in interface Indexer
public void deleteChildRelationship(ChildAssociationRef relationshipRef)
Indexer
deleteChildRelationship
in interface Indexer
public void deleteIndex(StoreRef storeRef)
Indexer
deleteIndex
in interface Indexer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |