|
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.AbstractItem | +--com.compoze.exchange.AddressEntry
This class represents an Exchange address entry.
Field Summary | |
static PropertyKey[] |
ALL_PROPS
Contains an array of all of the properties available on an address entry. |
Fields inherited from class com.compoze.exchange.AbstractItem |
m_props, m_session |
Method Summary | |
java.lang.String |
getAddress()
Gets the email address of the address entry (NOTE: this will not necessarily be an SMTP address but may be an Exchange or other address). |
java.lang.String |
getAddressEntryType()
Gets the type of the address entry. |
java.lang.String |
getAddressType()
Gets the address type of the address entry. |
java.lang.String |
getAssistant()
Gets the name of the assistant for the address entry. |
java.lang.String |
getAssistantTelephoneNumber()
Gets the assistant telephone number for the address entry. |
java.lang.String |
getBusiness2TelephoneNumber()
Gets the second business telephone number of the address entry. |
java.lang.String |
getBusinessAddressCountry()
Gets the business address country of the address entry. |
java.lang.String |
getBusinessTelephoneNumber()
Gets the business telephone number for the address entry. |
java.lang.String |
getComment()
Gets the comment for the address entry. |
java.lang.String |
getCompanyName()
Gets the company name for the address entry. |
java.lang.String |
getDepartmentName()
Gets the department name for the address entry. |
java.lang.String |
getDisplayName()
Gets the display name of the address entry. |
DisplayType |
getDisplayType()
Gets the display type of the address entry. |
java.lang.String |
getExchangeAccount()
Gets the Exchange account for the address entry. |
java.lang.String |
getExchangeAlias()
Gets the Exchange alias for the address entry. |
FreeBusy |
getFreeBusy()
Gets the free/busy information for the address entry for the dates that were specified when the address entry was retrieved. |
java.lang.String |
getGivenName()
Gets the given name (first name) of the address entry. |
java.lang.String |
getHome2TelephoneNumber()
Gets the second home telephone number of the contact. |
java.lang.String |
getHomeServer()
Gets the home server of the mailbox represented by the address entry. |
java.lang.String |
getHomeTelephoneNumber()
Gets the home telephone number of the contact. |
java.lang.String |
getID()
Gets the ID of the address entry. |
java.lang.String |
getInitials()
Gets the initials of the contact. |
java.lang.String |
getLocality()
Gets the locality (city or town) of the contact. |
AddressEntry |
getManager(PropertyKey[] aPropKeys)
Gets the manager address entry account for the contact |
java.lang.String |
getManagerName()
Gets the manager name for the contact. |
AddressEntryInfo[] |
getMembers()
Gets the members of the address entry if it is a distribution list. |
java.lang.String |
getMobileTelephoneNumber()
Gets the mobile telephone number of the contact. |
java.lang.String |
getOfficeLocation()
Gets the office location for the contact. |
java.lang.String |
getPagerTelephoneNumber()
Gets the pager telephone number of the contact. |
java.lang.String |
getPostalCode()
Gets the postal code of the contact. |
java.lang.String |
getPrimaryAccount()
Gets the primary account for the user. |
java.lang.String |
getPrimaryAccountSid()
Gets the SID (Security Information Descriptor) for the primary account associated with the address entry. |
java.lang.String |
getSmtpEmailAddress()
Gets the SMTP email address. |
java.lang.String |
getStateOrProvince()
Gets the state or province of the address entry. |
java.lang.String |
getStreetAddress()
Gets the street address of the contact. |
java.lang.String |
getSurname()
Gets the surname (last name) of the contact. |
java.lang.String |
getTitle()
Gets the title of the contact. |
boolean |
isDistributionList()
Gets if the address entry is a distrubution list, based on the display type. |
void |
serverUpdate()
Hits the server to update any changed properties. |
java.lang.String |
toString()
Returns the string representation of the address entry. |
Methods inherited from class com.compoze.exchange.AbstractItem |
get, getBoolean, getByteArray, getDate, getDouble, getInt, getInvalidPropertyValues, getPropertyKeys, getString, getStringArray, getUpdatedPropertyValues, set, setBoolean, setByteArray, setDate, setDouble, setInt, setString, setStringArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final PropertyKey[] ALL_PROPS
Method Detail |
public java.lang.String getAddress() throws ExchangeException
PropertyKey.ADDRESS_ENTRY_ADDRESS
public java.lang.String getDisplayName() throws ExchangeException
PropertyKey.ADDRESS_ENTRY_DISPLAY_NAME
public DisplayType getDisplayType() throws ExchangeException
PropertyKey.ADDRESS_ENTRY_DISPLAY_TYPE
public java.lang.String getAddressType() throws ExchangeException
PropertyKey.ADDRESS_ENTRY_TYPE
public FreeBusy getFreeBusy() throws ExchangeException
PropertyKey.ADDRESS_ENTRY_FREE_BUSY
public java.lang.String getID() throws ExchangeException
PropertyKey.ADDRESS_ENTRY_ID
public java.lang.String getSmtpEmailAddress() throws ExchangeException
PropertyKey.ADDRESS_ENTRY_SMTP_EMAIL_ADDRESS
public java.lang.String getAddressEntryType() throws ExchangeException
PropertyKey.ADDRESS_ENTRY_TYPE
public java.lang.String getAssistant() throws ExchangeException
PropertyKey.ASSISTANT
public java.lang.String getAssistantTelephoneNumber() throws ExchangeException
PropertyKey.ASSISTANT_TELEPHONE_NUMBER
public java.lang.String getBusinessAddressCountry() throws ExchangeException
PropertyKey.BUSINESS_ADDRESS_COUNTRY
public java.lang.String getBusinessTelephoneNumber() throws ExchangeException
PropertyKey.BUSINESS_TELEPHONE_NUMBER
public java.lang.String getBusiness2TelephoneNumber() throws ExchangeException
PropertyKey.BUSINESS2_TELEPHONE_NUMBER
public java.lang.String getCompanyName() throws ExchangeException
PropertyKey.COMPANY_NAME
public java.lang.String getComment() throws ExchangeException
PropertyKey.COMMENT
public java.lang.String getDepartmentName() throws ExchangeException
PropertyKey.DEPARTMENT_NAME
public java.lang.String getExchangeAccount() throws ExchangeException
PropertyKey.ACCOUNT
public java.lang.String getExchangeAlias() throws ExchangeException
PropertyKey.MHS_COMMON_NAME
public java.lang.String getGivenName() throws ExchangeException
PropertyKey.GIVEN_NAME
public java.lang.String getHomeServer() throws ExchangeException
PropertyKey.EMS_AB_HOME_MTA
public java.lang.String getHomeTelephoneNumber() throws ExchangeException
PropertyKey.HOME_TELEPHONE_NUMBER
public java.lang.String getHome2TelephoneNumber() throws ExchangeException
PropertyKey.HOME2_TELEPHONE_NUMBER
public java.lang.String getInitials() throws ExchangeException
PropertyKey.INITIALS
public java.lang.String getSurname() throws ExchangeException
PropertyKey.SURNAME
public java.lang.String getLocality() throws ExchangeException
PropertyKey.LOCALITY
public java.lang.String getManagerName() throws ExchangeException
PropertyKey.ADDRESS_ENTRY_MANAGER_NAME
public AddressEntry getManager(PropertyKey[] aPropKeys) throws ExchangeException
aPropKeys
- a list of values that will be returned on the managerPropertyKey.ADDRESS_ENTRY_MANAGER
public java.lang.String getMobileTelephoneNumber() throws ExchangeException
PropertyKey.MOBILE_TELEPHONE_NUMBER
public java.lang.String getOfficeLocation() throws ExchangeException
PropertyKey.OFFICE_LOCATION
public java.lang.String getPagerTelephoneNumber() throws ExchangeException
PropertyKey.PAGER_TELEPHONE_NUMBER
public java.lang.String getPostalCode() throws ExchangeException
PropertyKey.POSTAL_CODE
public java.lang.String getPrimaryAccountSid() throws ExchangeException
getPrimaryAccountSid()
.PropertyKey.ADDRESS_ENTRY_PRIMARY_ACCOUNT
public java.lang.String getPrimaryAccount() throws ExchangeException
DOMAIN\Username
)PropertyKey.ADDRESS_ENTRY_PRIMARY_ACCOUNT
public java.lang.String getStateOrProvince() throws ExchangeException
PropertyKey.STATE_OR_PROVINCE
public java.lang.String getStreetAddress() throws ExchangeException
PropertyKey.STREET_ADDRESS
public java.lang.String getTitle() throws ExchangeException
PropertyKey.TITLE
public AddressEntryInfo[] getMembers() throws ExchangeException
public void serverUpdate() throws ExchangeException
serverUpdate
in class AbstractItem
public boolean isDistributionList() throws ExchangeException
public java.lang.String toString()
toString
in class java.lang.Object
PropertyKey.ADDRESS_ENTRY_DISPLAY_NAME
,
PropertyKey.ADDRESS_ENTRY_ID
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |