Class ExchangeUtils
java.lang.Object
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtils
This class consists exclusively of static methods that return MS Exchange
utility/scriptable objects.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IExchangeAppointmentUtil
Returns aIExchangeAppointmentUtil
instance initialized with the current context connection.static IExchangeAppointmentUtil
getAppointmentUtil
(Connection p_conn) Returns aIExchangeAppointmentUtil
instance.static ExchangeConnectionUtil
Returns theExchangeConnectionUtil
instance.static IExchangeContactUtil
Returns aIExchangeContactUtil
instance initialized with the current context connection.static IExchangeContactUtil
getContactUtil
(Connection p_conn) Returns aIExchangeContactUtil
instance.static IExchangeItemUtil
Returns aIExchangeItemUtil
instance initialized with the current context connection.static IExchangeItemUtil
getItemUtil
(Connection p_conn) Returns aIExchangeItemUtil
instance.static IExchangeMailboxUtil
Returns aIExchangeMailboxUtil
instance initialized with the current context connection.static IExchangeMailboxUtil
getMailboxUtil
(Connection p_conn) Returns aIExchangeMailboxUtil
instance.static IExchangeMessageUtil
Returns aIExchangeMessageUtil
instance initialized with the current context connection.static IExchangeMessageUtil
getMessageUtil
(Connection p_conn) Returns aIExchangeMessageUtil
instance.static IExchangeNoteUtil
Returns aIExchangeNoteUtil
instance initialized with the current context connection.static IExchangeNoteUtil
getNoteUtil
(Connection p_conn) Returns aIExchangeNoteUtil
instance.static IExchangeTaskUtil
Returns aIExchangeTaskUtil
instance initialized with the current context connection.static IExchangeTaskUtil
getTaskUtil
(Connection p_conn) Returns aIExchangeTaskUtil
instance.
-
Constructor Details
-
ExchangeUtils
public ExchangeUtils()
-
-
Method Details
-
getConnectionUtil
Returns theExchangeConnectionUtil
instance.- Returns:
- The
ExchangeConnectionUtil
.
-
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
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
Returns aIExchangeItemUtil
instance initialized with the current context connection.- Returns:
- The
IExchangeItemUtil
instance.
-
getItemUtil
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
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
Returns aIExchangeTaskUtil
instance initialized with the current context connection.- Returns:
- The
IExchangeTaskUtil
instance.
-
getTaskUtil
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
Returns aIExchangeContactUtil
instance initialized with the current context connection.- Returns:
- The
IExchangeContactUtil
instance.
-
getContactUtil
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
Returns aIExchangeNoteUtil
instance initialized with the current context connection.- Returns:
- The
IExchangeNoteUtil
instance.
-
getNoteUtil
Returns aIExchangeNoteUtil
instance.- Parameters:
p_conn
- The connection used to initialize the instance.- Returns:
- The
IExchangeNoteUtil
instance. - Throws:
IllegalArgumentException
- If the connection is null.
-