|
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
empty| Method 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.NICKNAMEpublic java.lang.String getGivenName()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INITIALSpublic void setGivenName(java.lang.String sGivenName)
sGivenName - the given nameExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INITIALSpublic java.lang.String getSurname()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INITIALSpublic void setSurname(java.lang.String sSurname)
sSurname - the surnameExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INITIALSpublic java.lang.String getMiddleName()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INITIALSpublic void setMiddleName(java.lang.String sMiddleName)
sSurname - the middle nameExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INITIALSpublic java.lang.String getPersonalTitle()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INITIALSpublic void setPersonalTitle(java.lang.String sPersonalTitle)
sSurname - the personal titleExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INITIALSpublic java.lang.String getNameSuffix()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INITIALSpublic void setNameSuffix(java.lang.String sNameSuffix)
sSurname - the name suffixExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INITIALSpublic java.lang.String getNickname()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INITIALSpublic void setNickname(java.lang.String sNickname)
sNickname - the nicknameExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INITIALSpublic java.lang.String getInitials()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INITIALSpublic void setInitials(java.lang.String sInitials)
sInitials - the initialsExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INITIALSpublic java.lang.String getCompanyName()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.ORGANIZATIONpublic void setCompanyName(java.lang.String sCompanyName)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.ORGANIZATIONpublic 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_COUNTRYpublic 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_COUNTRYpublic java.lang.String getBusinessAddressStreet()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.WORK_STREETpublic void setBusinessAddressStreet(java.lang.String sStreet)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.WORK_STREETpublic java.lang.String getBusinessAddressPostOfficeBox()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.WORK_PO_BOXpublic void setBusinessAddressPostOfficeBox(java.lang.String sPostOfficeBox)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.WORK_PO_BOXpublic java.lang.String getBusinessAddressCity()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.WORK_LOCALITYpublic void setBusinessAddressCity(java.lang.String sLocality)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.WORK_LOCALITYpublic java.lang.String getBusinessAddressStateOrProvince()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.WORK_REGIONpublic 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_REGIONpublic java.lang.String getBusinessAddressPostalCode()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.WORK_POSTAL_CODEpublic void setBusinessAddressPostalCode(java.lang.String sPostalCode)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.WORK_POSTAL_CODEpublic java.lang.String getBusinessAddressCountry()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.WORK_COUNTRYpublic void setBusinessAddressCountry(java.lang.String sCountry)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.WORK_COUNTRYpublic 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_COUNTRYpublic 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_COUNTRYpublic java.lang.String getHomeAddressStreet()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_STREETpublic void setHomeAddressStreet(java.lang.String sStreet)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_STREETpublic java.lang.String getHomeAddressPostOfficeBox()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_PO_BOXpublic void setHomeAddressPostOfficeBox(java.lang.String sPostOfficeBox)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_PO_BOXpublic java.lang.String getHomeAddressCity()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_LOCALITYpublic void setHomeAddressCity(java.lang.String sLocality)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_LOCALITYpublic java.lang.String getHomeAddressStateOrProvince()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_REGIONpublic 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_REGIONpublic java.lang.String getHomeAddressPostalCode()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_POSTAL_CODEpublic void setHomeAddressPostalCode(java.lang.String sPostalCode)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_POSTAL_CODEpublic java.lang.String getHomeAddressCountry()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_COUNTRYpublic void setHomeAddressCountry(java.lang.String sCountry)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_COUNTRYpublic 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_COUNTRYpublic 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_COUNTRYpublic java.lang.String getOtherAddressStreet()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_STREETpublic void setOtherAddressStreet(java.lang.String sStreet)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_STREETpublic java.lang.String getOtherAddressPostOfficeBox()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_PO_BOXpublic void setOtherAddressPostOfficeBox(java.lang.String sPostOfficeBox)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_PO_BOXpublic java.lang.String getOtherAddressCity()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_LOCALITYpublic void setOtherAddressCity(java.lang.String sLocality)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_LOCALITYpublic java.lang.String getOtherAddressStateOrProvince()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_REGIONpublic 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_REGIONpublic java.lang.String getOtherAddressPostalCode()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_POSTAL_CODEpublic void setOtherAddressPostalCode(java.lang.String sPostalCode)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_POSTAL_CODEpublic java.lang.String getOtherAddressCountry()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_COUNTRYpublic void setOtherAddressCountry(java.lang.String sCountry)
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_COUNTRYpublic 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_IDpublic MailingAddressId getMailingAddressId()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.MAILING_ADDRESS_IDpublic 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_NUMBERpublic 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_NUMBERpublic java.lang.String getBusinessTelephoneNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.WORK_TELEPHONE_NUMBERpublic void setBusinessTelephoneNumber(java.lang.String sBusinessPhone)
sBusinessPhone - the work numberExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.WORK_TELEPHONE_NUMBERpublic java.lang.String getCallbackTelephoneNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.CALLBACK_PHONEpublic void setCallbackTelephoneNumber(java.lang.String sCallbackPhone)
sCallbackPhone - the callback numberExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.CALLBACK_PHONEpublic java.lang.String getBusinessTelephoneNumber2()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.ALTERNATIVE_WORK_TELEPHONE_NUMBERpublic 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_NUMBERpublic java.lang.String getHomeTelephoneNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_PHONEpublic void setHomeTelephoneNumber(java.lang.String sHomePhone)
sHomePhone - the home numberExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_PHONEpublic java.lang.String getHomeTelephoneNumber2()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_PHONE2public void setHomeTelephoneNumber2(java.lang.String sHomePhone)
sHomePhone - the alternative home numberExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_PHONE2public java.lang.String getHomeFaxNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_FAX_NUMBERpublic 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_NUMBERpublic java.lang.String getMobileTelephoneNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.MOBILE_NUMBERpublic void setMobileTelephoneNumber(java.lang.String sMobile)
sMobile - the mobile numberExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.MOBILE_NUMBERpublic java.lang.String getPagerTelephoneNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.PAGER_NUMBERpublic void setPagerTelephoneNumber(java.lang.String sPager)
sPager - the pager numberExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.PAGER_NUMBERpublic java.lang.String getPrimaryOfficeTelephoneNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.PRIMARY_OFFICE_NUMBERpublic 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_NUMBERpublic java.lang.String getSecondaryOfficeTelephoneNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.SECONDARY_OFFICE_NUMBERpublic 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_NUMBERpublic java.lang.String getOtherFaxNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_FAX_NUMBERpublic 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_NUMBERpublic java.lang.String getOtherMobileTelephoneNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_MOBILE_NUMBERpublic 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_NUMBERpublic java.lang.String getOtherPagerTelephoneNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_PAGER_NUMBERpublic 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_NUMBERpublic java.lang.String getOtherTelephoneNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_PHONE_NUMBERpublic 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_NUMBERpublic java.lang.String getTelexNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.TELEX_NUMBERpublic void setTelexNumber(java.lang.String sTelexNumber)
sTelexNumber - the work telex numberExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.TELEX_NUMBERpublic java.lang.String getTTYTDDNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.TTYTTD_PHONEpublic void setTTYTDDNumber(java.lang.String sTTYTTDNumber)
sTTYTTDNumber - the ttyttd numberExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.TTYTTD_PHONEpublic java.lang.String getIsdnNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INTERNATIONAL_ISDN_NUMBERpublic void setIsdnNumber(java.lang.String sIsdn)
sISDN - the ISDN numberExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.INTERNATIONAL_ISDN_NUMBERpublic java.lang.String getEmailAddress()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.EMAIL1public void setEmailAddress(java.lang.String sEmail)
sEmail - the primary e-mail addressExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.EMAIL1public 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.EMAIL2public void setEmail2Address(java.lang.String sEmail)
sEmail - the secondary e-mail addressExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.EMAIL2public java.lang.String getEmail3Address()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.EMAIL3public void setEmail3Address(java.lang.String sEmail)
sEmail - the third e-mail addressExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.EMAIL3public java.lang.String getBusinessHomePage()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.BUSINESS_HOMEPAGEpublic 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_HOMEPAGEpublic 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_HOMEPAGEpublic java.lang.String getComputerNetworkName()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.COMPUTER_NETWORK_NAMEpublic 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_NAMEpublic java.lang.String getDepartment()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.DEPARTMENTpublic void setDepartment(java.lang.String sDepartment)
sDepartment - the departmentExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.DEPARTMENTpublic java.lang.String getEmployeeNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.EMPLOYEE_NUMBERpublic void setEmployeeNumber(java.lang.String sEmployeeNumber)
sEmployeeNumber - the employee numberExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.EMPLOYEE_NUMBERpublic java.lang.String getManagerName()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.MANAGERpublic void setManagerName(java.lang.String sManagerName)
sManagerName - the manager nameExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.MANAGERpublic java.lang.String getOrganizationMainPhone()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.ORGANIZATION_MAIN_PHONEpublic 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_PHONEpublic java.lang.String getJobTitle()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.JOB_TITLEpublic 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_TITLEpublic java.lang.String getProfession()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.PROFESSIONpublic void setProfession(java.lang.String sProfession)
sProfession - the professionExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.PROFESSIONpublic java.lang.String getRoomNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.ROOM_NUMBERpublic void setRoomNumber(java.lang.String sRoomNumber)
sRoomNumber - the room numberExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.ROOM_NUMBERpublic Gender getGender()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.GENDERpublic 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.GENDERpublic java.lang.String getSpouseName()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.SPOUSE_NAMEpublic 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_NAMEpublic java.util.Date getWeddingAnniversary()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.WEDDING_ANNIVERSARYpublic void setWeddingAnniversary(java.util.Date anniversary)
anniversary - the wedding anniversary dateExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.WEDDING_ANNIVERSARYpublic java.util.Date getBirthday()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.BIRTHDAYpublic void setBirthday(java.util.Date birthday)
birthday - the birthday dateExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.BIRTHDAYpublic java.lang.String getPersonalHomePage()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.PERSONAL_HOMEPAGEpublic 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_HOMEPAGEpublic 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_HOMEPAGEpublic java.lang.String getAccount()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.ACCOUNTpublic void setAccount(java.lang.String sAccount)
sAccount - the account numberExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.ACCOUNTpublic java.lang.String getBillingInformation()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.BILLING_INFORMATIONpublic void setBillingInformation(java.lang.String sBillingInformation)
sBillingInformation - the billing informationExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.BILLING_INFORMATIONpublic java.lang.String getCustomerId()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.CUSTOMER_IDpublic void setCustomerId(java.lang.String sCustomerId)
sCustomerId - the customer idExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.CUSTOMER_IDpublic java.lang.String getGovernmentId()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.GOVERNMENT_IDpublic void setGovernmentId(java.lang.String sGovernmentId)
sGovernmentId - the government identifierExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.GOVERNMENT_IDpublic java.lang.String getFtpSite()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.FTP_SITEpublic 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_SITEpublic 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_SITEpublic java.lang.String getLocation()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.LOCATIONpublic void setLocation(java.lang.String sLocation)
sLocation - the locationExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.LOCATIONpublic java.lang.String getSecretaryName()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.SECRETARY_NAMEpublic void setSecretaryName(java.lang.String sName)
sName - the secretary's nameExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.SECRETARY_NAMEpublic java.lang.String getSecretaryTelephoneNumber()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.SECRETARY_PHONEpublic 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_PHONEpublic java.lang.String getReferredBy()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.REFERRED_BYpublic 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_BYpublic java.lang.String getHobbies()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOBBIESpublic void setHobbies(java.lang.String sHobbies)
sHobbies - string listing of the hobbiesExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOBBIESpublic java.util.TimeZone getOtherTimeZone()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_TIMEZONEpublic void setOtherTimeZone(java.util.TimeZone otherTimeZone)
otherTimeZone - the alternative worktime zoneExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.OTHER_TIMEZONEpublic java.util.TimeZone getHomeTimeZone()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_TIMEZONEpublic void setHomeTimeZone(java.util.TimeZone homeTimeZone)
homeTimeZone - the home time zoneExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_TIMEZONEpublic java.lang.String getLanguage()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.LANGUAGEpublic void setLanguage(java.lang.String sLanguage)
sLanguage - the languageExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.LANGUAGEpublic float getHomeLatitude()
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_LATITUDEpublic void setHomeLatitude(float fLatitude)
fLatitude - the home latitudeExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_LATITUDEpublic float getHomeLongitude()
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_LONGITUDEpublic void setHomeLongitude(float fLongitude)
fLongitude - the home longitudeExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.HOME_LONGITUDEpublic FileAsId getFileAsId()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.FILEAS_IDpublic 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_IDpublic 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.FILEASpublic 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.FILEASpublic java.lang.String[] getChildrensNames()
ExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.CHILDRENS_NAMESpublic void setChildrensNames(java.lang.String[] childrensNames)
childrensNames - collection of childrens namesExchangeRuntimeException - if this object has been released and can
no longer be usedContactsProperty.CHILDRENS_NAMESpublic java.lang.String getUserField1()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE1public void setUserField1(java.lang.String sField)
sField - the first user fieldExchangeRuntimeException - if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE1public java.lang.String getUserField2()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE2public void setUserField2(java.lang.String sField)
sField - the second user fieldExchangeRuntimeException - if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE2public java.lang.String getUserField3()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE3public void setUserField3(java.lang.String sField)
sField - the third user fieldExchangeRuntimeException - if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE3public java.lang.String getUserField4()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE4public void setUserField4(java.lang.String sField)
sField - the fourth user fieldExchangeRuntimeException - if this object has been released and can
no longer be usedExchangeProperty.EXTENSION_ATTRIBUTE4public java.lang.String getMileage()
null if not setExchangeRuntimeException - if this object has been released and can
no longer be usedExchangeProperty.MILEAGEpublic void setMileage(java.lang.String sMileage)
sMileage - the mileageExchangeRuntimeException - if this object has been released and can
no longer be usedExchangeProperty.MILEAGEpublic java.lang.String getFromAddressesString()
AbstractMessagegetFromAddressesString in class AbstractMessageUnsupportedOperationException - if operation is not supported.public java.util.LinkedList getFromAddresses()
AbstractMessagegetFromAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.public void setFromAddress(java.lang.String sFromAddress)
AbstractMessagesetFromAddress in class AbstractMessageUnsupportedOperationException - if operation is not supported.public void setFromAddresses(java.util.List addresses)
AbstractMessagesetFromAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.
public com.compoze.util.mail.InternetAddress[] getFrom()
throws com.compoze.util.mail.AddressException
getFrom in class AbstractMessageInternetAddress 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 AbstractMessagesAddressList - sequence of internet addressescom.compoze.util.mail.AddressException - if parsing of internet addresses failUnsupportedOperationException - if operation is not supported.MailHeaderProperty.FROMpublic void setFrom(com.compoze.util.mail.InternetAddress[] addressesList)
setFrom in class AbstractMessageaddressesList - array of InternetAddress objectsUnsupportedOperationException - if operation is not supported.MailHeaderProperty.FROMpublic java.lang.String getToAddressesString()
AbstractMessagegetToAddressesString in class AbstractMessageUnsupportedOperationException - if operation is not supported.public java.util.LinkedList getToAddresses()
AbstractMessagegetToAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.public void setToAddresses(java.util.List addresses)
AbstractMessagesetToAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.
public com.compoze.util.mail.InternetAddress[] getToRecipients()
throws com.compoze.util.mail.AddressException
getToRecipients in class AbstractMessageInternetAddress 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 AbstractMessagesAddressList - sequence of internet addressescom.compoze.util.mail.AddressException - if parsing of internet addresses failUnsupportedOperationException - if operation is not supported.MailHeaderProperty.TOpublic void setToRecipients(com.compoze.util.mail.InternetAddress[] addressList)
setToRecipients in class AbstractMessageaddressList - array of InternetAddress objectsUnsupportedOperationException - if operation is not supported.MailHeaderProperty.TOpublic java.lang.String getCcAddressesString()
AbstractMessagegetCcAddressesString in class AbstractMessageUnsupportedOperationException - if operation is not supported.public java.util.LinkedList getCcAddresses()
AbstractMessagegetCcAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.public void setCcAddresses(java.util.List addresses)
AbstractMessagesetCcAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.
public com.compoze.util.mail.InternetAddress[] getCcRecipients()
throws com.compoze.util.mail.AddressException
getCcRecipients in class AbstractMessageInternetAddress 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 AbstractMessagesAddressList - sequence of internet addressescom.compoze.util.mail.AddressException - if parsing of internet addresses failUnsupportedOperationException - if operation is not supported.MailHeaderProperty.CCpublic void setCcRecipients(com.compoze.util.mail.InternetAddress[] addressesList)
setCcRecipients in class AbstractMessageaddressesList - array of InternetAddress objectsUnsupportedOperationException - if operation is not supported.MailHeaderProperty.CCpublic java.lang.String getBccAddressesString()
AbstractMessagegetBccAddressesString in class AbstractMessageUnsupportedOperationException - if operation is not supported.public java.util.LinkedList getBccAddresses()
AbstractMessagegetBccAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.public void setBccAddresses(java.util.List addresses)
AbstractMessagesetBccAddresses in class AbstractMessageUnsupportedOperationException - if operation is not supported.
public com.compoze.util.mail.InternetAddress[] getBccRecipients()
throws com.compoze.util.mail.AddressException
getBccRecipients in class AbstractMessageInternetAddress 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 AbstractMessagesAddressList - sequence of internet addressescom.compoze.util.mail.AddressException - if parsing of internet addresses failUnsupportedOperationException - if operation is not supported.MailHeaderProperty.BCCpublic void setBccRecipients(com.compoze.util.mail.InternetAddress[] addressList)
setBccRecipients in class AbstractMessageaddressList - array of InternetAddress objectsUnsupportedOperationException - if operation is not supported.MailHeaderProperty.BCCpublic boolean isDistributionList()
true if this contact represents a distribution list
public 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 AbstractMessageiIndex - 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_NAMEpublic 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 AbstractMessagejava.lang.CloneNotSupportedException - if the object's class does not support the Cloneable interface.public java.lang.String toString()
toString in class AbstractMessagepublic static java.util.List getDefaultProperties()
ContactsProperty.ORGANIZATIONContactsProperty.FILEASContactsProperty.SURNAMEContactsProperty.GIVEN_NAMEContactsProperty.WORK_FAX_NUMBERContactsProperty.WORK_TELEPHONE_NUMBERContactsProperty.HOME_PHONEContactsProperty.MOBILE_NUMBERAbstractMessage.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 | ||||||||