Contact Class

Used to represent a contact found in the Contacts Folder. http://msdn.microsoft.com/en-us/library/aa581315%28v=EXCHG.140%29.aspx

Constructors

protected Contact( )
public Contact( javaxt.exchange.Contact contact )
public Contact( String exchangeID, javaxt.exchange.Connection conn, javaxt.exchange.ExtendedFieldURI[] AdditionalProperties )
public Contact( String exchangeID, javaxt.exchange.Connection conn )
public Contact( String firstName, String lastName )
protected Contact( org.w3c.dom.Node contactNode )

Methods

addEmailAddress( javaxt.exchange.EmailAddress emailAddress ) returns void
Used to associate an email address with the contact. Note that Exchange only allows 3 email addresses per contact.
addPhoneNumber( javaxt.exchange.PhoneNumber phoneNumber ) returns void
Used to associate a phone number with this contact.
addPhysicalAddress( javaxt.exchange.PhysicalAddress address ) returns void
Used to associate a mailing address with this contact.
delete( javaxt.exchange.Connection conn ) returns void
Used to delete a contact.
getAge( ) returns Integer
Returns the age of the contact, in years.
getBirthDay( ) returns javaxt.utils.Date
Returns the date of birth.
getCompanyName( ) returns String
Returns the company or organization associated with this contact.
getEmailAddresses( ) returns javaxt.exchange.EmailAddress[]
Returns an array of email addresses associated with this contact. Note that Exchange only allows 3 email addresses per contact.
getFirstName( ) returns String
getFullName( ) returns String
Returns the "FullName" attribute for this contact.
getLastName( ) returns String
getPhoneNumbers( ) returns javaxt.exchange.PhoneNumber[]
Returns an array of PhoneNumbers associated with this contact.
getPhysicalAddresses( ) returns javaxt.exchange.PhysicalAddress[]
Returns an array of mailing addresses associated with this contact.
getPrimaryEmailAddress( ) returns javaxt.exchange.EmailAddress
getTitle( ) returns String
Returns the job title associated with this contact.
removeEmailAddress( javaxt.exchange.EmailAddress emailAddress ) returns void
Used delete an email address associated with this contact.
removeEmailAddresses( ) returns void
Used to remove all email addresses associated with this contact.
removePhoneNumber( javaxt.exchange.PhoneNumber phoneNumber ) returns void
removePhoneNumbers( ) returns void
removePhysicalAddress( String str ) returns void
Deletes an address associated with this contact.
strComplete mailing address or an address type/category.
removePhysicalAddress( javaxt.exchange.PhysicalAddress address ) returns void
Deletes an address associated with this contact.
addressPhysicalAddress. Must be an exact address match.
removePhysicalAddresses( ) returns void
Deletes all addresses associated with this contact.
save( javaxt.exchange.Connection conn ) returns String
Used to save/update a contact. Returns the Exchange ID for the item.
setBirthDay( java.util.Date birthday ) returns void
Used to set the date of birth using a java.util.Date.
setBirthDay( javaxt.utils.Date birthday ) returns void
Used to set the date of birth using a javaxt.utils.Date.
setCompanyName( String company ) returns void
Used to associate the contact with a company or organization.
setEmailAddress( javaxt.exchange.EmailAddress emailAddress ) returns void
setEmailAddresses( javaxt.exchange.EmailAddress[] emailAddresses ) returns void
Used to add email Addresses to a contact.
setFullName( String fullName ) returns void
Used to set the "Display Name" attribute for this contact.
setPhoneNumbers( javaxt.exchange.PhoneNumber[] phoneNumbers ) returns void
Used to add phone numbers to a contact.
setPhysicalAddresses( javaxt.exchange.PhysicalAddress[] physicalAddresses ) returns void
Used to add phone numbers to a contact.
setTitle( String title ) returns void
Used to set the job title.
toString( ) returns String