JavaXT
|
|||||
Contact ClassUsed to represent a contact found in the Contacts Folder. http://msdn.microsoft.com/en-us/library/aa581315%28v=EXCHG.140%29.aspx
ConstructorsPublic MethodssetFullName( String fullName ) returns void Used to set the "Display Name" attribute for this contact. getPhysicalAddresses( ) returns PhysicalAddress[] Returns an array of mailing addresses associated with this contact. setPhysicalAddresses( PhysicalAddress[] physicalAddresses ) returns void Used to add phone numbers to a contact. addPhysicalAddress( PhysicalAddress address ) returns void Used to associate a mailing address with this contact. removePhysicalAddress( String str ) returns void Deletes an address associated with this contact.
removePhysicalAddress( PhysicalAddress address ) returns void Deletes an address associated with this contact.
removePhysicalAddresses( ) returns void Deletes all addresses associated with this contact. getPhoneNumbers( ) returns PhoneNumber[] Returns an array of PhoneNumbers associated with this contact. setPhoneNumbers( PhoneNumber[] phoneNumbers ) returns void Used to add phone numbers to a contact. addPhoneNumber( PhoneNumber phoneNumber ) returns void Used to associate a phone number with this contact. getEmailAddresses( ) returns EmailAddress[] Returns an array of email addresses associated with this contact. Note that Exchange only allows 3 email addresses per contact. setEmailAddresses( EmailAddress[] emailAddresses ) returns void Used to add email Addresses to a contact. addEmailAddress( EmailAddress emailAddress ) returns void Used to associate an email address with the contact. Note that Exchange only allows 3 email addresses per contact. removeEmailAddress( 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. setCompanyName( String company ) returns void Used to associate the contact with a company or organization. getCompanyName( ) returns String Returns the company or organization associated with this contact. 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. setBirthDay( String birthday ) returns void Used to set the date of birth using a String. If the method fails to parse the string, the new value will be ignored. save( Connection conn ) returns String Used to save/update a contact. Returns the Exchange ID for the item. |