Class ExchangeConnectionCallable
java.lang.Object
de.uplanet.lucy.server.auxiliaries.exchange.ExchangeConnectionCallable
Utility class for getting MS Exchange connections in Velocity templates.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionde.uplanet.jdbc.JdbcConnectionReturns an Exchange user connection.de.uplanet.jdbc.JdbcConnectiongetConnectionForDataGroup(de.uplanet.lucy.server.rtcache.DataGroupInfo p_dataGroupInfo) Returns a connection for the current user or a connection for an impersonate user if an impersonate user is registered with the givenDataGroupInfo.de.uplanet.jdbc.JdbcConnectiongetConnectionForDataGroup(String p_strDgGuid) Returns a connection for the current user or a connection for an impersonate user if an impersonate user is registered with aDataGroupidentified by the given DataGroup GUID.de.uplanet.jdbc.JdbcConnectiongetImpersonateConnection(String p_strUserGuid) Returns a connection for an impersonate user.
- 
Constructor Details- 
ExchangeConnectionCallablepublic ExchangeConnectionCallable()
 
- 
- 
Method Details- 
getConnectionpublic de.uplanet.jdbc.JdbcConnection getConnection()Returns an Exchange user connection.- Returns:
- the connection
 
- 
getImpersonateConnectionReturns a connection for an impersonate user.- Parameters:
- p_strUserGuid- the guid of the user used for impersonate actions
- Returns:
- the connection
 
- 
getConnectionForDataGrouppublic de.uplanet.jdbc.JdbcConnection getConnectionForDataGroup(de.uplanet.lucy.server.rtcache.DataGroupInfo p_dataGroupInfo) Returns a connection for the current user or a connection for an impersonate user if an impersonate user is registered with the givenDataGroupInfo.- Parameters:
- p_dataGroupInfo-
- Returns:
- the connection
 
- 
getConnectionForDataGroupReturns a connection for the current user or a connection for an impersonate user if an impersonate user is registered with aDataGroupidentified by the given DataGroup GUID.- Parameters:
- p_strDgGuid- the DataGroup GUID
- Returns:
- the connection
 
 
-