|
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 MetaHistoryService
The Meta History Service is wrapper around the other known history services. Query them all at once, sort the result and return all merged records in one collection.
| Method Summary | |
|---|---|
void |
addSearchProgressListener(HistorySearchProgressListener listener)
Adding progress listener for monitoring progress of search process |
Collection<Object> |
findByEndDate(String[] services,
Object descriptor,
Date endDate)
Returns all the records before the given date |
Collection<Object> |
findByKeyword(String[] services,
Object descriptor,
String keyword)
Returns all the records having the given keyword |
Collection<Object> |
findByKeyword(String[] services,
Object descriptor,
String keyword,
boolean caseSensitive)
Returns all the records having the given keyword |
Collection<Object> |
findByKeywords(String[] services,
Object descriptor,
String[] keywords)
Returns all the records having the given keywords |
Collection<Object> |
findByKeywords(String[] services,
Object descriptor,
String[] keywords,
boolean caseSensitive)
Returns all the records having the given keywords |
Collection<Object> |
findByPeriod(String[] services,
Object descriptor,
Date startDate,
Date endDate)
Returns all the records between the given dates |
Collection<Object> |
findByPeriod(String[] services,
Object descriptor,
Date startDate,
Date endDate,
String[] keywords)
Returns all the records between the given dates and having the given keywords |
Collection<Object> |
findByPeriod(String[] services,
Object descriptor,
Date startDate,
Date endDate,
String[] keywords,
boolean caseSensitive)
Returns all the records between the given dates and having the given keywords |
Collection<Object> |
findByStartDate(String[] services,
Object descriptor,
Date startDate)
Returns all the records for the descriptor after the given date. |
Collection<Object> |
findFirstMessagesAfter(String[] services,
Object descriptor,
Date date,
int count)
Returns the supplied number of recent records after the given date |
Collection<Object> |
findLast(String[] services,
Object descriptor,
int count)
Returns the supplied number of recent records. |
Collection<Object> |
findLastMessagesBefore(String[] services,
Object descriptor,
Date date,
int count)
Returns the supplied number of recent records before the given date |
void |
removeSearchProgressListener(HistorySearchProgressListener listener)
Removing progress listener |
| Method Detail |
|---|
Collection<Object> findByStartDate(String[] services,
Object descriptor,
Date startDate)
throws RuntimeException
services - the services classnames we will querydescriptor - CallPeer address(String),
MetaContact or ChatRoom.startDate - Date the date of the first record to return
RuntimeException
Collection<Object> findByEndDate(String[] services,
Object descriptor,
Date endDate)
throws RuntimeException
services - the services classnames we will querydescriptor - CallPeer address(String),
MetaContact or ChatRoom.endDate - Date the date of the last record to return
RuntimeException
Collection<Object> findByPeriod(String[] services,
Object descriptor,
Date startDate,
Date endDate)
throws RuntimeException
services - the services classnames we will querydescriptor - CallPeer address(String),
MetaContact or ChatRoom.startDate - Date the date of the first record to returnendDate - Date the date of the last record to return
RuntimeException
Collection<Object> findByPeriod(String[] services,
Object descriptor,
Date startDate,
Date endDate,
String[] keywords)
throws RuntimeException
services - the services classnames we will querydescriptor - CallPeer address(String),
MetaContact or ChatRoom.startDate - Date the date of the first record to returnendDate - Date the date of the last record to returnkeywords - array of keywords
RuntimeException
Collection<Object> findByPeriod(String[] services,
Object descriptor,
Date startDate,
Date endDate,
String[] keywords,
boolean caseSensitive)
throws RuntimeException
services - the services classnames we will querydescriptor - CallPeer address(String),
MetaContact or ChatRoom.startDate - Date the date of the first record to returnendDate - Date the date of the last record to returnkeywords - array of keywordscaseSensitive - is keywords search case sensitive
RuntimeException
Collection<Object> findByKeyword(String[] services,
Object descriptor,
String keyword)
throws RuntimeException
services - the services classnames we will querydescriptor - CallPeer address(String),
MetaContact or ChatRoom.keyword - keyword
RuntimeException
Collection<Object> findByKeyword(String[] services,
Object descriptor,
String keyword,
boolean caseSensitive)
throws RuntimeException
services - the services classnames we will querydescriptor - CallPeer address(String),
MetaContact or ChatRoom.keyword - keywordcaseSensitive - is keywords search case sensitive
RuntimeException
Collection<Object> findByKeywords(String[] services,
Object descriptor,
String[] keywords)
throws RuntimeException
services - the services classnames we will querydescriptor - CallPeer address(String),
MetaContact or ChatRoom.keywords - keyword
RuntimeException
Collection<Object> findByKeywords(String[] services,
Object descriptor,
String[] keywords,
boolean caseSensitive)
throws RuntimeException
services - the services classnames we will querydescriptor - CallPeer address(String),
MetaContact or ChatRoom.keywords - keywordcaseSensitive - is keywords search case sensitive
RuntimeException
Collection<Object> findLast(String[] services,
Object descriptor,
int count)
throws RuntimeException
services - the services classnames we will querydescriptor - CallPeer address(String),
MetaContact or ChatRoom.count - messages count
RuntimeException
Collection<Object> findFirstMessagesAfter(String[] services,
Object descriptor,
Date date,
int count)
throws RuntimeException
services - the services classnames we will querydescriptor - CallPeer address(String),
MetaContact or ChatRoom.date - messages after datecount - messages count
RuntimeException
Collection<Object> findLastMessagesBefore(String[] services,
Object descriptor,
Date date,
int count)
throws RuntimeException
services - the services classnames we will querydescriptor - CallPeer address(String),
MetaContact or ChatRoom.date - messages before datecount - messages count
RuntimeExceptionvoid addSearchProgressListener(HistorySearchProgressListener listener)
listener - HistorySearchProgressListenervoid removeSearchProgressListener(HistorySearchProgressListener listener)
listener - HistorySearchProgressListener
|
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 | |||||||||