Class IndexUtil
java.lang.Object
de.uplanet.lucy.server.indexengine.IndexUtil
This is a class for managing index content with scripting languages.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidnotifyRecordAction(de.uplanet.jdbc.JdbcConnection p_sysConn, de.uplanet.lucy.server.businesslogic.rtdata.IRtDataGroup p_rtDG, String p_strPKValue, boolean p_bInsert) Notifies the search engine, that a record has been inserted or updated.static voidnotifyRecordDeleted(de.uplanet.jdbc.JdbcConnection p_sysConn, DataGroupInfo p_dgInfo, String p_strPKValue) Notifies the search engine, that a record has been deleted.static voidnotifyRecordInserted(de.uplanet.jdbc.JdbcConnection p_sysConn, DataGroupInfo p_dgInfo, String p_strPKValue, de.uplanet.lucy.server.businesslogic.util.IDataRecord p_record) Notifies the search engine, that a record has been inserted.static voidnotifyRecordInserted(de.uplanet.jdbc.JdbcConnection p_sysConn, DataGroupInfo p_dgInfo, Map<String, Object> p_values) Notifies the search engine, that a record has been inserted.static voidnotifyRecordUpdated(de.uplanet.jdbc.JdbcConnection p_sysConn, DataGroupInfo p_dgInfo, String p_strPKValue, de.uplanet.lucy.server.businesslogic.util.IDataRecord p_record) Notifies the search engine, that a record has been updated.static voidnotifyRecordUpdated(de.uplanet.jdbc.JdbcConnection p_sysConn, DataGroupInfo p_dgInfo, Map<String, Object> p_values) Notifies the search engine, that a record has been updated.
- 
Constructor Details- 
IndexUtilpublic IndexUtil()
 
- 
- 
Method Details- 
notifyRecordDeletedpublic static void notifyRecordDeleted(de.uplanet.jdbc.JdbcConnection p_sysConn, DataGroupInfo p_dgInfo, String p_strPKValue) Notifies the search engine, that a record has been deleted.- Parameters:
- p_sysConn- system database connection
- p_dgInfo- datagroup info
- p_strPKValue- primary key value
 
- 
notifyRecordInsertedpublic static void notifyRecordInserted(de.uplanet.jdbc.JdbcConnection p_sysConn, DataGroupInfo p_dgInfo, String p_strPKValue, de.uplanet.lucy.server.businesslogic.util.IDataRecord p_record) Notifies the search engine, that a record has been inserted.- Parameters:
- p_sysConn- system database connection
- p_dgInfo- datagroup info
- p_strPKValue- primary key value
- p_record- inserted data record
 
- 
notifyRecordUpdatedpublic static void notifyRecordUpdated(de.uplanet.jdbc.JdbcConnection p_sysConn, DataGroupInfo p_dgInfo, String p_strPKValue, de.uplanet.lucy.server.businesslogic.util.IDataRecord p_record) Notifies the search engine, that a record has been updated.- Parameters:
- p_sysConn- system database connection
- p_dgInfo- datagroup info
- p_strPKValue- primary key value
- p_record- updated data record
 
- 
notifyRecordActionpublic static void notifyRecordAction(de.uplanet.jdbc.JdbcConnection p_sysConn, de.uplanet.lucy.server.businesslogic.rtdata.IRtDataGroup p_rtDG, String p_strPKValue, boolean p_bInsert) Notifies the search engine, that a record has been inserted or updated.- Parameters:
- p_sysConn- system database connection
- p_rtDG- data group
- p_strPKValue- primary key
- p_bInsert- true, if inserted, false if updated
 
- 
notifyRecordInsertedpublic static void notifyRecordInserted(de.uplanet.jdbc.JdbcConnection p_sysConn, DataGroupInfo p_dgInfo, Map<String, Object> p_values) Notifies the search engine, that a record has been inserted.- Parameters:
- p_sysConn- system database connection
- p_dgInfo- datagroup info
- p_values- Key-value map of the record inserted
 
- 
notifyRecordUpdatedpublic static void notifyRecordUpdated(de.uplanet.jdbc.JdbcConnection p_sysConn, DataGroupInfo p_dgInfo, Map<String, Object> p_values) Notifies the search engine, that a record has been updated.- Parameters:
- p_sysConn- system database connection
- p_dgInfo- datagroup info
- p_values- Key-value map of the record updated
 
 
-