|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.calendar.modules.document.service.search.DocumentCalendarIndexer
public class DocumentCalendarIndexer
| Constructor Summary | |
|---|---|
DocumentCalendarIndexer()
|
|
| Method Summary | |
|---|---|
String |
getDescription()
Returns the indexer service description |
static org.apache.lucene.document.Document |
getDocument(fr.paris.lutece.plugins.document.business.Document document,
String strRole,
fr.paris.lutece.plugins.calendar.business.Event occurrence,
String strAgenda,
String strOccurrenceUrl)
Builds a document which will be used by Lucene during the indexing of the pages of the site with the following fields : summary, uid, url, contents, title and description. |
List<org.apache.lucene.document.Document> |
getDocuments(String strDocument)
Get the calendar document |
List<String> |
getListType()
Defined by Calendar indexer. |
String |
getName()
Returns the indexer service name |
String |
getSpecificSearchAppUrl()
Defined by Calendar indexer. |
String |
getVersion()
Returns the indexer service version |
void |
indexDocuments()
Index all documents |
void |
indexSubject(fr.paris.lutece.plugins.document.business.Document document,
String sRoleKey,
fr.paris.lutece.plugins.calendar.business.OccurrenceEvent occurrence,
String strAgenda)
Recursive method for indexing a calendar event |
boolean |
isEnable()
Tells whether the service is enable or not |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentCalendarIndexer()
| Method Detail |
|---|
public void indexDocuments()
throws IOException,
InterruptedException,
fr.paris.lutece.portal.service.message.SiteMessageException
indexDocuments in interface fr.paris.lutece.portal.service.search.SearchIndexerIOException - the exception
InterruptedException - the exception
fr.paris.lutece.portal.service.message.SiteMessageException - the exception
public void indexSubject(fr.paris.lutece.plugins.document.business.Document document,
String sRoleKey,
fr.paris.lutece.plugins.calendar.business.OccurrenceEvent occurrence,
String strAgenda)
throws IOException,
InterruptedException
faq - the faq linked to the subjectsubject - the subject
IOException - I/O Exception
InterruptedException - interruptedException
public List<org.apache.lucene.document.Document> getDocuments(String strDocument)
throws IOException,
InterruptedException,
fr.paris.lutece.portal.service.message.SiteMessageException
getDocuments in interface fr.paris.lutece.portal.service.search.SearchIndexerstrDocument - id of the subject to index
IOException - the exception
InterruptedException - the exception
fr.paris.lutece.portal.service.message.SiteMessageException - the exceptionpublic String getName()
getName in interface fr.paris.lutece.portal.service.search.SearchIndexerpublic String getVersion()
getVersion in interface fr.paris.lutece.portal.service.search.SearchIndexerpublic String getDescription()
getDescription in interface fr.paris.lutece.portal.service.search.SearchIndexerpublic boolean isEnable()
isEnable in interface fr.paris.lutece.portal.service.search.SearchIndexer
public static org.apache.lucene.document.Document getDocument(fr.paris.lutece.plugins.document.business.Document document,
String strRole,
fr.paris.lutece.plugins.calendar.business.Event occurrence,
String strAgenda,
String strOccurrenceUrl)
throws IOException,
InterruptedException
document - the document to indexstrUrl - the url of the documentsstrRole - the lutece role of the page associate to the documentstrPortletDocumentId - the document id concatened to the id portlet
with a & in the middle
IOException - The IO Exception
InterruptedException - The InterruptedExceptionpublic List<String> getListType()
getListType in interface fr.paris.lutece.portal.service.search.SearchIndexerpublic String getSpecificSearchAppUrl()
getSpecificSearchAppUrl in interface fr.paris.lutece.portal.service.search.SearchIndexer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||