|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uplanet.lucy.server.businesslogic.exchange.util.impl.ExchangeContactUtil
@Scriptable public class ExchangeContactUtil
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. |
static IExchangeContactUtil |
getInstance()
Returns an instance initialized with a Exchange connection for the currently logged in user. |
static IExchangeContactUtil |
getInstance(java.sql.Connection p_conn)
Returns an instance initialized with the given Exchange connection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IExchangeContactUtil getInstance()
public static IExchangeContactUtil getInstance(java.sql.Connection p_conn)
p_conn
- the MS Exchange connection
public 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
IExchangeContactUtil
createNew
in interface IExchangeContactUtil
p_strSurname
- The surname.p_strGivenName
- The given name.p_strEmailAddress
- The email address.p_strUserMailbox
- The mailbox the contact belongs to.
IExchangeContact
instance.
ExchangeUtilException
- If the contact could not be created.public 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
IExchangeContactUtil
createNew
in interface IExchangeContactUtil
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_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.
IExchangeContact
instance.
ExchangeUtilException
- If the contact could not be created.public 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
IExchangeContactUtil
createNew
in interface IExchangeContactUtil
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.
IExchangeContact
instance.
ExchangeUtilException
- If the contact could not be created.public IExchangeContact findById(java.lang.String p_strId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
IExchangeContactUtil
findById
in interface IExchangeContactUtil
p_strId
- The contact ID.
IExchangeContact
instance.
ExchangeUtilException
- If the contact could not be found.public IExchangeContact findByPermanentUrl(java.lang.String p_strPermUrl) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
IExchangeContactUtil
findByPermanentUrl
in interface IExchangeContactUtil
p_strPermUrl
- The permanent URL.
IExchangeContact
.
ExchangeUtilException
- If the contact could not be found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |