Class ExchangeUtils
- java.lang.Object
-
- de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtils
-
@Scriptable public final class ExchangeUtils extends Object
This class consists exclusively of static methods that return MS Exchange utility/scriptable objects.
-
-
Constructor Summary
Constructors Constructor Description ExchangeUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IExchangeAppointmentUtil
getAppointmentUtil()
Returns aIExchangeAppointmentUtil
instance initialized with the current context connection.static IExchangeAppointmentUtil
getAppointmentUtil(Connection p_conn)
Returns aIExchangeAppointmentUtil
instance.static ExchangeConnectionUtil
getConnectionUtil()
Returns theExchangeConnectionUtil
instance.static IExchangeContactUtil
getContactUtil()
Returns aIExchangeContactUtil
instance initialized with the current context connection.static IExchangeContactUtil
getContactUtil(Connection p_conn)
Returns aIExchangeContactUtil
instance.static IExchangeItemUtil
getItemUtil()
Returns aIExchangeItemUtil
instance initialized with the current context connection.static IExchangeItemUtil
getItemUtil(Connection p_conn)
Returns aIExchangeItemUtil
instance.static IExchangeMailboxUtil
getMailboxUtil()
Returns aIExchangeMailboxUtil
instance initialized with the current context connection.static IExchangeMailboxUtil
getMailboxUtil(Connection p_conn)
Returns aIExchangeMailboxUtil
instance.static IExchangeMessageUtil
getMessageUtil()
Returns aIExchangeMessageUtil
instance initialized with the current context connection.static IExchangeMessageUtil
getMessageUtil(Connection p_conn)
Returns aIExchangeMessageUtil
instance.static IExchangeNoteUtil
getNoteUtil()
Returns aIExchangeNoteUtil
instance initialized with the current context connection.static IExchangeNoteUtil
getNoteUtil(Connection p_conn)
Returns aIExchangeNoteUtil
instance.static IExchangeTaskUtil
getTaskUtil()
Returns aIExchangeTaskUtil
instance initialized with the current context connection.static IExchangeTaskUtil
getTaskUtil(Connection p_conn)
Returns aIExchangeTaskUtil
instance.
-
-
-
Method Detail
-
getConnectionUtil
public static ExchangeConnectionUtil getConnectionUtil()
Returns theExchangeConnectionUtil
instance.- Returns:
- The
ExchangeConnectionUtil
.
-
getMailboxUtil
public static IExchangeMailboxUtil getMailboxUtil()
Returns aIExchangeMailboxUtil
instance initialized with the current context connection.- Returns:
- The
IExchangeMailboxUtil
instance.
-
getMailboxUtil
public static IExchangeMailboxUtil getMailboxUtil(Connection p_conn) throws IllegalArgumentException
Returns aIExchangeMailboxUtil
instance.- Parameters:
p_conn
- The connection used to initialize the util instance.- Returns:
- The
IExchangeMailboxUtil
instance. - Throws:
IllegalArgumentException
- If the connection is null.
-
getMessageUtil
public static IExchangeMessageUtil getMessageUtil()
Returns aIExchangeMessageUtil
instance initialized with the current context connection.- Returns:
- The
IExchangeMessageUtil
instance.
-
getMessageUtil
public static IExchangeMessageUtil getMessageUtil(Connection p_conn) throws IllegalArgumentException
Returns aIExchangeMessageUtil
instance.- Parameters:
p_conn
- The connection used to initialize the util instance.- Returns:
- The
IExchangeMessageUtil
instance. - Throws:
IllegalArgumentException
- If the connection is null.
-
getItemUtil
public static IExchangeItemUtil getItemUtil()
Returns aIExchangeItemUtil
instance initialized with the current context connection.- Returns:
- The
IExchangeItemUtil
instance.
-
getItemUtil
public static IExchangeItemUtil getItemUtil(Connection p_conn) throws IllegalArgumentException
Returns aIExchangeItemUtil
instance.- Parameters:
p_conn
- The connection used to initialize the util instance- Returns:
- The
IExchangeItemUtil
instance. - Throws:
IllegalArgumentException
- If the connection is null.
-
getAppointmentUtil
public static IExchangeAppointmentUtil getAppointmentUtil()
Returns aIExchangeAppointmentUtil
instance initialized with the current context connection.- Returns:
- The
IExchangeAppointmentUtil
instance.
-
getAppointmentUtil
public static IExchangeAppointmentUtil getAppointmentUtil(Connection p_conn) throws IllegalArgumentException
Returns aIExchangeAppointmentUtil
instance.- Parameters:
p_conn
- The connection used to initialize the instance.- Returns:
- The
IExchangeAppointmentUtil
instance. - Throws:
IllegalArgumentException
- If the connection is null.
-
getTaskUtil
public static IExchangeTaskUtil getTaskUtil()
Returns aIExchangeTaskUtil
instance initialized with the current context connection.- Returns:
- The
IExchangeTaskUtil
instance.
-
getTaskUtil
public static IExchangeTaskUtil getTaskUtil(Connection p_conn)
Returns aIExchangeTaskUtil
instance.- Parameters:
p_conn
- The connection used to initialize the instance.- Returns:
- The
IExchangeTaskUtil
instance. - Throws:
IllegalArgumentException
- If the connection is null.
-
getContactUtil
public static IExchangeContactUtil getContactUtil()
Returns aIExchangeContactUtil
instance initialized with the current context connection.- Returns:
- The
IExchangeContactUtil
instance.
-
getContactUtil
public static IExchangeContactUtil getContactUtil(Connection p_conn)
Returns aIExchangeContactUtil
instance.- Parameters:
p_conn
- The connection used to initialize the instance.- Returns:
- The
IExchangeContactUtil
instance. - Throws:
IllegalArgumentException
- If the connection is null.
-
getNoteUtil
public static IExchangeNoteUtil getNoteUtil()
Returns aIExchangeNoteUtil
instance initialized with the current context connection.- Returns:
- The
IExchangeNoteUtil
instance.
-
getNoteUtil
public static IExchangeNoteUtil getNoteUtil(Connection p_conn)
Returns aIExchangeNoteUtil
instance.- Parameters:
p_conn
- The connection used to initialize the instance.- Returns:
- The
IExchangeNoteUtil
instance. - Throws:
IllegalArgumentException
- If the connection is null.
-
-