|
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 | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.callhistory.CallHistorySourceContact
public class CallHistorySourceContact
The CallHistorySourceContact is an implementation of the SourceContact interface based on a CallRecord.
| Constructor Summary | |
|---|---|
CallHistorySourceContact(CallHistoryContactSource contactSource,
CallRecord callRecord)
Creates an instance of CallHistorySourceContact |
|
| Method Summary | |
|---|---|
List<ContactDetail> |
getContactDetails()
Returns a list of available contact details. |
List<ContactDetail> |
getContactDetails(Class<? extends OperationSet> operationSet)
Returns a list of all ContactDetails supporting the given OperationSet class. |
List<ContactDetail> |
getContactDetails(String category)
Returns a list of all ContactDetails corresponding to the given category. |
ContactSourceService |
getContactSource()
Returns the parent ContactSourceService from which this contact came from. |
static String |
getDateString(long date)
Returns the date string to show for the given date. |
String |
getDisplayDetails()
Returns the display details of this search contact. |
String |
getDisplayName()
Returns the display name of this search contact. |
byte[] |
getImage()
An image (or avatar) corresponding to this search contact. |
ContactDetail |
getPreferredContactDetail(Class<? extends OperationSet> operationSet)
Returns the preferred ContactDetail for a given OperationSet class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CallHistorySourceContact(CallHistoryContactSource contactSource,
CallRecord callRecord)
contactSource - the contact sourcecallRecord - the call record| Method Detail |
|---|
public List<ContactDetail> getContactDetails()
getContactDetails in interface SourceContactpublic ContactSourceService getContactSource()
getContactSource in interface SourceContactpublic String getDisplayDetails()
getDisplayDetails in interface SourceContactpublic String getDisplayName()
getDisplayName in interface SourceContactpublic byte[] getImage()
getImage in interface SourceContactpublic List<ContactDetail> getContactDetails(Class<? extends OperationSet> operationSet)
getContactDetails in interface SourceContactoperationSet - the OperationSet class we're looking for
public List<ContactDetail> getContactDetails(String category)
throws OperationNotSupportedException
getContactDetails in interface SourceContactcategory - the OperationSet class we're looking for
OperationNotSupportedException - if categories aren't supported
for call history recordspublic ContactDetail getPreferredContactDetail(Class<? extends OperationSet> operationSet)
getPreferredContactDetail in interface SourceContactoperationSet - the OperationSet class, for which we would
like to obtain a ContactDetail
public static String getDateString(long date)
date - the date to format
|
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 | |||||||||