de.uplanet.lucy.server.businesslogic.exchange.util
Interface IExchangeContactUtil

All Known Implementing Classes:
ExchangeContactUtil

@Scriptable
public interface IExchangeContactUtil

Defines utility methods for working with MS Exchange contacts.

Version:
$Revision: 89488 $

Method Summary
 IExchangeContact createNew(java.lang.String p_strSurname, java.lang.String p_strGivenName, java.lang.String p_strEmailAddress, java.lang.String p_strUserMailbox)
          Creates a new contact.
 IExchangeContact createNew(java.lang.String p_strSurname, java.lang.String p_strGivenName, java.lang.String p_strEmail1Address, java.lang.String p_strEmail1OriginalDisplayName, java.lang.String p_strEmail2Address, java.lang.String p_strEmail2OriginalDisplayName, java.lang.String p_strEmail3Address, java.lang.String p_strEmail3OriginalDisplayName, java.lang.String p_strUserMailbox)
          Creates a new contact.
 IExchangeContact createNew(java.lang.String p_strSurname, java.lang.String p_strGivenName, java.lang.String p_strEmailAddress, java.lang.String p_strPersonalTitle, java.lang.String p_strStreet, java.lang.String p_strPostalCode, java.lang.String p_strCity, java.lang.String p_strCountry, java.lang.String p_strTelephoneNumber, java.lang.String p_strMobile, java.lang.String p_strOrganization, java.lang.String p_strUserMailbox)
          Creates a new contact.
 IExchangeContact findById(java.lang.String p_strId)
          Finds a contact by the given ID.
 IExchangeContact findByPermanentUrl(java.lang.String p_strPermUrl)
          Finds a task by the given Permanent URL.
 

Method Detail

createNew

IExchangeContact createNew(java.lang.String p_strSurname,
                           java.lang.String p_strGivenName,
                           java.lang.String p_strEmailAddress,
                           java.lang.String p_strUserMailbox)
                           throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Creates a new contact.

Parameters:
p_strSurname - The surname.
p_strGivenName - The given name.
p_strEmailAddress - The email address.
p_strUserMailbox - The mailbox the contact belongs to.
Returns:
The new IExchangeContact instance.
Throws:
ExchangeUtilException - If the contact could not be created.

createNew

IExchangeContact createNew(java.lang.String p_strSurname,
                           java.lang.String p_strGivenName,
                           java.lang.String p_strEmailAddress,
                           java.lang.String p_strPersonalTitle,
                           java.lang.String p_strStreet,
                           java.lang.String p_strPostalCode,
                           java.lang.String p_strCity,
                           java.lang.String p_strCountry,
                           java.lang.String p_strTelephoneNumber,
                           java.lang.String p_strMobile,
                           java.lang.String p_strOrganization,
                           java.lang.String p_strUserMailbox)
                           throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Creates a new contact.

Parameters:
p_strSurname - The surname.
p_strGivenName - The given name.
p_strEmailAddress - The email address.
p_strPersonalTitle - The personal title (Mr./Mrs.)
p_strStreet - The street.
p_strStreet - The postal code.
p_strCity - The city.
p_strCountry - The country.
p_strTelephoneNumber - The telephone number.
p_strMobile - The mobile number.
p_strOrganization - The organization.
p_strUserMailbox - The mailbox the contact belongs to.
Returns:
The new IExchangeContact instance.
Throws:
ExchangeUtilException - If the contact could not be created.

createNew

IExchangeContact createNew(java.lang.String p_strSurname,
                           java.lang.String p_strGivenName,
                           java.lang.String p_strEmail1Address,
                           java.lang.String p_strEmail1OriginalDisplayName,
                           java.lang.String p_strEmail2Address,
                           java.lang.String p_strEmail2OriginalDisplayName,
                           java.lang.String p_strEmail3Address,
                           java.lang.String p_strEmail3OriginalDisplayName,
                           java.lang.String p_strUserMailbox)
                           throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Creates a new contact.

Parameters:
p_strSurname - The surname.
p_strGivenName - The given name.
p_strEmail1Address - The email 1 address.
p_strEmail1OriginalDisplayName - The email 1 original display name.
p_strEmail2Address - The email 2 address.
p_strEmail2OriginalDisplayName - The email 2 original display name.
p_strEmail3Address - The email 3 address.
p_strEmail3OriginalDisplayName - The email 3 original display name.
p_strUserMailbox - The mailbox the contact belongs to.
Returns:
The new IExchangeContact instance.
Throws:
ExchangeUtilException - If the contact could not be created.

findById

IExchangeContact findById(java.lang.String p_strId)
                          throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Finds a contact by the given ID.

Parameters:
p_strId - The contact ID.
Returns:
The IExchangeContact instance.
Throws:
ExchangeUtilException - If the contact could not be found.

findByPermanentUrl

IExchangeContact findByPermanentUrl(java.lang.String p_strPermUrl)
                                    throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Finds a task by the given Permanent URL.

Parameters:
p_strPermUrl - The permanent URL.
Returns:
The IExchangeContact.
Throws:
ExchangeUtilException - If the contact could not be found.


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.