public class BanafoContact
extends java.lang.Object
Constructor and Description |
---|
BanafoContact(long handle)
Constructor storing the pointer/address to the underlying native object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
banafoId()
Banafo contact ID
ID of the contact in the external provider (if missing remote id, the returned value is the id from db).
|
java.lang.String |
company()
Name of the company
Name of the company.
|
java.lang.String |
displayName()
Fullname of the contact
Fullname of the contact.
|
java.util.List<java.lang.String> |
emails()
List of emails of the contact
List of emails of the contact.
|
protected void |
finalize()
Ensures the underlying native object destruction
|
java.lang.String |
firstName()
Firstname of the contact
Firstname of the contact.
|
long |
handle()
Gets the pointer/address to the underlying native object
|
java.lang.String |
lastName()
Lastname of the contact
Lastname of the contact.
|
java.lang.String |
middleName()
Middlename of the contact
Middlename of the contact.
|
java.util.List<BanafoPhone> |
phones()
List of phones of the contact
List of phones of the contact.
|
java.lang.String |
remoteId()
Remote provider contact ID
ID of the contact in the external provider.
|
java.lang.String |
remoteProvider()
Remote contact provider
Provider of the contact (external contact provider, might be CRM provider or zoiper).
|
ContactType |
type()
Type of the contact
Type of the contact, depends on the provider's supported types.
|
java.lang.String |
url()
URL to the contact's page
Link to contact's page in the specific provider.
|
public BanafoContact(long handle)
handle
- Pointer/address to the underlying native objectpublic long handle()
protected void finalize()
finalize
in class java.lang.Object
public java.lang.String banafoId()
public java.lang.String remoteId()
public java.lang.String remoteProvider()
public java.lang.String displayName()
public java.lang.String firstName()
public java.lang.String middleName()
public java.lang.String lastName()
public ContactType type()
ContactType
public java.lang.String url()
public java.lang.String company()
public java.util.List<java.lang.String> emails()
public java.util.List<BanafoPhone> phones()
BanafoPhone