public class SolrAppointmentIndexer extends Object implements fr.paris.lutece.plugins.search.solr.indexer.SolrIndexer
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_NAME |
static String |
FORM_ID_TITLE_SEPARATOR |
static String |
RESOURCE_TYPE_APPOINTMENT |
static String |
RESOURCE_TYPE_SLOT |
| Constructor and Description |
|---|
SolrAppointmentIndexer() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAppointmentFormAndSlots(int nIdForm,
StringBuffer sbLogs) |
void |
deleteSlot(fr.paris.lutece.plugins.appointment.business.slot.Slot appointmentSlot,
StringBuffer sbLogs) |
List<fr.paris.lutece.plugins.search.solr.business.field.Field> |
getAdditionalFields() |
String |
getDescription() |
List<fr.paris.lutece.plugins.search.solr.indexer.SolrItem> |
getDocuments(String arg0) |
String |
getName() |
List<String> |
getResourcesName() |
String |
getResourceUid(String strResourceId,
String strResourceType) |
String |
getVersion() |
List<String> |
indexDocuments() |
boolean |
isEnable() |
void |
writeAppointmentFormAndSlots(fr.paris.lutece.plugins.appointment.business.AppointmentForm appointmentForm) |
void |
writeAppointmentFormAndSlots(fr.paris.lutece.plugins.appointment.business.AppointmentForm appointmentForm,
StringBuffer sbLogs) |
void |
writeAppointmentSlot(int nIdSlot,
StringBuffer sbLogs) |
public static final String BEAN_NAME
public static final String RESOURCE_TYPE_APPOINTMENT
public static final String RESOURCE_TYPE_SLOT
public static final String FORM_ID_TITLE_SEPARATOR
public String getResourceUid(String strResourceId, String strResourceType)
getResourceUid in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexerpublic List<fr.paris.lutece.plugins.search.solr.business.field.Field> getAdditionalFields()
getAdditionalFields in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexerpublic String getDescription()
getDescription in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexerpublic List<fr.paris.lutece.plugins.search.solr.indexer.SolrItem> getDocuments(String arg0)
getDocuments in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexerpublic String getName()
getName in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexerpublic List<String> getResourcesName()
getResourcesName in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexerpublic String getVersion()
getVersion in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexerpublic List<String> indexDocuments()
indexDocuments in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexerpublic void writeAppointmentFormAndSlots(fr.paris.lutece.plugins.appointment.business.AppointmentForm appointmentForm)
throws org.apache.lucene.index.CorruptIndexException,
IOException
org.apache.lucene.index.CorruptIndexExceptionIOExceptionpublic void writeAppointmentFormAndSlots(fr.paris.lutece.plugins.appointment.business.AppointmentForm appointmentForm,
StringBuffer sbLogs)
throws org.apache.lucene.index.CorruptIndexException,
IOException
org.apache.lucene.index.CorruptIndexExceptionIOExceptionpublic void deleteAppointmentFormAndSlots(int nIdForm,
StringBuffer sbLogs)
throws org.apache.solr.client.solrj.SolrServerException,
IOException
org.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic void writeAppointmentSlot(int nIdSlot,
StringBuffer sbLogs)
throws org.apache.lucene.index.CorruptIndexException,
IOException
org.apache.lucene.index.CorruptIndexExceptionIOExceptionpublic void deleteSlot(fr.paris.lutece.plugins.appointment.business.slot.Slot appointmentSlot,
StringBuffer sbLogs)
throws org.apache.solr.client.solrj.SolrServerException,
IOException
org.apache.solr.client.solrj.SolrServerExceptionIOExceptionpublic boolean isEnable()
isEnable in interface fr.paris.lutece.plugins.search.solr.indexer.SolrIndexerCopyright © 2018 City of Paris. All rights reserved.