Moyosoft Products | Services | Download | Contact us    
Java Bridge to Exchange
Products  >  Java Bridge to Exchange  >  API Reference    
API Reference
   
Overview  |  
Classic JavaDoc

Interface ExchangeContact

com.moyosoft.exchange.contact.ExchangeContact

Implemented Interfaces:

public interface ExchangeContact implements ExchangeItem

Represents a contact item stored in an Exchange folder.

A new contact can be created with the method ExchangeFolder.createContact(). To save the new contact to the folder, call the method save().

This class provides getter and setter methods to access or modify the contact's properties.

Example code that displays contacts in the default contact folder:

Exchange exchange = new Exchange("hostname", "username", "password");

ExchangeFolder folder = exchange.getContactsFolder();
ItemsCollection items = folder.getItems();

System.out.println("Contacts count: " + items.getCount());

for(ExchangeItem item : items)
{
  ExchangeContact contact = (ExchangeContact) item;
  System.out.println(contact.getDisplayName());
}

See Also:

Methods

String
getAddressBusinessCity ()
String
getAddressBusinessCountryOrRegion ()
String
getAddressBusinessPostalCode ()
String
getAddressBusinessState ()
String
getAddressBusinessStreet ()
String
getAddressHomeCity ()
String
getAddressHomeCountryOrRegion ()
String
getAddressHomePostalCode ()
String
getAddressHomeState ()
String
getAddressHomeStreet ()
String
getAddressOtherCity ()
String
getAddressOtherCountryOrRegion ()
String
getAddressOtherPostalCode ()
String
getAddressOtherState ()
String
getAddressOtherStreet ()
String
getAssistantName ()
java.util.Date
getBirthday ()
String
getBusinessHomePage ()
java.util.List
getChildren ()
java.util.List
getCompanies ()
String
getCompanyName ()
String
getDepartment ()
String
getDisplayName ()
String
getEmailAddress1 ()
String
getEmailAddress1DisplayAs ()
String
getEmailAddress1Type ()
String
getEmailAddress2 ()
String
getEmailAddress2DisplayAs ()
String
getEmailAddress2Type ()
String
getEmailAddress3 ()
String
getEmailAddress3DisplayAs ()
String
getEmailAddress3Type ()
String
getFileAs ()
getFileAsMapping ()
String
getFirstName ()
String
getFullName ()
String
getImAddress1 ()
String
getImAddress2 ()
String
getImAddress3 ()
String
getInitials ()
String
getJobTitle ()
String
getLastName ()
String
getManager ()
String
getMiddleName ()
String
getMileage ()
String
getNameSuffix ()
String
getNickname ()
String
getOfficeLocation ()
String
getPhoneNumberAssistantPhone ()
String
getPhoneNumberBusinessFax ()
String
getPhoneNumberBusinessPhone ()
String
getPhoneNumberBusinessPhone2 ()
String
getPhoneNumberCallback ()
String
getPhoneNumberCarPhone ()
String
getPhoneNumberCompanyMainPhone ()
String
getPhoneNumberHomeFax ()
String
getPhoneNumberHomePhone ()
String
getPhoneNumberHomePhone2 ()
String
getPhoneNumberIsdn ()
String
getPhoneNumberMobilePhone ()
String
getPhoneNumberOtherFax ()
String
getPhoneNumberOtherTelephone ()
String
getPhoneNumberPager ()
String
getPhoneNumberPrimaryPhone ()
String
getPhoneNumberRadioPhone ()
String
getPhoneNumberTelex ()
String
getPhoneNumberTtyTddPhone ()
String
getProfession ()
String
getSpouseName ()
String
getTitle ()
java.util.Date
getWeddingAnniversary ()
String
getYomiFirstName ()
String
getYomiLastName ()
boolean
isPostalAddressBusiness ()
boolean
isPostalAddressHome ()
boolean
isPostalAddressOther ()
void
setAddressBusiness (String street, String city, String state, String countryOrRegion, String postalCode)
void
setAddressBusinessCity (String value)
void
setAddressBusinessCountryOrRegion (String value)
void
setAddressBusinessPostalCode (String value)
void
setAddressBusinessState (String value)
void
setAddressBusinessStreet (String value)
void
setAddressHome (String street, String city, String state, String countryOrRegion, String postalCode)
void
setAddressHomeCity (String value)
void
setAddressHomeCountryOrRegion (String value)
void
setAddressHomePostalCode (String value)
void
setAddressHomeState (String value)
void
setAddressHomeStreet (String value)
void
setAddressOther (String street, String city, String state, String countryOrRegion, String postalCode)
void
setAddressOtherCity (String value)
void
setAddressOtherCountryOrRegion (String value)
void
setAddressOtherPostalCode (String value)
void
setAddressOtherState (String value)
void
setAddressOtherStreet (String value)
void
setAssistantName (String assistantName)
void
setBirthday (java.util.Date birthday)
void
setBusinessHomePage (String businessHomePage)
void
setChildren (java.util.List children)
void
setCompanies (java.util.List companies)
void
setCompanyName (String companyName)
void
setDepartment (String department)
void
setDisplayName (String displayName)
void
setEmailAddress1 (String value)
void
setEmailAddress1DisplayAs (String value)
void
setEmailAddress1Type (String value)
void
setEmailAddress2 (String value)
void
setEmailAddress2DisplayAs (String value)
void
setEmailAddress2Type (String value)
void
setEmailAddress3 (String value)
void
setEmailAddress3DisplayAs (String value)
void
setEmailAddress3Type (String value)
void
setFileAs (String fileAs)
void
setFileAsMapping (FileAsMapping fileAsMapping)
void
setFirstName (String firstName)
void
setImAddress1 (String value)
void
setImAddress2 (String value)
void
setImAddress3 (String value)
void
setInitials (String initials)
void
setIsPostalAddressBusiness (boolean value)
void
setIsPostalAddressHome (boolean value)
void
setIsPostalAddressOther (boolean value)
void
setJobTitle (String jobTitle)
void
setLastName (String lastName)
void
setManager (String manager)
void
setMiddleName (String middleName)
void
setMileage (String mileage)
void
setNameSuffix (String suffix)
void
setNickname (String nickname)
void
setOfficeLocation (String officeLocation)
void
setPhoneNumberAssistantPhone (String value)
void
setPhoneNumberBusinessFax (String value)
void
setPhoneNumberBusinessPhone (String value)
void
setPhoneNumberBusinessPhone2 (String value)
void
setPhoneNumberCallback (String value)
void
setPhoneNumberCarPhone (String value)
void
setPhoneNumberCompanyMainPhone (String value)
void
setPhoneNumberHomeFax (String value)
void
setPhoneNumberHomePhone (String value)
void
setPhoneNumberHomePhone2 (String value)
void
setPhoneNumberIsdn (String value)
void
setPhoneNumberMobilePhone (String value)
void
setPhoneNumberOtherFax (String value)
void
setPhoneNumberOtherTelephone (String value)
void
setPhoneNumberPager (String value)
void
setPhoneNumberPrimaryPhone (String value)
void
setPhoneNumberRadioPhone (String value)
void
setPhoneNumberTelex (String value)
void
setPhoneNumberTtyTddPhone (String value)
void
setProfession (String profession)
void
setSpouseName (String spouseName)
void
setTitle (String title)
void
setWeddingAnniversary (java.util.Date weddingAnniversary)

Community comments



Powered by JavaDocPlus