public interface MessageArchiveRepository<Crit extends AbstractCriteria>
extends tigase.db.Repository
| Modifier and Type | Interface and Description |
|---|---|
static class |
MessageArchiveRepository.Direction |
| Modifier and Type | Method and Description |
|---|---|
void |
archiveMessage(tigase.xmpp.BareJID owner,
tigase.xmpp.JID buddy,
MessageArchiveRepository.Direction direction,
Date timestamp,
tigase.xml.Element msg,
Set<String> tags) |
void |
deleteExpiredMessages(tigase.xmpp.BareJID owner,
LocalDateTime before) |
void |
destroy()
Destroys instance of this repository and releases resources allocated if possible
|
List<tigase.xml.Element> |
getCollections(tigase.xmpp.BareJID owner,
Crit criteria) |
List<tigase.xml.Element> |
getItems(tigase.xmpp.BareJID owner,
Crit criteria) |
List<String> |
getTags(tigase.xmpp.BareJID owner,
String startsWith,
Crit criteria) |
AbstractCriteria |
newCriteriaInstance() |
void |
removeItems(tigase.xmpp.BareJID owner,
String withJid,
Date start,
Date end) |
void archiveMessage(tigase.xmpp.BareJID owner,
tigase.xmpp.JID buddy,
MessageArchiveRepository.Direction direction,
Date timestamp,
tigase.xml.Element msg,
Set<String> tags)
void deleteExpiredMessages(tigase.xmpp.BareJID owner,
LocalDateTime before)
throws tigase.db.TigaseDBException
tigase.db.TigaseDBExceptionvoid destroy()
AbstractCriteria newCriteriaInstance()
List<tigase.xml.Element> getCollections(tigase.xmpp.BareJID owner, Crit criteria) throws tigase.db.TigaseDBException
tigase.db.TigaseDBExceptionList<tigase.xml.Element> getItems(tigase.xmpp.BareJID owner, Crit criteria) throws tigase.db.TigaseDBException
tigase.db.TigaseDBExceptionvoid removeItems(tigase.xmpp.BareJID owner,
String withJid,
Date start,
Date end)
throws tigase.db.TigaseDBException
tigase.db.TigaseDBExceptionCopyright © 2017. All rights reserved.