Class TigaseRecentQueryModule

java.lang.Object
tigase.archive.unified.modules.TigaseRecentQueryModule
All Implemented Interfaces:
tigase.component.modules.Module

@Bean(name="tigase-recent-query", parent=UnifiedArchiveComponent.class, active=true) public class TigaseRecentQueryModule extends Object implements tigase.component.modules.Module
Created by andrzej on 23.02.2017.
  • Field Details

    • msg_repo

      @Inject protected UnifiedArchiveRepository<tigase.db.DataSource> msg_repo
    • packetWriter

      @Inject protected tigase.component.PacketWriter packetWriter
  • Constructor Details

    • TigaseRecentQueryModule

      public TigaseRecentQueryModule()
  • Method Details

    • getFeatures

      public String[] getFeatures()
      Specified by:
      getFeatures in interface tigase.component.modules.Module
    • getModuleCriteria

      public tigase.criteria.Criteria getModuleCriteria()
      Specified by:
      getModuleCriteria in interface tigase.component.modules.Module
    • process

      public void process(tigase.server.Packet packet) throws tigase.component.exceptions.ComponentException, tigase.util.stringprep.TigaseStringprepException
      Specified by:
      process in interface tigase.component.modules.Module
      Throws:
      tigase.component.exceptions.ComponentException
      tigase.util.stringprep.TigaseStringprepException
    • convertQueryItemResultToElement

      protected tigase.xml.Element convertQueryItemResultToElement(UnifiedArchiveRepository.Item item)