|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.jcr.service.search.IndexerNodeAction
public class IndexerNodeAction
Implementation of INodeAction for indexing the nodes of a JCR It stores results using TreeSet and specific Comparator
| Constructor Summary | |
|---|---|
IndexerNodeAction(java.util.Comparator<org.apache.lucene.document.Document> nodeComparator,
java.lang.String strPluginName,
AdminWorkspace adminWorkspace)
Default constructor |
|
| Method Summary | |
|---|---|
java.util.Collection<org.apache.lucene.document.Document> |
createCollection()
Creates the resulting collection |
org.apache.lucene.document.Document |
doAction(IRepositoryFile file)
Creates a lucene Document using the JCR file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexerNodeAction(java.util.Comparator<org.apache.lucene.document.Document> nodeComparator,
java.lang.String strPluginName,
AdminWorkspace adminWorkspace)
nodeComparator - the comparator used to store the results in the collectionstrPluginName - the plugin name to retrieve Spring contextadminWorkspace - the adminWorkspace to work on| Method Detail |
|---|
public java.util.Collection<org.apache.lucene.document.Document> createCollection()
INodeAction
createCollection in interface INodeAction<org.apache.lucene.document.Document,java.util.Collection<org.apache.lucene.document.Document>>INodeAction.createCollection()public org.apache.lucene.document.Document doAction(IRepositoryFile file)
doAction in interface INodeAction<org.apache.lucene.document.Document,java.util.Collection<org.apache.lucene.document.Document>>file -
INodeAction.doAction(fr.paris.lutece.plugins.jcr.business.IRepositoryFile)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||