Class ExchangeConnectionCallable

java.lang.Object
de.uplanet.lucy.server.auxiliaries.exchange.ExchangeConnectionCallable

@VelocityCallable("singleton") public final class ExchangeConnectionCallable extends Object
Utility class for getting MS Exchange connections in Velocity templates.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    de.uplanet.jdbc.JdbcConnection
    Returns an Exchange user connection.
    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 given DataGroupInfo.
    de.uplanet.jdbc.JdbcConnection
    Returns a connection for the current user or a connection for an impersonate user if an impersonate user is registered with a DataGroup identified by the given DataGroup GUID.
    de.uplanet.jdbc.JdbcConnection
    Returns a connection for an impersonate user.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExchangeConnectionCallable

      public ExchangeConnectionCallable()
  • Method Details

    • getConnection

      public de.uplanet.jdbc.JdbcConnection getConnection()
      Returns an Exchange user connection.
      Returns:
      the connection
    • getImpersonateConnection

      public de.uplanet.jdbc.JdbcConnection getImpersonateConnection(String p_strUserGuid)
      Returns a connection for an impersonate user.
      Parameters:
      p_strUserGuid - the guid of the user used for impersonate actions
      Returns:
      the connection
    • getConnectionForDataGroup

      public 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 given DataGroupInfo.
      Parameters:
      p_dataGroupInfo -
      Returns:
      the connection
    • getConnectionForDataGroup

      public de.uplanet.jdbc.JdbcConnection getConnectionForDataGroup(String p_strDgGuid)
      Returns a connection for the current user or a connection for an impersonate user if an impersonate user is registered with a DataGroup identified by the given DataGroup GUID.
      Parameters:
      p_strDgGuid - the DataGroup GUID
      Returns:
      the connection