Class SqlserverSqlHistoryProvider

java.lang.Object
tigase.muc.history.AbstractHistoryProvider<tigase.db.DataRepository>
tigase.muc.history.AbstractJDBCHistoryProvider
tigase.muc.history.SqlserverSqlHistoryProvider
All Implemented Interfaces:
tigase.db.DataSourceAware<tigase.db.DataRepository>, HistoryProvider<tigase.db.DataRepository>

public class SqlserverSqlHistoryProvider extends AbstractJDBCHistoryProvider
Author:
bmalkow
  • Field Details

  • Constructor Details

    • SqlserverSqlHistoryProvider

      public SqlserverSqlHistoryProvider()
  • Method Details

    • addJoinEvent

      public void addJoinEvent(Room room, Date date, tigase.xmpp.jid.JID senderJID, String nickName)
      Adds join event.
    • addLeaveEvent

      public void addLeaveEvent(Room room, Date date, tigase.xmpp.jid.JID senderJID, String nickName)
    • addSubjectChange

      public void addSubjectChange(Room room, tigase.xml.Element message, String subject, tigase.xmpp.jid.JID senderJid, String senderNickname, Date time)
      Adds subject changes to log/history.
    • getHistoryMessages

      public void getHistoryMessages(Room room, tigase.xmpp.jid.JID senderJID, Integer maxchars, Integer maxstanzas, Integer seconds, Date since, tigase.component.PacketWriter writer)
      Specified by:
      getHistoryMessages in interface HistoryProvider<tigase.db.DataRepository>
      Overrides:
      getHistoryMessages in class AbstractJDBCHistoryProvider
    • init

      public void init(tigase.db.DataRepository dataRepository)
    • setDataSource

      public void setDataSource(tigase.db.DataRepository dataSource)
      Specified by:
      setDataSource in interface tigase.db.DataSourceAware<tigase.db.DataRepository>
      Overrides:
      setDataSource in class AbstractJDBCHistoryProvider