|
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 CallHistoryService
The Call History Service stores info about calls made from various protocols
| Method Summary | |
|---|---|
void |
addSearchProgressListener(CallHistorySearchProgressListener listener)
Adding progress listener for monitoring progress of search process |
Collection<CallRecord> |
findByEndDate(Date endDate)
Returns all the calls made before the given date. |
Collection<CallRecord> |
findByEndDate(MetaContact contact,
Date endDate)
Returns all the calls made by all the contacts in the supplied contact before the given date. |
CallHistoryQuery |
findByPeer(String address,
int recordCount)
Find the calls made by the supplied peer address |
Collection<CallRecord> |
findByPeriod(Date startDate,
Date endDate)
Returns all the calls made between the given dates. |
Collection<CallRecord> |
findByPeriod(MetaContact contact,
Date startDate,
Date endDate)
Returns all the calls made by all the contacts in the supplied contact between the given dates. |
Collection<CallRecord> |
findByStartDate(Date startDate)
Returns all the calls made after the given date. |
Collection<CallRecord> |
findByStartDate(MetaContact contact,
Date startDate)
Returns all the calls made by all the contacts in the supplied contact after the given date. |
Collection<CallRecord> |
findLast(int count)
Returns the supplied number of recent calls. |
Collection<CallRecord> |
findLast(MetaContact contact,
int count)
Returns the supplied number of recent calls made by all the contacts in the supplied contact. |
void |
removeSearchProgressListener(CallHistorySearchProgressListener listener)
Removing progress listener |
| Method Detail |
|---|
Collection<CallRecord> findByStartDate(MetaContact contact,
Date startDate)
throws RuntimeException
contact - MetaContact which contacts participate in
the returned callsstartDate - Date the start date of the calls
RuntimeException - if something goes wrong
Collection<CallRecord> findByEndDate(MetaContact contact,
Date endDate)
throws RuntimeException
contact - MetaContact which contacts participate in
the returned callsendDate - Date the end date of the calls
RuntimeException - if something goes wrong
Collection<CallRecord> findByPeriod(MetaContact contact,
Date startDate,
Date endDate)
throws RuntimeException
contact - MetaContact which contacts participate in
the returned callsstartDate - Date the start date of the callsendDate - Date the end date of the calls
RuntimeException - if something goes wrong
Collection<CallRecord> findByStartDate(Date startDate)
throws RuntimeException
startDate - Date the start date of the calls
RuntimeException - if something goes wrong
Collection<CallRecord> findByEndDate(Date endDate)
throws RuntimeException
endDate - Date the end date of the calls
RuntimeException - if something goes wrong
Collection<CallRecord> findByPeriod(Date startDate,
Date endDate)
throws RuntimeException
startDate - Date the start date of the callsendDate - Date the end date of the calls
RuntimeException - if something goes wrong
Collection<CallRecord> findLast(MetaContact contact,
int count)
throws RuntimeException
contact - MetaContact which contacts participate in
the returned callscount - calls count
RuntimeException - if something goes wrong
Collection<CallRecord> findLast(int count)
throws RuntimeException
count - calls count
RuntimeException - if something goes wrong
CallHistoryQuery findByPeer(String address,
int recordCount)
throws RuntimeException
address - String the address of the peerrecordCount - the number of records to return
RuntimeException - if something goes wrongvoid addSearchProgressListener(CallHistorySearchProgressListener listener)
listener - HistorySearchProgressListenervoid removeSearchProgressListener(CallHistorySearchProgressListener 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 | |||||||||