fr.paris.lutece.plugins.jcr.service.search
Class JcrIndexer

java.lang.Object
  extended by fr.paris.lutece.plugins.jcr.service.search.JcrIndexer
All Implemented Interfaces:
fr.paris.lutece.portal.service.search.SearchIndexer

public class JcrIndexer
extends java.lang.Object
implements fr.paris.lutece.portal.service.search.SearchIndexer

JCR indexer implementation.


Constructor Summary
JcrIndexer()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.util.List<org.apache.lucene.document.Document> getDocuments()
          Indexes all files among all defined views.
 java.lang.String getName()
           
 java.lang.String getVersion()
           
 boolean isEnable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcrIndexer

public JcrIndexer()
Method Detail

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface fr.paris.lutece.portal.service.search.SearchIndexer
Returns:
the description of this indexer
See Also:
SearchIndexer.getDescription()

getDocuments

public java.util.List<org.apache.lucene.document.Document> getDocuments()
                                                                 throws java.io.IOException,
                                                                        java.lang.InterruptedException,
                                                                        fr.paris.lutece.portal.service.message.SiteMessageException
Indexes all files among all defined views.

Specified by:
getDocuments in interface fr.paris.lutece.portal.service.search.SearchIndexer
Returns:
a list of documents
Throws:
java.io.IOException - IO error
java.lang.InterruptedException - when recieving a signal
fr.paris.lutece.portal.service.message.SiteMessageException - other cases
See Also:
SearchIndexer.getDocuments()

getName

public java.lang.String getName()
Specified by:
getName in interface fr.paris.lutece.portal.service.search.SearchIndexer
Returns:
the name of the indexer
See Also:
SearchIndexer.getName()

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in interface fr.paris.lutece.portal.service.search.SearchIndexer
Returns:
the version of the indexer
See Also:
SearchIndexer.getVersion()

isEnable

public boolean isEnable()
Specified by:
isEnable in interface fr.paris.lutece.portal.service.search.SearchIndexer
Returns:
true if indexer is enabled
See Also:
SearchIndexer.isEnable()


Copyright © 2009 Mairie de Paris. All Rights Reserved.