Class IndexUtil
java.lang.Object
de.uplanet.lucy.server.indexengine.IndexUtil
This is a class for managing index content with scripting languages.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.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.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.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.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.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.
-
Constructor Details
-
IndexUtil
public IndexUtil()
-
-
Method Details
-
notifyRecordDeleted
public 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 connectionp_dgInfo
- datagroup infop_strPKValue
- primary key value
-
notifyRecordInserted
public 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 connectionp_dgInfo
- datagroup infop_strPKValue
- primary key valuep_record
- inserted data record
-
notifyRecordUpdated
public 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 connectionp_dgInfo
- datagroup infop_strPKValue
- primary key valuep_record
- updated data record
-
notifyRecordAction
public 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 connectionp_rtDG
- data groupp_strPKValue
- primary keyp_bInsert
- true, if inserted, false if updated
-
notifyRecordInserted
public 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 connectionp_dgInfo
- datagroup infop_values
- Key-value map of the record inserted
-
notifyRecordUpdated
public 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 connectionp_dgInfo
- datagroup infop_values
- Key-value map of the record updated
-