|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.calendar.service.search.CalendarIndexer
public class CalendarIndexer
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTY_INDEXER_NAME
|
static java.lang.String |
SHORT_NAME
|
| Constructor Summary | |
|---|---|
CalendarIndexer()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns the indexer service description |
static org.apache.lucene.document.Document |
getDocument(OccurrenceEvent occurrence,
java.lang.String strRoleKey,
java.lang.String strUrl,
java.lang.String strAgenda)
Builds a document which will be used by Lucene during the indexing of the calendar list |
java.util.List<org.apache.lucene.document.Document> |
getDocuments(java.lang.String strDocument)
Get the calendar document |
java.util.List<java.lang.String> |
getListType()
|
java.lang.String |
getName()
Returns the indexer service name |
java.lang.String |
getSpecificSearchAppUrl()
|
java.lang.String |
getVersion()
Returns the indexer service version |
void |
indexDocuments()
Index all documents |
void |
indexSubject(java.lang.Object oEvent,
java.lang.String sRoleKey,
java.lang.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 |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_INDEXER_NAME
public static final java.lang.String SHORT_NAME
| Constructor Detail |
|---|
public CalendarIndexer()
| Method Detail |
|---|
public void indexDocuments()
throws java.io.IOException,
java.lang.InterruptedException,
fr.paris.lutece.portal.service.message.SiteMessageException
indexDocuments in interface fr.paris.lutece.portal.service.search.SearchIndexerjava.io.IOException - the exception
java.lang.InterruptedException - the exception
fr.paris.lutece.portal.service.message.SiteMessageException - the exception
public void indexSubject(java.lang.Object oEvent,
java.lang.String sRoleKey,
java.lang.String strAgenda)
throws java.io.IOException,
java.lang.InterruptedException
faq - the faq linked to the subjectsubject - the subject
java.io.IOException - I/O Exception
java.lang.InterruptedException - interruptedException
public java.util.List<org.apache.lucene.document.Document> getDocuments(java.lang.String strDocument)
throws java.io.IOException,
java.lang.InterruptedException,
fr.paris.lutece.portal.service.message.SiteMessageException
getDocuments in interface fr.paris.lutece.portal.service.search.SearchIndexerstrDocument - id of the subject to index
java.io.IOException - the exception
java.lang.InterruptedException - the exception
fr.paris.lutece.portal.service.message.SiteMessageException - the exception
public static org.apache.lucene.document.Document getDocument(OccurrenceEvent occurrence,
java.lang.String strRoleKey,
java.lang.String strUrl,
java.lang.String strAgenda)
throws java.io.IOException,
java.lang.InterruptedException
nIdFaq - The Faq IdstrUrl - the url of the subjectstrRoleKey - The role keyplugin - The PluginstrAgenda - the calendar id
Document containing QuestionAnswer Data
java.io.IOException - The IO Exception
java.lang.InterruptedException - The InterruptedExceptionpublic java.lang.String getName()
getName in interface fr.paris.lutece.portal.service.search.SearchIndexerpublic java.lang.String getVersion()
getVersion in interface fr.paris.lutece.portal.service.search.SearchIndexerpublic java.lang.String getDescription()
getDescription in interface fr.paris.lutece.portal.service.search.SearchIndexerpublic boolean isEnable()
isEnable in interface fr.paris.lutece.portal.service.search.SearchIndexerpublic java.util.List<java.lang.String> getListType()
getListType in interface fr.paris.lutece.portal.service.search.SearchIndexerpublic java.lang.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 | |||||||||