|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.common.pim.model.contact.Contact
public class Contact
An object representing a contact with all the information supported by Funambol it contains. This is the "foundational model" of a contact, used to exchange information about such items between server and connectors. It can also be used by clients.
Field Summary | |
---|---|
static java.lang.String |
CLASS_CONFIDENTIAL
|
static java.lang.String |
CLASS_CUSTOM
|
static java.lang.String |
CLASS_PRIVATE
|
static java.lang.String |
CLASS_PUBLIC
|
static java.lang.Short |
SENSITIVITY_CONFIDENTIAL
|
static java.lang.Short |
SENSITIVITY_NORMAL
|
static java.lang.Short |
SENSITIVITY_PERSONAL
|
static java.lang.Short |
SENSITIVITY_PRIVATE
|
Constructor Summary | |
---|---|
Contact()
Creates an empty contact. |
Method Summary | |
---|---|
void |
addNote(Note note)
Adds a new note to the note list. |
void |
addXTag(XTag tag)
Adds a new xtag to the xtag list |
BusinessDetail |
getBusinessDetail()
Returns the business details of this contact. |
Property |
getCategories()
Returns the categories this contact belongs to. |
java.lang.String |
getFolder()
Returns the folder in which this contact's information are to be saved. |
java.lang.String |
getFreeBusy()
Returns the free/busy status information for this contact. |
java.lang.Short |
getImportance()
Returns the importance (priority) level of this contact. |
java.lang.String |
getLanguages()
Returns the languages spoken by this contact. |
java.lang.String |
getMailer()
Returns the mailer program name for this contact. |
java.lang.String |
getMileage()
Returns the mileage information for this contact. |
Name |
getName()
Returns the full name of this contact. |
java.util.List |
getNotes()
Returns all the notes abouts this contact. |
PersonalDetail |
getPersonalDetail()
Returns the personal details of this contact. |
java.lang.String |
getRevision()
Returns the revision number of this contact. |
java.lang.Short |
getSensitivity()
Returns the sensitivity of this contact's information (public, private etc.). |
java.lang.String |
getSubject()
Returns the subject for this contact's information page. |
java.lang.String |
getTimezone()
Returns the preferred time zone for this contact. |
java.lang.String |
getUid()
Returns the unique ID (as defined by a client) of this contact. |
java.util.List |
getXTags()
Returns the list of the custom properties of this contact. |
void |
setBusinessDetail(BusinessDetail businessDetail)
Setter for property businessDetail. |
void |
setCategories(Property categories)
Setter for property categories. |
void |
setFolder(java.lang.String folder)
Setter for property folder. |
void |
setFreeBusy(java.lang.String freeBusy)
Setter for property freeBusy. |
void |
setImportance(java.lang.Short importance)
Setter for property importance (priority). |
void |
setLanguages(java.lang.String languages)
Setter for property languages. |
void |
setMailer(java.lang.String mailer)
Setter for property mailer. |
void |
setMileage(java.lang.String mileage)
Setter for property mileage. |
void |
setName(Name name)
Setter for property name. |
void |
setNotes(java.util.List notes)
Setter for property notes. |
void |
setPersonalDetail(PersonalDetail personalDetail)
Setter for property personalDetail. |
void |
setRevision(java.lang.String revision)
Sets the revision number of this contact. |
void |
setSensitivity(java.lang.Short sensitivity)
Setter for property sensitivity. |
void |
setSubject(java.lang.String subject)
Setter for property subject. |
void |
setTimezone(java.lang.String timezone)
Sets the preferred timezone for this contact. |
void |
setUid(java.lang.String uid)
Sets the unique ID (as defined by a client) of this contact. |
void |
setXTags(java.util.List xTags)
Setter for list xTags. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Short SENSITIVITY_NORMAL
public static final java.lang.Short SENSITIVITY_PERSONAL
public static final java.lang.Short SENSITIVITY_PRIVATE
public static final java.lang.Short SENSITIVITY_CONFIDENTIAL
public static final java.lang.String CLASS_PUBLIC
public static final java.lang.String CLASS_PRIVATE
public static final java.lang.String CLASS_CONFIDENTIAL
public static final java.lang.String CLASS_CUSTOM
Constructor Detail |
---|
public Contact()
Method Detail |
---|
public java.lang.String getUid()
public java.lang.String getTimezone()
public java.util.List getNotes()
public void setNotes(java.util.List notes)
notes
- new value of property notespublic void addNote(Note note)
note
- the new notepublic java.util.List getXTags()
public void setXTags(java.util.List xTags)
xTags
- a list containing XTag objectspublic java.lang.String getRevision()
public Name getName()
public BusinessDetail getBusinessDetail()
public PersonalDetail getPersonalDetail()
public void setUid(java.lang.String uid)
uid
- new value of property uidpublic void setTimezone(java.lang.String timezone)
timezone
- new value of property timezonepublic void setRevision(java.lang.String revision)
revision
- new value of property revisionpublic Property getCategories()
public void setCategories(Property categories)
categories
- new value of property categories.public java.lang.String getLanguages()
public void setLanguages(java.lang.String languages)
languages
- new value of property languagespublic void setName(Name name)
name
- new value of property namepublic void setBusinessDetail(BusinessDetail businessDetail)
businessDetail
- new value of property businessDetailpublic void setPersonalDetail(PersonalDetail personalDetail)
personalDetail
- new value of property personalDetailpublic java.lang.Short getImportance()
public void setImportance(java.lang.Short importance)
importance
- new value of property importancepublic java.lang.Short getSensitivity()
public void setSensitivity(java.lang.Short sensitivity)
sensitivity
- new value of property sensitivitypublic java.lang.String getSubject()
public void setSubject(java.lang.String subject)
subject
- new value of property subjectpublic java.lang.String getMileage()
public void setMileage(java.lang.String mileage)
mileage
- new value of property mileagepublic java.lang.String getFolder()
public void setFolder(java.lang.String folder)
folder
- new value of property folderpublic void setFreeBusy(java.lang.String freeBusy)
freeBusy
- new value of property freeBusypublic java.lang.String getFreeBusy()
public void setMailer(java.lang.String mailer)
mailer
- new value of property mailerpublic java.lang.String getMailer()
public void addXTag(XTag tag)
tag
- the new xtag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |