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.Module
Created by andrzej on 23.02.2017.
-
-
Field Summary
Fields Modifier and Type Field Description protected UnifiedArchiveRepository<tigase.db.DataSource>
msg_repo
protected tigase.component.PacketWriter
packetWriter
-
Constructor Summary
Constructors Constructor Description TigaseRecentQueryModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected tigase.xml.Element
convertQueryItemResultToElement(UnifiedArchiveRepository.Item item)
java.lang.String[]
getFeatures()
tigase.criteria.Criteria
getModuleCriteria()
void
process(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:
getFeatures
in interfacetigase.component.modules.Module
-
getModuleCriteria
public tigase.criteria.Criteria getModuleCriteria()
- Specified by:
getModuleCriteria
in interfacetigase.component.modules.Module
-
process
public void process(tigase.server.Packet packet) throws tigase.component.exceptions.ComponentException, tigase.util.stringprep.TigaseStringprepException
- Specified by:
process
in interfacetigase.component.modules.Module
- Throws:
tigase.component.exceptions.ComponentException
tigase.util.stringprep.TigaseStringprepException
-
convertQueryItemResultToElement
protected tigase.xml.Element convertQueryItemResultToElement(UnifiedArchiveRepository.Item item)
-
-