Package tigase.archive.unified.modules
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 java.lang.Object implements tigase.component.modules.ModuleCreated by andrzej on 23.02.2017.
-
-
Field Summary
Fields Modifier and Type Field Description protected UnifiedArchiveRepository<tigase.db.DataSource>msg_repoprotected tigase.component.PacketWriterpacketWriter
-
Constructor Summary
Constructors Constructor Description TigaseRecentQueryModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected tigase.xml.ElementconvertQueryItemResultToElement(UnifiedArchiveRepository.Item item)java.lang.String[]getFeatures()tigase.criteria.CriteriagetModuleCriteria()voidprocess(tigase.server.Packet packet)
-
-
-
Field Detail
-
msg_repo
@Inject protected UnifiedArchiveRepository<tigase.db.DataSource> msg_repo
-
packetWriter
@Inject protected tigase.component.PacketWriter packetWriter
-
-
Method Detail
-
getFeatures
public java.lang.String[] getFeatures()
- Specified by:
getFeaturesin interfacetigase.component.modules.Module
-
getModuleCriteria
public tigase.criteria.Criteria getModuleCriteria()
- Specified by:
getModuleCriteriain interfacetigase.component.modules.Module
-
process
public void process(tigase.server.Packet packet) throws tigase.component.exceptions.ComponentException, tigase.util.stringprep.TigaseStringprepException- Specified by:
processin interfacetigase.component.modules.Module- Throws:
tigase.component.exceptions.ComponentExceptiontigase.util.stringprep.TigaseStringprepException
-
convertQueryItemResultToElement
protected tigase.xml.Element convertQueryItemResultToElement(UnifiedArchiveRepository.Item item)
-
-