de.uplanet.lucy.server.businesslogic.exchange.util
Class ExchangeUtils

java.lang.Object
  extended by de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtils

@Scriptable
public final class ExchangeUtils
extends java.lang.Object

This class consists exclusively of static methods that return MS Exchange utility/scriptable objects.

Version:
$Revision: 92899 $

Constructor Summary
ExchangeUtils()
           
 
Method Summary
static IExchangeAppointmentUtil getAppointmentUtil()
          Returns a IExchangeAppointmentUtil instance initialized with the current context connection.
static IExchangeAppointmentUtil getAppointmentUtil(java.sql.Connection p_conn)
          Returns a IExchangeAppointmentUtil instance.
static ExchangeConnectionUtil getConnectionUtil()
          Returns the ExchangeConnectionUtil instance.
static IExchangeContactUtil getContactUtil()
          Returns a IExchangeContactUtil instance initialized with the current context connection.
static IExchangeContactUtil getContactUtil(java.sql.Connection p_conn)
          Returns a IExchangeContactUtil instance.
static IExchangeItemUtil getItemUtil()
          Returns a IExchangeItemUtil instance initialized with the current context connection.
static IExchangeItemUtil getItemUtil(java.sql.Connection p_conn)
          Returns a IExchangeItemUtil instance.
static IExchangeMailboxUtil getMailboxUtil()
          Returns a IExchangeMailboxUtil instance initialized with the current context connection.
static IExchangeMailboxUtil getMailboxUtil(java.sql.Connection p_conn)
          Returns a IExchangeMailboxUtil instance.
static IExchangeMessageUtil getMessageUtil()
          Returns a IExchangeMessageUtil instance initialized with the current context connection.
static IExchangeMessageUtil getMessageUtil(java.sql.Connection p_conn)
          Returns a IExchangeMessageUtil instance.
static IExchangeNoteUtil getNoteUtil()
          Returns a IExchangeNoteUtil instance initialized with the current context connection.
static IExchangeNoteUtil getNoteUtil(java.sql.Connection p_conn)
          Returns a IExchangeNoteUtil instance.
static IExchangeTaskUtil getTaskUtil()
          Returns a IExchangeTaskUtil instance initialized with the current context connection.
static IExchangeTaskUtil getTaskUtil(java.sql.Connection p_conn)
          Returns a IExchangeTaskUtil instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExchangeUtils

public ExchangeUtils()
Method Detail

getConnectionUtil

public static ExchangeConnectionUtil getConnectionUtil()
Returns the ExchangeConnectionUtil instance.

Returns:
The ExchangeConnectionUtil.

getMailboxUtil

public static IExchangeMailboxUtil getMailboxUtil()
Returns a IExchangeMailboxUtil instance initialized with the current context connection.

Returns:
The IExchangeMailboxUtil instance.

getMailboxUtil

public static IExchangeMailboxUtil getMailboxUtil(java.sql.Connection p_conn)
                                           throws java.lang.IllegalArgumentException
Returns a IExchangeMailboxUtil instance.

Parameters:
p_conn - The connection used to initialize the util instance.
Returns:
The IExchangeMailboxUtil instance.
Throws:
java.lang.IllegalArgumentException - If the connection is null.

getMessageUtil

public static IExchangeMessageUtil getMessageUtil()
Returns a IExchangeMessageUtil instance initialized with the current context connection.

Returns:
The IExchangeMessageUtil instance.

getMessageUtil

public static IExchangeMessageUtil getMessageUtil(java.sql.Connection p_conn)
                                           throws java.lang.IllegalArgumentException
Returns a IExchangeMessageUtil instance.

Parameters:
p_conn - The connection used to initialize the util instance.
Returns:
The IExchangeMessageUtil instance.
Throws:
java.lang.IllegalArgumentException - If the connection is null.

getItemUtil

public static IExchangeItemUtil getItemUtil()
Returns a IExchangeItemUtil instance initialized with the current context connection.

Returns:
The IExchangeItemUtil instance.

getItemUtil

public static IExchangeItemUtil getItemUtil(java.sql.Connection p_conn)
                                     throws java.lang.IllegalArgumentException
Returns a IExchangeItemUtil instance.

Parameters:
p_conn - The connection used to initialize the util instance
Returns:
The IExchangeItemUtil instance.
Throws:
java.lang.IllegalArgumentException - If the connection is null.

getAppointmentUtil

public static IExchangeAppointmentUtil getAppointmentUtil()
Returns a IExchangeAppointmentUtil instance initialized with the current context connection.

Returns:
The IExchangeAppointmentUtil instance.

getAppointmentUtil

public static IExchangeAppointmentUtil getAppointmentUtil(java.sql.Connection p_conn)
                                                   throws java.lang.IllegalArgumentException
Returns a IExchangeAppointmentUtil instance.

Parameters:
p_conn - The connection used to initialize the instance.
Returns:
The IExchangeAppointmentUtil instance.
Throws:
java.lang.IllegalArgumentException - If the connection is null.

getTaskUtil

public static IExchangeTaskUtil getTaskUtil()
Returns a IExchangeTaskUtil instance initialized with the current context connection.

Returns:
The IExchangeTaskUtil instance.

getTaskUtil

public static IExchangeTaskUtil getTaskUtil(java.sql.Connection p_conn)
Returns a IExchangeTaskUtil instance.

Parameters:
p_conn - The connection used to initialize the instance.
Returns:
The IExchangeTaskUtil instance.
Throws:
java.lang.IllegalArgumentException - If the connection is null.

getContactUtil

public static IExchangeContactUtil getContactUtil()
Returns a IExchangeContactUtil instance initialized with the current context connection.

Returns:
The IExchangeContactUtil instance.

getContactUtil

public static IExchangeContactUtil getContactUtil(java.sql.Connection p_conn)
Returns a IExchangeContactUtil instance.

Parameters:
p_conn - The connection used to initialize the instance.
Returns:
The IExchangeContactUtil instance.
Throws:
java.lang.IllegalArgumentException - If the connection is null.

getNoteUtil

public static IExchangeNoteUtil getNoteUtil()
Returns a IExchangeNoteUtil instance initialized with the current context connection.

Returns:
The IExchangeNoteUtil instance.

getNoteUtil

public static IExchangeNoteUtil getNoteUtil(java.sql.Connection p_conn)
Returns a IExchangeNoteUtil instance.

Parameters:
p_conn - The connection used to initialize the instance.
Returns:
The IExchangeNoteUtil instance.
Throws:
java.lang.IllegalArgumentException - If the connection is null.


Last updated: 2012-07-06 09-36
Copyright © 2000-2012 United Planet. All Rights Reserved.