|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageHistoryService
The Message History Service stores messages exchanged through the various protocols
| Method Summary | |
|---|---|
void |
addSearchProgressListener(MessageHistorySearchProgressListener listener)
Adding progress listener for monitoring progress of search process |
Collection<EventObject> |
findByEndDate(ChatRoom room,
Date endDate)
Returns all the messages exchanged in the supplied chat room before the given date |
Collection<EventObject> |
findByEndDate(MetaContact contact,
Date endDate)
Returns all the messages exchanged by all the contacts in the supplied metacontact before the given date |
Collection<EventObject> |
findByKeyword(ChatRoom room,
String keyword)
Returns all the messages exchanged in the supplied room having the given keyword |
Collection<EventObject> |
findByKeyword(ChatRoom room,
String keyword,
boolean caseSensitive)
Returns all the messages exchanged in the supplied chat room having the given keyword |
Collection<EventObject> |
findByKeyword(MetaContact contact,
String keyword)
Returns all the messages exchanged by all the contacts in the supplied metacontact having the given keyword |
Collection<EventObject> |
findByKeyword(MetaContact contact,
String keyword,
boolean caseSensitive)
Returns all the messages exchanged by all the contacts in the supplied metacontact having the given keyword |
Collection<EventObject> |
findByKeywords(ChatRoom room,
String[] keywords)
Returns all the messages exchanged in the supplied chat room having the given keywords |
Collection<EventObject> |
findByKeywords(ChatRoom room,
String[] keywords,
boolean caseSensitive)
Returns all the messages exchanged in the supplied chat room having the given keywords |
Collection<EventObject> |
findByKeywords(MetaContact contact,
String[] keywords)
Returns all the messages exchanged by all the contacts in the supplied metacontact having the given keywords |
Collection<EventObject> |
findByKeywords(MetaContact contact,
String[] keywords,
boolean caseSensitive)
Returns all the messages exchanged by all the contacts in the supplied metacontact having the given keywords |
Collection<EventObject> |
findByPeriod(ChatRoom room,
Date startDate,
Date endDate)
Returns all the messages exchanged in the supplied chat room between the given dates |
Collection<EventObject> |
findByPeriod(ChatRoom room,
Date startDate,
Date endDate,
String[] keywords)
Returns all the messages exchanged in the supplied chat room between the given dates and having the given keywords |
Collection<EventObject> |
findByPeriod(ChatRoom room,
Date startDate,
Date endDate,
String[] keywords,
boolean caseSensitive)
Returns all the messages exchanged in the supplied chat room between the given dates and having the given keywords |
Collection<EventObject> |
findByPeriod(MetaContact contact,
Date startDate,
Date endDate)
Returns all the messages exchanged by all the contacts in the supplied metacontact between the given dates |
Collection<EventObject> |
findByPeriod(MetaContact contact,
Date startDate,
Date endDate,
String[] keywords)
Returns all the messages exchanged by all the contacts in the supplied metacontact between the given dates and having the given keywords |
Collection<EventObject> |
findByPeriod(MetaContact contact,
Date startDate,
Date endDate,
String[] keywords,
boolean caseSensitive)
Returns all the messages exchanged by all the contacts in the supplied metacontact between the given dates and having the given keywords |
Collection<EventObject> |
findByStartDate(ChatRoom room,
Date startDate)
Returns all the messages exchanged in the supplied chat room after the given date |
Collection<EventObject> |
findByStartDate(MetaContact contact,
Date startDate)
Returns all the messages exchanged by all the contacts in the supplied metacontact after the given date |
Collection<EventObject> |
findFirstMessagesAfter(ChatRoom room,
Date date,
int count)
Returns the supplied number of recent messages after the given date exchanged in the supplied chat room |
Collection<EventObject> |
findFirstMessagesAfter(MetaContact contact,
Date date,
int count)
Returns the supplied number of recent messages after the given date exchanged by all the contacts in the supplied metacontact |
Collection<EventObject> |
findLast(ChatRoom room,
int count)
Returns the supplied number of recent messages exchanged in the supplied chat room |
Collection<EventObject> |
findLast(MetaContact contact,
int count)
Returns the supplied number of recent messages exchanged by all the contacts in the supplied metacontact |
Collection<EventObject> |
findLastMessagesBefore(ChatRoom room,
Date date,
int count)
Returns the supplied number of recent messages before the given date exchanged in the supplied chat room |
Collection<EventObject> |
findLastMessagesBefore(MetaContact contact,
Date date,
int count)
Returns the supplied number of recent messages before the given date exchanged by all the contacts in the supplied metacontact |
void |
removeSearchProgressListener(MessageHistorySearchProgressListener listener)
Removing progress listener |
| Method Detail |
|---|
Collection<EventObject> findByStartDate(MetaContact contact,
Date startDate)
throws RuntimeException
contact - MetaContactstartDate - Date the start date of the conversations
RuntimeException
Collection<EventObject> findByEndDate(MetaContact contact,
Date endDate)
throws RuntimeException
contact - MetaContactendDate - Date the end date of the conversations
RuntimeException
Collection<EventObject> findByPeriod(MetaContact contact,
Date startDate,
Date endDate)
throws RuntimeException
contact - MetaContactstartDate - Date the start date of the conversationsendDate - Date the end date of the conversations
RuntimeException
Collection<EventObject> findByPeriod(MetaContact contact,
Date startDate,
Date endDate,
String[] keywords)
throws RuntimeException
contact - MetaContactstartDate - Date the start date of the conversationsendDate - Date the end date of the conversationskeywords - array of keywords
RuntimeException
Collection<EventObject> findByPeriod(MetaContact contact,
Date startDate,
Date endDate,
String[] keywords,
boolean caseSensitive)
throws RuntimeException
contact - MetaContactstartDate - Date the start date of the conversationsendDate - Date the end date of the conversationskeywords - array of keywordscaseSensitive - is keywords search case sensitive
RuntimeException
Collection<EventObject> findByKeyword(MetaContact contact,
String keyword)
throws RuntimeException
contact - MetaContactkeyword - keyword
RuntimeException
Collection<EventObject> findByKeyword(MetaContact contact,
String keyword,
boolean caseSensitive)
throws RuntimeException
contact - MetaContactkeyword - keywordcaseSensitive - is keywords search case sensitive
RuntimeException
Collection<EventObject> findByKeywords(MetaContact contact,
String[] keywords)
throws RuntimeException
contact - MetaContactkeywords - keyword
RuntimeException
Collection<EventObject> findByKeywords(MetaContact contact,
String[] keywords,
boolean caseSensitive)
throws RuntimeException
contact - MetaContactkeywords - keywordcaseSensitive - is keywords search case sensitive
RuntimeException
Collection<EventObject> findLast(MetaContact contact,
int count)
throws RuntimeException
contact - MetaContactcount - messages count
RuntimeException
Collection<EventObject> findFirstMessagesAfter(MetaContact contact,
Date date,
int count)
throws RuntimeException
contact - MetaContactdate - messages after datecount - messages count
RuntimeException
Collection<EventObject> findLastMessagesBefore(MetaContact contact,
Date date,
int count)
throws RuntimeException
contact - MetaContactdate - messages before datecount - messages count
RuntimeExceptionvoid addSearchProgressListener(MessageHistorySearchProgressListener listener)
listener - HistorySearchProgressListenervoid removeSearchProgressListener(MessageHistorySearchProgressListener listener)
listener - HistorySearchProgressListener
Collection<EventObject> findByStartDate(ChatRoom room,
Date startDate)
throws RuntimeException
room - The chat roomstartDate - Date the start date of the conversations
RuntimeException
Collection<EventObject> findByEndDate(ChatRoom room,
Date endDate)
throws RuntimeException
room - The chat roomendDate - Date the end date of the conversations
RuntimeException
Collection<EventObject> findByPeriod(ChatRoom room,
Date startDate,
Date endDate)
throws RuntimeException
room - The chat roomstartDate - Date the start date of the conversationsendDate - Date the end date of the conversations
RuntimeException
Collection<EventObject> findByPeriod(ChatRoom room,
Date startDate,
Date endDate,
String[] keywords)
throws RuntimeException
room - The chat roomstartDate - Date the start date of the conversationsendDate - Date the end date of the conversationskeywords - array of keywords
RuntimeException
Collection<EventObject> findByPeriod(ChatRoom room,
Date startDate,
Date endDate,
String[] keywords,
boolean caseSensitive)
throws RuntimeException
room - The chat roomstartDate - Date the start date of the conversationsendDate - Date the end date of the conversationskeywords - array of keywordscaseSensitive - is keywords search case sensitive
RuntimeException
Collection<EventObject> findByKeyword(ChatRoom room,
String keyword)
throws RuntimeException
room - The Chat roomkeyword - keyword
RuntimeException
Collection<EventObject> findByKeyword(ChatRoom room,
String keyword,
boolean caseSensitive)
throws RuntimeException
room - The chat roomkeyword - keywordcaseSensitive - is keywords search case sensitive
RuntimeException
Collection<EventObject> findByKeywords(ChatRoom room,
String[] keywords)
throws RuntimeException
room - The chat roomkeywords - keyword
RuntimeException
Collection<EventObject> findByKeywords(ChatRoom room,
String[] keywords,
boolean caseSensitive)
throws RuntimeException
room - The chat roomkeywords - keywordcaseSensitive - is keywords search case sensitive
RuntimeException
Collection<EventObject> findLast(ChatRoom room,
int count)
throws RuntimeException
room - The chat roomcount - messages count
RuntimeException
Collection<EventObject> findFirstMessagesAfter(ChatRoom room,
Date date,
int count)
throws RuntimeException
room - The chat roomdate - messages after datecount - messages count
RuntimeException
Collection<EventObject> findLastMessagesBefore(ChatRoom room,
Date date,
int count)
throws RuntimeException
room - The chat roomdate - messages before datecount - messages count
RuntimeException
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||