|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.exchange.webdav.AbstractItem | +--com.compoze.exchange.webdav.AbstractMessage | +--com.compoze.exchange.webdav.Contact
This class extends AbstractItem
to represent an item that is
a contact in the Exchange Store.
The following table contains the properties defined in the Exchange store schema
and mappings to their corresponding Java enumeration and methods:
ContactFolder contactsFolder = m_session.getContactsFolder(); Contacts contacts = contactsFolder.getContacts(ContactProperty.getProperties()); Contact contact = new Contact(); Name name = new Name("John", "", "Doe", "", "", "Johnny"); contact.setName(name); Address businessAddress = new Address(); businessAddress.setStreetAddress("550 North Lane"); businessAddress.setLocality("Conshohocken"); businessAddress.setRegion("PA"); businessAddress.setPostalCode("19428"); businessAddress.setCountry("United States of America"); contact.setBusinessAddress(businessAddress); Address otherAddress = new Address(); otherAddress.setStreetAddress("953 Mission Street"); otherAddress.setLocality("San Francisco"); otherAddress.setRegion("CA"); otherAddress.setPostalCode("94103"); otherAddress.setCountry("USA"); contact.setOtherAddress(otherAddress); contact.setMailingAddressId(MailingAddressId.BUSINESS_ADDRESS); contact.setEmailAddress("info@compoze.com"); contact.setEmail2Address("support@compoze.com"); contact.setEmail3Address("webmaster@compoze.com"); contact.setBusinessTelephoneNumber("1.866.COMPOZE"); contact.setBusinessTelephoneNumber2("610.862.1104"); contact.setBusinessFaxNumber("610.862.1180"); contact.setOtherTelephoneNumber("415.247.9797"); contact.setOtherFaxNumber("415.247.0208"); contact.setBusinessHomePage("www.compoze.com"); contact.setEmployeeNumber("1234567890"); contact.setDepartment("Business development"); contact.setCompanyName("Compoze Software"); contact.setJobTitle("Senior Engineer"); contacts.add(contact);
Constructor Summary | |
Contact()
Constructor. |
|
Contact(Name name)
Constructor. |
Method Summary | |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
protected java.lang.String |
createFilename(int iIndex)
Composes the filename for this contact. |
java.lang.String |
getAccount()
Gets the account number for this contact. |
java.util.LinkedList |
getBccAddresses()
Gets the blind carbon copy (Bcc) addresses. |
java.lang.String |
getBccAddressesString()
Gets the string representation of a list of blind carbon copy (Bcc) addresses. |
com.compoze.util.mail.InternetAddress[] |
getBccRecipients()
Gets internet addresses of recipients set in the "Bcc" (blind carbon copy) field. |
java.lang.String |
getBillingInformation()
Gets the billing information. |
java.util.Date |
getBirthday()
Gets the birthday. |
Address |
getBusinessAddress()
Gets the business address. |
java.lang.String |
getBusinessAddressCity()
Gets the business address city of this contact. |
java.lang.String |
getBusinessAddressCountry()
Gets the business address country of this contact. |
java.lang.String |
getBusinessAddressPostalCode()
Gets the business address postal code of this contact. |
java.lang.String |
getBusinessAddressPostOfficeBox()
Gets the business address post office box of this contact. |
java.lang.String |
getBusinessAddressStateOrProvince()
Gets the business address state or province of this contact. |
java.lang.String |
getBusinessAddressStreet()
Gets the business address street of this contact. |
java.lang.String |
getBusinessFaxNumber()
Gets the work facsimile telephone number. |
java.lang.String |
getBusinessHomePage()
Gets the URL to the home page of this contact's business web site. |
java.lang.String |
getBusinessTelephoneNumber()
Gets the work telephone number. |
java.lang.String |
getBusinessTelephoneNumber2()
Gets the alternative work telephone number. |
java.lang.String |
getCallbackTelephoneNumber()
Gets the callback telephone number. |
java.util.LinkedList |
getCcAddresses()
Gets the carbon copy (Cc) addresses. |
java.lang.String |
getCcAddressesString()
Gets the string representation of a list of carbon copy (Cc) addresses. |
com.compoze.util.mail.InternetAddress[] |
getCcRecipients()
Gets internet addresses of recipients set in the "Cc" (carbon copy) field. |
java.lang.String[] |
getChildrensNames()
Gets the childrens (as in sons and daughters) names of this contact. |
java.lang.String |
getCommonName()
Gets the common name of this contact |
java.lang.String |
getCompanyName()
Gets the name of the organization or company. |
java.lang.String |
getComputerNetworkName()
Gets the computer network name. |
java.lang.String |
getCustomerId()
Gets the customer id. |
static java.util.List |
getDefaultProperties()
Gets a list of default properties pertaining to a contact. |
java.lang.String |
getDepartment()
Gets the name of the department this contact works for. |
java.lang.String |
getEmail2Address()
Gets the secondary e-mail address. |
java.lang.String |
getEmail3Address()
Gets the third e-mail address. |
java.lang.String |
getEmailAddress()
Gets the primary e-mail address of the contact. |
java.lang.String |
getEmailDisplayAs()
Gets the "Display Name" field for the primary Email address of a contact. |
java.lang.String |
getEmployeeNumber()
Gets the employee number. |
java.lang.String |
getFileAs()
Gets the format in which to display the contact information. |
FileAsId |
getFileAsId()
Gets how this contact information is displayed. |
com.compoze.util.mail.InternetAddress[] |
getFrom()
Gets internet addresses of whom this message was sent. |
java.util.LinkedList |
getFromAddresses()
Gets the addresses from whom the message was sent. |
java.lang.String |
getFromAddressesString()
Gets the string representation of a list of from whom the message was sent. |
java.lang.String |
getFtpSite()
Gets the URL to the FTP site. |
Gender |
getGender()
Gets the gender. |
java.lang.String |
getGivenName()
Gets the given name. |
java.lang.String |
getGovernmentId()
Gets the government identifier. |
java.lang.String |
getHobbies()
Gets the hobbies. |
Address |
getHomeAddress()
Gets the home address. |
java.lang.String |
getHomeAddressCity()
Gets the home address city of this contact. |
java.lang.String |
getHomeAddressCountry()
Gets the home address country of this contact. |
java.lang.String |
getHomeAddressPostalCode()
Gets the home address postal code of this contact. |
java.lang.String |
getHomeAddressPostOfficeBox()
Gets the home address post office box of this contact. |
java.lang.String |
getHomeAddressStateOrProvince()
Gets the home address state or province of this contact. |
java.lang.String |
getHomeAddressStreet()
Gets the home address street of this contact. |
java.lang.String |
getHomeFaxNumber()
Gets the home facsimile (fax) number. |
float |
getHomeLatitude()
Gets the latitude of the home of this contact. |
float |
getHomeLongitude()
Gets the longitude of the home of this contact. |
java.lang.String |
getHomeTelephoneNumber()
Gets the home phone telephone number. |
java.lang.String |
getHomeTelephoneNumber2()
Gets the alternative home telephone number. |
java.util.TimeZone |
getHomeTimeZone()
Gets the home time zone. |
java.lang.String |
getInitials()
Gets the initials. |
java.lang.String |
getIsdnNumber()
Gets the Integrated Services Digital Network (ISDN) number. |
java.lang.String |
getJobTitle()
Gets the work title or job position of this contact. |
java.lang.String |
getLanguage()
Gets the language, in ISO639 format, of this contact. |
java.lang.String |
getLocation()
Gets the location. |
Address |
getMailingAddress()
Gets the current mailing address. |
MailingAddressId |
getMailingAddressId()
Gets the mailing address identifier of the address (home, business, other). |
java.lang.String |
getManagerName()
Gets the name of the manager this contact work under. |
MemberInfo[] |
getMemberInfo()
Returns the distribution list members |
java.lang.String |
getMiddleName()
Gets the middle name. |
java.lang.String |
getMileage()
Gets the mileage. |
java.lang.String |
getMobileTelephoneNumber()
Gets the mobile telephone number. |
Name |
getName()
|
java.lang.String |
getNameSuffix()
Gets the name suffix. |
java.lang.String |
getNickname()
Gets the nickname. |
java.lang.String |
getOrganizationMainPhone()
Gets the main telephone number for the company this contact works for. |
Address |
getOtherAddress()
Gets the other address. |
java.lang.String |
getOtherAddressCity()
Gets the other address city of this contact. |
java.lang.String |
getOtherAddressCountry()
Gets the other address country of this contact. |
java.lang.String |
getOtherAddressPostalCode()
Gets the other address postal code of this contact. |
java.lang.String |
getOtherAddressPostOfficeBox()
Gets the other address post office box of this contact. |
java.lang.String |
getOtherAddressStateOrProvince()
Gets the other address state or province of this contact. |
java.lang.String |
getOtherAddressStreet()
Gets the other address street of this contact. |
java.lang.String |
getOtherFaxNumber()
Gets the alternative work FAX number. |
java.lang.String |
getOtherMobileTelephoneNumber()
Gets the alternative mobile telephone number. |
java.lang.String |
getOtherPagerTelephoneNumber()
Gets the alternative pager telephone number. |
java.lang.String |
getOtherTelephoneNumber()
Gets the alternative work telephone number. |
java.util.TimeZone |
getOtherTimeZone()
Gets the alternative work time zone. |
java.lang.String |
getPagerTelephoneNumber()
Gets pager telephone number. |
java.lang.String |
getPersonalHomePage()
Gets the URL of the personal home page. |
java.lang.String |
getPersonalTitle()
Gets the personal title. |
java.lang.String |
getPrimaryOfficeTelephoneNumber()
Gets the primary office telephone number. |
java.lang.String |
getProfession()
Gets the profession of this contact. |
static java.util.List |
getProperties()
Gets a list of properties pertaining to a contact. |
java.lang.String |
getReferredBy()
Gets the name of the person referred by. |
java.lang.String |
getRoomNumber()
Gets the room number. |
java.lang.String |
getSecondaryOfficeTelephoneNumber()
Gets the secondary office telephone number. |
java.lang.String |
getSecretaryName()
Gets the name of the secretary. |
java.lang.String |
getSecretaryTelephoneNumber()
Gets the secretary's telephone number. |
java.lang.String |
getSpouseName()
Gets the name of this contact's spouse. |
java.lang.String |
getSurname()
Gets the surnname. |
java.lang.String |
getTelexNumber()
Gets the work telex number. |
java.util.LinkedList |
getToAddresses()
Gets the principal (To) addresses. |
java.lang.String |
getToAddressesString()
Gets the string representation of a list of principal (To) addresses. |
com.compoze.util.mail.InternetAddress[] |
getToRecipients()
Gets internet addresses of recipients set in the "To" (principal) field. |
java.lang.String |
getTTYTDDNumber()
Gets the ttytdd phone number. |
java.lang.String |
getUserField1()
Gets the user field 1. |
java.lang.String |
getUserField2()
Gets the user field 2. |
java.lang.String |
getUserField3()
Gets the user field 3. |
java.lang.String |
getUserField4()
Gets the user field 4. |
java.util.Date |
getWeddingAnniversary()
Gets wedding anniversary. |
boolean |
isDistributionList()
|
void |
setAccount(java.lang.String sAccount)
Sets the account number for this contact. |
void |
setBccAddresses(java.util.List addresses)
Sets the blind carbon copy (Bcc) addresses. |
void |
setBccRecipients(com.compoze.util.mail.InternetAddress[] addressList)
Sets "Bcc" (blind carbon copy) field with recipient's internet addresses. |
void |
setBccRecipients(java.lang.String sAddressList)
Sets "Bcc" (blind carbon copy) field with sequence of recipient's internet addresses. |
void |
setBillingInformation(java.lang.String sBillingInformation)
Sets the billing information. |
void |
setBirthday(java.util.Date birthday)
Sets the birthday. |
void |
setBusinessAddress(Address address)
Sets the business address. |
void |
setBusinessAddressCity(java.lang.String sLocality)
Gets the business address city of this contact. |
void |
setBusinessAddressCountry(java.lang.String sCountry)
Gets the business address country of this contact. |
void |
setBusinessAddressPostalCode(java.lang.String sPostalCode)
Gets the business address postal code of this contact. |
void |
setBusinessAddressPostOfficeBox(java.lang.String sPostOfficeBox)
Gets the business address post office box of this contact. |
void |
setBusinessAddressStateOrProvince(java.lang.String sStateOrProvince)
Gets the business address state or province of this contact. |
void |
setBusinessAddressStreet(java.lang.String sStreet)
Gets the business address street of this contact. |
void |
setBusinessFaxNumber(java.lang.String sBusinessFax)
Sets the work facsimile telephone number. |
void |
setBusinessHomePage(java.lang.String sBusinessHomePage)
Sets the URL of the home page of this contact's business Web site. |
void |
setBusinessHomePage(java.net.URL businessHomePage)
Sets the URL of the home page of this contact's business Web site. |
void |
setBusinessTelephoneNumber(java.lang.String sBusinessPhone)
Sets the work telephone number. |
void |
setBusinessTelephoneNumber2(java.lang.String sBusinessPhone)
Sets the alternative work telephone number. |
void |
setCallbackTelephoneNumber(java.lang.String sCallbackPhone)
Sets the callback telephone number. |
void |
setCcAddresses(java.util.List addresses)
Sets the carbon copy (Cc) addresses. |
void |
setCcRecipients(com.compoze.util.mail.InternetAddress[] addressesList)
Sets "Cc" (carbon copy) field with recipient's internet addresses. |
void |
setCcRecipients(java.lang.String sAddressList)
Sets "Cc" (carbon copy) field with sequence of recipient's internet addresses. |
void |
setChildrensNames(java.lang.String[] childrensNames)
Sets the childrens (as in sons and daughters) names of this contact. |
void |
setCommonName(java.lang.String sCommonName)
Sets the common name of a contact. |
void |
setCompanyName(java.lang.String sCompanyName)
Sets the name of the organization or company. |
void |
setComputerNetworkName(java.lang.String sComputerNetworkName)
Sets the computer network name. |
void |
setCustomerId(java.lang.String sCustomerId)
Sets the customer id. |
void |
setDepartment(java.lang.String sDepartment)
Sets the name of the department this contact works for. |
void |
setEmail2Address(java.lang.String sEmail)
Sets the secondary e-mail address. |
void |
setEmail3Address(java.lang.String sEmail)
Sets the third e-mail address. |
void |
setEmailAddress(java.lang.String sEmail)
Sets the primary e-mail address. |
void |
setEmailDisplayAs(java.lang.String sEmailDisplayAs)
Sets the "Display Name" field for the primary Email address of a contact. |
void |
setEmployeeNumber(java.lang.String sEmployeeNumber)
Sets the employee number. |
void |
setFileAs(java.lang.String sFileAs)
Sets the format in which to display the contact information. |
void |
setFileAsId(FileAsId fileAsId)
Sets how this contact information is displayed. |
void |
setFrom(com.compoze.util.mail.InternetAddress[] addressesList)
Sets "From" field with internet addresses of whom this message was sent. |
void |
setFrom(java.lang.String sAddressList)
Sets "From" field with sequence of internet addresses of whom this message was sent. |
void |
setFromAddress(java.lang.String sFromAddress)
Sets the address from whom the message was sent. |
void |
setFromAddresses(java.util.List addresses)
Sets the addresses from whom the message was sent. |
void |
setFtpSite(java.lang.String sFtpSite)
Sets the URL to the FTP site. |
void |
setFtpSite(java.net.URL ftpSite)
Sets the URL to the FTP site. |
void |
setGender(Gender gender)
Sets the gender. |
void |
setGivenName(java.lang.String sGivenName)
Sets the given name. |
void |
setGovernmentId(java.lang.String sGovernmentId)
Sets the government identifier. |
void |
setHobbies(java.lang.String sHobbies)
Sets the hobbies. |
void |
setHomeAddress(Address address)
Sets the home address. |
void |
setHomeAddressCity(java.lang.String sLocality)
Gets the home address city of this contact. |
void |
setHomeAddressCountry(java.lang.String sCountry)
Gets the home address country of this contact. |
void |
setHomeAddressPostalCode(java.lang.String sPostalCode)
Gets the home address postal code of this contact. |
void |
setHomeAddressPostOfficeBox(java.lang.String sPostOfficeBox)
Gets the home address post office box of this contact. |
void |
setHomeAddressStateOrProvince(java.lang.String sStateOrProvince)
Gets the home address state or province of this contact. |
void |
setHomeAddressStreet(java.lang.String sStreet)
Gets the home address street of this contact. |
void |
setHomeFaxNumber(java.lang.String sHomeFax)
Sets the home facsimile (fax) number. |
void |
setHomeLatitude(float fLatitude)
Sets the latitude of the home of this contact. |
void |
setHomeLongitude(float fLongitude)
Sets the longitude of the home of this contact. |
void |
setHomeTelephoneNumber(java.lang.String sHomePhone)
Sets the home telephone number. |
void |
setHomeTelephoneNumber2(java.lang.String sHomePhone)
Sets the alternative home telephone number. |
void |
setHomeTimeZone(java.util.TimeZone homeTimeZone)
Sets the home time zone. |
void |
setInitials(java.lang.String sInitials)
Sets the initials. |
void |
setIsdnNumber(java.lang.String sIsdn)
Sets the Integrated Services Digital Network (ISDN) number. |
void |
setJobTitle(java.lang.String sTitle)
Sets the work title or job position of this contact. |
void |
setLanguage(java.lang.String sLanguage)
Sets the language, in ISO639 format, of this contact. |
void |
setLocation(java.lang.String sLocation)
Sets the location. |
void |
setMailingAddressId(MailingAddressId mailAddressId)
Sets the mailing address identifier of the address (home, business, other). |
void |
setManagerName(java.lang.String sManagerName)
Sets the name of the manager this contact works under. |
void |
setMiddleName(java.lang.String sMiddleName)
Sets the middle name. |
void |
setMileage(java.lang.String sMileage)
Sets the mileage. |
void |
setMobileTelephoneNumber(java.lang.String sMobile)
Sets the mobile telephone number. |
void |
setName(Name name)
Sets the formal name. |
void |
setNameSuffix(java.lang.String sNameSuffix)
Sets the name suffix. |
void |
setNickname(java.lang.String sNickname)
Sets the nickname. |
void |
setOrganizationMainPhone(java.lang.String sOrganizationMainPhone)
Sets the main telephone number for the company this contact works for. |
void |
setOtherAddress(Address address)
Sets the other address. |
void |
setOtherAddressCity(java.lang.String sLocality)
Gets the other address city of this contact. |
void |
setOtherAddressCountry(java.lang.String sCountry)
Gets the other address country of this contact. |
void |
setOtherAddressPostalCode(java.lang.String sPostalCode)
Gets the other address postal code of this contact. |
void |
setOtherAddressPostOfficeBox(java.lang.String sPostOfficeBox)
Gets the other address post office box of this contact. |
void |
setOtherAddressStateOrProvince(java.lang.String sStateOrProvince)
Gets the other address state or province of this contact. |
void |
setOtherAddressStreet(java.lang.String sStreet)
Gets the other address street of this contact. |
void |
setOtherFaxNumber(java.lang.String sOtherFax)
Sets the alternative work FAX number. |
void |
setOtherMobileTelephoneNumber(java.lang.String sOtherMobile)
Sets the alternative mobile telephone number. |
void |
setOtherPagerTelephoneNumber(java.lang.String sOtherPager)
Gets the alternative pager telephone number. |
void |
setOtherTelephoneNumber(java.lang.String sOtherPhone)
Sets the alternative work telephone. |
void |
setOtherTimeZone(java.util.TimeZone otherTimeZone)
Sets the alternative work time zone. |
void |
setPagerTelephoneNumber(java.lang.String sPager)
Sets pager telephone number. |
void |
setPersonalHomePage(java.lang.String sPersonalHomePage)
Sets the URL of the personal home page. |
void |
setPersonalHomePage(java.net.URL personalHomePage)
Sets the URL of the personal home page. |
void |
setPersonalTitle(java.lang.String sPersonalTitle)
Sets the personal title. |
void |
setPrimaryOfficeTelephoneNumber(java.lang.String sOfficeTelephoneNumber)
Sets the primary office telephone number. |
void |
setProfession(java.lang.String sProfession)
Sets the profession of this contact. |
void |
setReferredBy(java.lang.String sReferredBy)
Sets the name of the person referred by. |
void |
setRoomNumber(java.lang.String sRoomNumber)
Sets the room number. |
void |
setSecondaryOfficeTelephoneNumber(java.lang.String sOfficeTelephoneNumber)
Sets the secondary office telephone number. |
void |
setSecretaryName(java.lang.String sName)
Sets the name of the secretary |
void |
setSecretaryTelephoneNumber(java.lang.String sSecretaryPhone)
Sets the secretary's telephone number. |
void |
setSpouseName(java.lang.String sSpouseName)
Sets the name of this contact's spouse. |
void |
setSurname(java.lang.String sSurname)
Sets the surname. |
void |
setTelexNumber(java.lang.String sTelexNumber)
Sets the work telex number. |
void |
setToAddresses(java.util.List addresses)
Sets the principal (To) addresses. |
void |
setToRecipients(com.compoze.util.mail.InternetAddress[] addressList)
Sets "To" (principal) field with recipient's internet addresses. |
void |
setToRecipients(java.lang.String sAddressList)
Sets "To" (principal) field with sequence of recipient's internet addresses. |
void |
setTTYTDDNumber(java.lang.String sTTYTTDNumber)
Sets the ttytdd phone number. |
void |
setUserField1(java.lang.String sField)
Sets the user field 1. |
void |
setUserField2(java.lang.String sField)
Sets the user field 2. |
void |
setUserField3(java.lang.String sField)
Sets the user field 3. |
void |
setUserField4(java.lang.String sField)
Sets the user field 4. |
void |
setWeddingAnniversary(java.util.Date anniversary)
Sets wedding anniversary. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class com.compoze.exchange.webdav.AbstractMessage |
addAttachment, equals, getAttachments, getBody, getCategories, getContactNames, getDateReceived, getFromEmailAddress, getFromName, getImportance, getNormalizedSubject, getSensitivity, getSize, getSubject, getTextDescription, getType, hasAttachment, isRead, serverDeleteAttachment, serverGetAttachments, serverUpdate, setBody, setCategories, setCategories, setContactNames, setContactNames, setDateReceived, setImportance, setRead, setSensitivity, setSubject, setTextDescription, setType |
Methods inherited from class com.compoze.exchange.webdav.AbstractItem |
copy, copy, copy, createFilename, delete, equals, getComment, getContentClass, getCreationDate, getDateLastModified, getDisplayName, getFile, getHRef, getID, getParentFolder, getPermanentURL, getUID, isFolder, isHidden, isReadOnly, isRoot, move, move, move, serverCopyTo, serverCopyTo, serverCopyTo, serverCopyTo, serverDelete, serverGetParentFolder, serverMoveTo, serverMoveTo, serverMoveTo, serverMoveTo, serverUpdate, setComment, setContentClass, setContentClass, setHidden, setReadOnly, setReleased, setType, setUID, update, update, validate |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Contact()
public Contact(Name name)
name
- formal name of contact (may not be null
or
emptyMethod Detail |
public Name getName()
public void setName(Name name)
name
- the formal nameExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.GIVEN_NAME
,
ContactsProperty.SURNAME
,
ContactsProperty.MIDDLE_NAME
,
ContactsProperty.PERSONAL_TITLE
,
ContactsProperty.SUFFIX
,
ContactsProperty.NICKNAME
public java.lang.String getGivenName()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INITIALS
public void setGivenName(java.lang.String sGivenName)
sGivenName
- the given nameExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INITIALS
public java.lang.String getSurname()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INITIALS
public void setSurname(java.lang.String sSurname)
sSurname
- the surnameExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INITIALS
public java.lang.String getMiddleName()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INITIALS
public void setMiddleName(java.lang.String sMiddleName)
sSurname
- the middle nameExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INITIALS
public java.lang.String getPersonalTitle()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INITIALS
public void setPersonalTitle(java.lang.String sPersonalTitle)
sSurname
- the personal titleExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INITIALS
public java.lang.String getNameSuffix()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INITIALS
public void setNameSuffix(java.lang.String sNameSuffix)
sSurname
- the name suffixExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INITIALS
public java.lang.String getNickname()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INITIALS
public void setNickname(java.lang.String sNickname)
sNickname
- the nicknameExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INITIALS
public java.lang.String getInitials()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INITIALS
public void setInitials(java.lang.String sInitials)
sInitials
- the initialsExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INITIALS
public java.lang.String getCompanyName()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.ORGANIZATION
public void setCompanyName(java.lang.String sCompanyName)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.ORGANIZATION
public Address getBusinessAddress()
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_STREET
,
ContactsProperty.WORK_PO_BOX
,
ContactsProperty.WORK_LOCALITY
,
ContactsProperty.WORK_REGION
,
ContactsProperty.WORK_POSTAL_CODE
,
ContactsProperty.WORK_COUNTRY
public void setBusinessAddress(Address address)
address
- the business addressExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_STREET
,
ContactsProperty.WORK_PO_BOX
,
ContactsProperty.WORK_LOCALITY
,
ContactsProperty.WORK_REGION
,
ContactsProperty.WORK_POSTAL_CODE
,
ContactsProperty.WORK_COUNTRY
public java.lang.String getBusinessAddressStreet()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_STREET
public void setBusinessAddressStreet(java.lang.String sStreet)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_STREET
public java.lang.String getBusinessAddressPostOfficeBox()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_PO_BOX
public void setBusinessAddressPostOfficeBox(java.lang.String sPostOfficeBox)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_PO_BOX
public java.lang.String getBusinessAddressCity()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_LOCALITY
public void setBusinessAddressCity(java.lang.String sLocality)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_LOCALITY
public java.lang.String getBusinessAddressStateOrProvince()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_REGION
public void setBusinessAddressStateOrProvince(java.lang.String sStateOrProvince)
sStateOrProvince
- the business address state or provinceExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_REGION
public java.lang.String getBusinessAddressPostalCode()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_POSTAL_CODE
public void setBusinessAddressPostalCode(java.lang.String sPostalCode)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_POSTAL_CODE
public java.lang.String getBusinessAddressCountry()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_COUNTRY
public void setBusinessAddressCountry(java.lang.String sCountry)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_COUNTRY
public Address getHomeAddress()
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_STREET
,
ContactsProperty.HOME_PO_BOX
,
ContactsProperty.HOME_LOCALITY
,
ContactsProperty.HOME_REGION
,
ContactsProperty.HOME_POSTAL_CODE
,
ContactsProperty.HOME_COUNTRY
public void setHomeAddress(Address address)
address
- the home addressExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_STREET
,
ContactsProperty.HOME_PO_BOX
,
ContactsProperty.HOME_LOCALITY
,
ContactsProperty.HOME_REGION
,
ContactsProperty.HOME_POSTAL_CODE
,
ContactsProperty.HOME_COUNTRY
public java.lang.String getHomeAddressStreet()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_STREET
public void setHomeAddressStreet(java.lang.String sStreet)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_STREET
public java.lang.String getHomeAddressPostOfficeBox()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_PO_BOX
public void setHomeAddressPostOfficeBox(java.lang.String sPostOfficeBox)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_PO_BOX
public java.lang.String getHomeAddressCity()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_LOCALITY
public void setHomeAddressCity(java.lang.String sLocality)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_LOCALITY
public java.lang.String getHomeAddressStateOrProvince()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_REGION
public void setHomeAddressStateOrProvince(java.lang.String sStateOrProvince)
sStateOrProvince
- the home address state or provinceExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_REGION
public java.lang.String getHomeAddressPostalCode()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_POSTAL_CODE
public void setHomeAddressPostalCode(java.lang.String sPostalCode)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_POSTAL_CODE
public java.lang.String getHomeAddressCountry()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_COUNTRY
public void setHomeAddressCountry(java.lang.String sCountry)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_COUNTRY
public Address getOtherAddress()
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_STREET
,
ContactsProperty.OTHER_PO_BOX
,
ContactsProperty.OTHER_LOCALITY
,
ContactsProperty.OTHER_REGION
,
ContactsProperty.OTHER_POSTAL_CODE
,
ContactsProperty.OTHER_COUNTRY
public void setOtherAddress(Address address)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_STREET
,
ContactsProperty.OTHER_PO_BOX
,
ContactsProperty.OTHER_LOCALITY
,
ContactsProperty.OTHER_REGION
,
ContactsProperty.OTHER_POSTAL_CODE
,
ContactsProperty.OTHER_COUNTRY
public java.lang.String getOtherAddressStreet()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_STREET
public void setOtherAddressStreet(java.lang.String sStreet)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_STREET
public java.lang.String getOtherAddressPostOfficeBox()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_PO_BOX
public void setOtherAddressPostOfficeBox(java.lang.String sPostOfficeBox)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_PO_BOX
public java.lang.String getOtherAddressCity()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_LOCALITY
public void setOtherAddressCity(java.lang.String sLocality)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_LOCALITY
public java.lang.String getOtherAddressStateOrProvince()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_REGION
public void setOtherAddressStateOrProvince(java.lang.String sStateOrProvince)
sStateOrProvince
- the other address state or provinceExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_REGION
public java.lang.String getOtherAddressPostalCode()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_POSTAL_CODE
public void setOtherAddressPostalCode(java.lang.String sPostalCode)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_POSTAL_CODE
public java.lang.String getOtherAddressCountry()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_COUNTRY
public void setOtherAddressCountry(java.lang.String sCountry)
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_COUNTRY
public void setMailingAddressId(MailingAddressId mailAddressId)
MailingAddressId.BUSINESS_ADDRESS
is
used as the default value.mailAddressId
- the mailing address identifierExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.MAILING_ADDRESS_ID
public MailingAddressId getMailingAddressId()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.MAILING_ADDRESS_ID
public Address getMailingAddress()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedpublic java.lang.String getBusinessFaxNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_FAX_NUMBER
public void setBusinessFaxNumber(java.lang.String sBusinessFax)
sBusinessFax
- the business fax numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_FAX_NUMBER
public java.lang.String getBusinessTelephoneNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_TELEPHONE_NUMBER
public void setBusinessTelephoneNumber(java.lang.String sBusinessPhone)
sBusinessPhone
- the work numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WORK_TELEPHONE_NUMBER
public java.lang.String getCallbackTelephoneNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.CALLBACK_PHONE
public void setCallbackTelephoneNumber(java.lang.String sCallbackPhone)
sCallbackPhone
- the callback numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.CALLBACK_PHONE
public java.lang.String getBusinessTelephoneNumber2()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.ALTERNATIVE_WORK_TELEPHONE_NUMBER
public void setBusinessTelephoneNumber2(java.lang.String sBusinessPhone)
sBusinessPhone
- the alternative work numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.ALTERNATIVE_WORK_TELEPHONE_NUMBER
public java.lang.String getHomeTelephoneNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_PHONE
public void setHomeTelephoneNumber(java.lang.String sHomePhone)
sHomePhone
- the home numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_PHONE
public java.lang.String getHomeTelephoneNumber2()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_PHONE2
public void setHomeTelephoneNumber2(java.lang.String sHomePhone)
sHomePhone
- the alternative home numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_PHONE2
public java.lang.String getHomeFaxNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_FAX_NUMBER
public void setHomeFaxNumber(java.lang.String sHomeFax)
sHomeFax
- the home fax numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_FAX_NUMBER
public java.lang.String getMobileTelephoneNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.MOBILE_NUMBER
public void setMobileTelephoneNumber(java.lang.String sMobile)
sMobile
- the mobile numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.MOBILE_NUMBER
public java.lang.String getPagerTelephoneNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.PAGER_NUMBER
public void setPagerTelephoneNumber(java.lang.String sPager)
sPager
- the pager numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.PAGER_NUMBER
public java.lang.String getPrimaryOfficeTelephoneNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.PRIMARY_OFFICE_NUMBER
public void setPrimaryOfficeTelephoneNumber(java.lang.String sOfficeTelephoneNumber)
sOfficeTelephoneNumber
- the primary office numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.PRIMARY_OFFICE_NUMBER
public java.lang.String getSecondaryOfficeTelephoneNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.SECONDARY_OFFICE_NUMBER
public void setSecondaryOfficeTelephoneNumber(java.lang.String sOfficeTelephoneNumber)
sOfficeTelephoneNumber
- the secondary office numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.SECONDARY_OFFICE_NUMBER
public java.lang.String getOtherFaxNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_FAX_NUMBER
public void setOtherFaxNumber(java.lang.String sOtherFax)
sOtherFax
- the alternative fax numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_FAX_NUMBER
public java.lang.String getOtherMobileTelephoneNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_MOBILE_NUMBER
public void setOtherMobileTelephoneNumber(java.lang.String sOtherMobile)
sOtherMobile
- the alternative mobile numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_MOBILE_NUMBER
public java.lang.String getOtherPagerTelephoneNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_PAGER_NUMBER
public void setOtherPagerTelephoneNumber(java.lang.String sOtherPager)
sOtherPager
- the alternative pager numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_PAGER_NUMBER
public java.lang.String getOtherTelephoneNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_PHONE_NUMBER
public void setOtherTelephoneNumber(java.lang.String sOtherPhone)
sOtherPhone
- the alternative work numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_PHONE_NUMBER
public java.lang.String getTelexNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.TELEX_NUMBER
public void setTelexNumber(java.lang.String sTelexNumber)
sTelexNumber
- the work telex numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.TELEX_NUMBER
public java.lang.String getTTYTDDNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.TTYTTD_PHONE
public void setTTYTDDNumber(java.lang.String sTTYTTDNumber)
sTTYTTDNumber
- the ttyttd numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.TTYTTD_PHONE
public java.lang.String getIsdnNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INTERNATIONAL_ISDN_NUMBER
public void setIsdnNumber(java.lang.String sIsdn)
sISDN
- the ISDN numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.INTERNATIONAL_ISDN_NUMBER
public java.lang.String getEmailAddress()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.EMAIL1
public void setEmailAddress(java.lang.String sEmail)
sEmail
- the primary e-mail addressExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.EMAIL1
public java.lang.String getEmailDisplayAs()
public void setEmailDisplayAs(java.lang.String sEmailDisplayAs)
sEmailDisplayAs
- the name to use.public java.lang.String getEmail2Address()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.EMAIL2
public void setEmail2Address(java.lang.String sEmail)
sEmail
- the secondary e-mail addressExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.EMAIL2
public java.lang.String getEmail3Address()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.EMAIL3
public void setEmail3Address(java.lang.String sEmail)
sEmail
- the third e-mail addressExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.EMAIL3
public java.lang.String getBusinessHomePage()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.BUSINESS_HOMEPAGE
public void setBusinessHomePage(java.net.URL businessHomePage)
businessHomePage
- the URL to the business home pageExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.BUSINESS_HOMEPAGE
public void setBusinessHomePage(java.lang.String sBusinessHomePage)
sbusinessHomePage
- the URL to the business home pageExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.BUSINESS_HOMEPAGE
public java.lang.String getComputerNetworkName()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.COMPUTER_NETWORK_NAME
public void setComputerNetworkName(java.lang.String sComputerNetworkName)
sComputerNetworkName
- the computer network nameExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.COMPUTER_NETWORK_NAME
public java.lang.String getDepartment()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.DEPARTMENT
public void setDepartment(java.lang.String sDepartment)
sDepartment
- the departmentExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.DEPARTMENT
public java.lang.String getEmployeeNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.EMPLOYEE_NUMBER
public void setEmployeeNumber(java.lang.String sEmployeeNumber)
sEmployeeNumber
- the employee numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.EMPLOYEE_NUMBER
public java.lang.String getManagerName()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.MANAGER
public void setManagerName(java.lang.String sManagerName)
sManagerName
- the manager nameExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.MANAGER
public java.lang.String getOrganizationMainPhone()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.ORGANIZATION_MAIN_PHONE
public void setOrganizationMainPhone(java.lang.String sOrganizationMainPhone)
sOrganizationMainPhone
- the main organization phoneExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.ORGANIZATION_MAIN_PHONE
public java.lang.String getJobTitle()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.JOB_TITLE
public void setJobTitle(java.lang.String sTitle)
sTitle
- the work title or job positionExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.JOB_TITLE
public java.lang.String getProfession()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.PROFESSION
public void setProfession(java.lang.String sProfession)
sProfession
- the professionExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.PROFESSION
public java.lang.String getRoomNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.ROOM_NUMBER
public void setRoomNumber(java.lang.String sRoomNumber)
sRoomNumber
- the room numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.ROOM_NUMBER
public Gender getGender()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.GENDER
public void setGender(Gender gender)
Gender.UNSPECIFIED
is
used as the default value.gender
- the genderExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.GENDER
public java.lang.String getSpouseName()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.SPOUSE_NAME
public void setSpouseName(java.lang.String sSpouseName)
sSpouseName
- the name of the spouseExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.SPOUSE_NAME
public java.util.Date getWeddingAnniversary()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WEDDING_ANNIVERSARY
public void setWeddingAnniversary(java.util.Date anniversary)
anniversary
- the wedding anniversary dateExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.WEDDING_ANNIVERSARY
public java.util.Date getBirthday()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.BIRTHDAY
public void setBirthday(java.util.Date birthday)
birthday
- the birthday dateExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.BIRTHDAY
public java.lang.String getPersonalHomePage()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.PERSONAL_HOMEPAGE
public void setPersonalHomePage(java.net.URL personalHomePage)
personalHomePage
- the URL to the personal web pageExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.PERSONAL_HOMEPAGE
public void setPersonalHomePage(java.lang.String sPersonalHomePage)
personalHomePage
- the URL to the personal web pageExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.PERSONAL_HOMEPAGE
public java.lang.String getAccount()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.ACCOUNT
public void setAccount(java.lang.String sAccount)
sAccount
- the account numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.ACCOUNT
public java.lang.String getBillingInformation()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.BILLING_INFORMATION
public void setBillingInformation(java.lang.String sBillingInformation)
sBillingInformation
- the billing informationExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.BILLING_INFORMATION
public java.lang.String getCustomerId()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.CUSTOMER_ID
public void setCustomerId(java.lang.String sCustomerId)
sCustomerId
- the customer idExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.CUSTOMER_ID
public java.lang.String getGovernmentId()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.GOVERNMENT_ID
public void setGovernmentId(java.lang.String sGovernmentId)
sGovernmentId
- the government identifierExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.GOVERNMENT_ID
public java.lang.String getFtpSite()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.FTP_SITE
public void setFtpSite(java.net.URL ftpSite)
ftpSet
- the URL to the FTP siteExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.FTP_SITE
public void setFtpSite(java.lang.String sFtpSite)
sFtpSite
- the URL to the FTP siteExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.FTP_SITE
public java.lang.String getLocation()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.LOCATION
public void setLocation(java.lang.String sLocation)
sLocation
- the locationExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.LOCATION
public java.lang.String getSecretaryName()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.SECRETARY_NAME
public void setSecretaryName(java.lang.String sName)
sName
- the secretary's nameExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.SECRETARY_NAME
public java.lang.String getSecretaryTelephoneNumber()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.SECRETARY_PHONE
public void setSecretaryTelephoneNumber(java.lang.String sSecretaryPhone)
sSecretaryPhone
- the secretary's phone numberExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.SECRETARY_PHONE
public java.lang.String getReferredBy()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.REFERRED_BY
public void setReferredBy(java.lang.String sReferredBy)
sReferredBy
- the name of person this contact is referred byExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.REFERRED_BY
public java.lang.String getHobbies()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOBBIES
public void setHobbies(java.lang.String sHobbies)
sHobbies
- string listing of the hobbiesExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOBBIES
public java.util.TimeZone getOtherTimeZone()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_TIMEZONE
public void setOtherTimeZone(java.util.TimeZone otherTimeZone)
otherTimeZone
- the alternative worktime zoneExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.OTHER_TIMEZONE
public java.util.TimeZone getHomeTimeZone()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_TIMEZONE
public void setHomeTimeZone(java.util.TimeZone homeTimeZone)
homeTimeZone
- the home time zoneExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_TIMEZONE
public java.lang.String getLanguage()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.LANGUAGE
public void setLanguage(java.lang.String sLanguage)
sLanguage
- the languageExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.LANGUAGE
public float getHomeLatitude()
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_LATITUDE
public void setHomeLatitude(float fLatitude)
fLatitude
- the home latitudeExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_LATITUDE
public float getHomeLongitude()
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_LONGITUDE
public void setHomeLongitude(float fLongitude)
fLongitude
- the home longitudeExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.HOME_LONGITUDE
public FileAsId getFileAsId()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.FILEAS_ID
public void setFileAsId(FileAsId fileAsId)
FileAsId.MAP_TO_LASTFIRST
is used as the default value.fileAsId
- fileas id mappingExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.FILEAS_ID
public java.lang.String getFileAs()
FileAsID
set to MAP_TO_NONE
.null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.FILEAS
public void setFileAs(java.lang.String sFileAs)
FileAsID
set to MAP_TO_NONE
.sFileas
- the display formatExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.FILEAS
public java.lang.String[] getChildrensNames()
ExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.CHILDRENS_NAMES
public void setChildrensNames(java.lang.String[] childrensNames)
childrensNames
- collection of childrens namesExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.CHILDRENS_NAMES
public java.lang.String getUserField1()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE1
public void setUserField1(java.lang.String sField)
sField
- the first user fieldExchangeRuntimeException
- if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE1
public java.lang.String getUserField2()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE2
public void setUserField2(java.lang.String sField)
sField
- the second user fieldExchangeRuntimeException
- if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE2
public java.lang.String getUserField3()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE3
public void setUserField3(java.lang.String sField)
sField
- the third user fieldExchangeRuntimeException
- if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE3
public java.lang.String getUserField4()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE4
public void setUserField4(java.lang.String sField)
sField
- the fourth user fieldExchangeRuntimeException
- if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE4
public java.lang.String getMileage()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedExchangeProperty.MILEAGE
public void setMileage(java.lang.String sMileage)
sMileage
- the mileageExchangeRuntimeException
- if this object has been released and can
no longer be usedExchangeProperty.MILEAGE
public java.lang.String getFromAddressesString()
AbstractMessage
getFromAddressesString
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public java.util.LinkedList getFromAddresses()
AbstractMessage
getFromAddresses
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public void setFromAddress(java.lang.String sFromAddress)
AbstractMessage
setFromAddress
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public void setFromAddresses(java.util.List addresses)
AbstractMessage
setFromAddresses
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public com.compoze.util.mail.InternetAddress[] getFrom() throws com.compoze.util.mail.AddressException
getFrom
in class AbstractMessage
InternetAddress
objects; or null
if not setcom.compoze.util.mail.AddressException
- if parsing of internet addresses failUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.FROM
public void setFrom(java.lang.String sAddressList) throws com.compoze.util.mail.AddressException
setFrom
in class AbstractMessage
sAddressList
- sequence of internet addressescom.compoze.util.mail.AddressException
- if parsing of internet addresses failUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.FROM
public void setFrom(com.compoze.util.mail.InternetAddress[] addressesList)
setFrom
in class AbstractMessage
addressesList
- array of InternetAddress
objectsUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.FROM
public java.lang.String getToAddressesString()
AbstractMessage
getToAddressesString
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public java.util.LinkedList getToAddresses()
AbstractMessage
getToAddresses
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public void setToAddresses(java.util.List addresses)
AbstractMessage
setToAddresses
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public com.compoze.util.mail.InternetAddress[] getToRecipients() throws com.compoze.util.mail.AddressException
getToRecipients
in class AbstractMessage
InternetAddress
objects; or null
if not setcom.compoze.util.mail.AddressException
- if parsing of internet addresses failUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.TO
public void setToRecipients(java.lang.String sAddressList) throws com.compoze.util.mail.AddressException
setToRecipients
in class AbstractMessage
sAddressList
- sequence of internet addressescom.compoze.util.mail.AddressException
- if parsing of internet addresses failUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.TO
public void setToRecipients(com.compoze.util.mail.InternetAddress[] addressList)
setToRecipients
in class AbstractMessage
addressList
- array of InternetAddress
objectsUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.TO
public java.lang.String getCcAddressesString()
AbstractMessage
getCcAddressesString
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public java.util.LinkedList getCcAddresses()
AbstractMessage
getCcAddresses
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public void setCcAddresses(java.util.List addresses)
AbstractMessage
setCcAddresses
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public com.compoze.util.mail.InternetAddress[] getCcRecipients() throws com.compoze.util.mail.AddressException
getCcRecipients
in class AbstractMessage
InternetAddress
objects; or null
if not setcom.compoze.util.mail.AddressException
- if parsing of internet addresses failUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.CC
public void setCcRecipients(java.lang.String sAddressList) throws com.compoze.util.mail.AddressException
setCcRecipients
in class AbstractMessage
sAddressList
- sequence of internet addressescom.compoze.util.mail.AddressException
- if parsing of internet addresses failUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.CC
public void setCcRecipients(com.compoze.util.mail.InternetAddress[] addressesList)
setCcRecipients
in class AbstractMessage
addressesList
- array of InternetAddress
objectsUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.CC
public java.lang.String getBccAddressesString()
AbstractMessage
getBccAddressesString
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public java.util.LinkedList getBccAddresses()
AbstractMessage
getBccAddresses
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public void setBccAddresses(java.util.List addresses)
AbstractMessage
setBccAddresses
in class AbstractMessage
UnsupportedOperationException
- if operation is not supported.public com.compoze.util.mail.InternetAddress[] getBccRecipients() throws com.compoze.util.mail.AddressException
getBccRecipients
in class AbstractMessage
InternetAddress
objects; or null
if not setcom.compoze.util.mail.AddressException
- if parsing of internet addresses failUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.BCC
public void setBccRecipients(java.lang.String sAddressList) throws com.compoze.util.mail.AddressException
setBccRecipients
in class AbstractMessage
sAddressList
- sequence of internet addressescom.compoze.util.mail.AddressException
- if parsing of internet addresses failUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.BCC
public void setBccRecipients(com.compoze.util.mail.InternetAddress[] addressList)
setBccRecipients
in class AbstractMessage
addressList
- array of InternetAddress
objectsUnsupportedOperationException
- if operation is not supported.MailHeaderProperty.BCC
public boolean isDistributionList()
true
if this contact represents a distribution listpublic MemberInfo[] getMemberInfo() throws ExchangeException
null
if the contact is not a distribution list.ExchangeRuntimeException
- if this object has been released and can
no longer be usedExchangeException
- if there is a problem with the properties needed
to return this valueprotected java.lang.String createFilename(int iIndex)
The filename for this contact is composed of one of the two options:
createFilename
in class AbstractMessage
iIndex
- the index to appendAbstractItem.createFilename(int)
public java.lang.String getCommonName()
null
if not setExchangeRuntimeException
- if this object has been released and can
no longer be usedContactsProperty.COMMON_NAME
public void setCommonName(java.lang.String sCommonName)
sCommonName
- the common name to set for this
contact.ContactsProperty.COMMON_NAME
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractMessage
java.lang.CloneNotSupportedException
- if the object's class does not support the Cloneable interface.public java.lang.String toString()
toString
in class AbstractMessage
public static java.util.List getDefaultProperties()
ContactsProperty.ORGANIZATION
ContactsProperty.FILEAS
ContactsProperty.SURNAME
ContactsProperty.GIVEN_NAME
ContactsProperty.WORK_FAX_NUMBER
ContactsProperty.WORK_TELEPHONE_NUMBER
ContactsProperty.HOME_PHONE
ContactsProperty.MOBILE_NUMBER
AbstractMessage.getDefaultProperties()
public static java.util.List getProperties()
AbstractMessage.getProperties()
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |