public class ContactServiceImpl extends java.lang.Object implements ContactService, PeopleNames
ContactService
. Among
others, it defines the various possible values of a given contact property
given the already defined property of this contact instancePEOPLE_ACCOUNT_HOLDER, PEOPLE_ACCOUNT_NB, PEOPLE_ALT_LANGS, PEOPLE_BANK_NAME, PEOPLE_BANK_NB, PEOPLE_BIC, PEOPLE_BIRTH_DATE, PEOPLE_CITY, PEOPLE_CONTACT_VALUE, PEOPLE_CONTACTS, PEOPLE_COUNTRY, PEOPLE_CURRENCY, PEOPLE_DATE_BEGIN, PEOPLE_DATE_END, PEOPLE_DEPARTMENT, PEOPLE_DISPLAY_NAME, PEOPLE_FIRST_NAME, PEOPLE_GENDER, PEOPLE_GEOPOINT, PEOPLE_HONORIFIC_TITLE, PEOPLE_IBAN, PEOPLE_IS_CURRENT, PEOPLE_IS_PRIMARY, PEOPLE_JOBS, PEOPLE_LAST_NAME, PEOPLE_LATIN_PHONETIC_SPELLING, PEOPLE_LEGAL_FORM, PEOPLE_LEGAL_NAME, PEOPLE_MAIDEN_NAME, PEOPLE_MAILING_LISTS, PEOPLE_MEMBERS, PEOPLE_MIDDLE_NAME, PEOPLE_NAME_SUFFIX, PEOPLE_NICKNAME, PEOPLE_ORG_REF_UID, PEOPLE_PAYMENT_ACCOUNTS, PEOPLE_PMAIL, PEOPLE_PMOBILE, PEOPLE_PORG, PEOPLE_POSTAL_ADDRESS_PROPS, PEOPLE_PPOSTAL_ADDRESS, PEOPLE_PRIMARY_EMAIL, PEOPLE_PTELEPHONE_NUMBER, PEOPLE_PURL, PEOPLE_REF_TITLE, PEOPLE_REF_UID, PEOPLE_ROLE, PEOPLE_SALUTATION, PEOPLE_SPOKEN_LANGUAGES, PEOPLE_STATE, PEOPLE_STREET, PEOPLE_STREET_COMPLEMENT, PEOPLE_TIME_ZONE, PEOPLE_UNSUBSCRIBED_MAILING_LISTS, PEOPLE_USE_POLITE_FORM, PEOPLE_USERNAME, PEOPLE_VAT_ID_NB, PEOPLE_ZIP_CODE
Constructor and Description |
---|
ContactServiceImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getContactCategories(java.lang.String contactableType,
java.lang.String contactType,
boolean isPro)
Returns the list of valid categories, depending on the contact type and contact
nature before the creation of the contact
|
java.awt.Image |
getContactIcon(Node contact)
Return corresponding icon given a contact instance
|
java.lang.String[] |
getContactPossibleCategories(Node contact)
Returns the list of possible values given the other information we already
have for this contact instance
|
java.lang.String[] |
getContactTypeLabels(Node entity)
Returns the list of possible contacts given an entity
|
java.lang.String[] |
getKnownContactLabels()
Retrieves the valid possible contact type labels
|
java.lang.String[] |
getKnownContactTypes()
Retrieves the valid possible contact types
|
public java.lang.String[] getKnownContactTypes()
ContactService
getKnownContactTypes
in interface ContactService
public java.lang.String[] getKnownContactLabels()
ContactService
getKnownContactLabels
in interface ContactService
public java.lang.String[] getContactTypeLabels(Node entity)
ContactService
getContactTypeLabels
in interface ContactService
public java.lang.String[] getContactPossibleCategories(Node contact)
ContactService
getContactPossibleCategories
in interface ContactService
public java.lang.String[] getContactCategories(java.lang.String contactableType, java.lang.String contactType, boolean isPro)
ContactService
getContactCategories
in interface ContactService
public java.awt.Image getContactIcon(Node contact)
ContactService
getContactIcon
in interface ContactService
Copyright © 2007–2020. All rights reserved.