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 IExchangeAppointmentUtilgetAppointmentUtil()Returns aIExchangeAppointmentUtilinstance initialized with the current context connection.static IExchangeAppointmentUtilgetAppointmentUtil(Connection p_conn)Returns aIExchangeAppointmentUtilinstance.static ExchangeConnectionUtilgetConnectionUtil()Returns theExchangeConnectionUtilinstance.static IExchangeContactUtilgetContactUtil()Returns aIExchangeContactUtilinstance initialized with the current context connection.static IExchangeContactUtilgetContactUtil(Connection p_conn)Returns aIExchangeContactUtilinstance.static IExchangeItemUtilgetItemUtil()Returns aIExchangeItemUtilinstance initialized with the current context connection.static IExchangeItemUtilgetItemUtil(Connection p_conn)Returns aIExchangeItemUtilinstance.static IExchangeMailboxUtilgetMailboxUtil()Returns aIExchangeMailboxUtilinstance initialized with the current context connection.static IExchangeMailboxUtilgetMailboxUtil(Connection p_conn)Returns aIExchangeMailboxUtilinstance.static IExchangeMessageUtilgetMessageUtil()Returns aIExchangeMessageUtilinstance initialized with the current context connection.static IExchangeMessageUtilgetMessageUtil(Connection p_conn)Returns aIExchangeMessageUtilinstance.static IExchangeNoteUtilgetNoteUtil()Returns aIExchangeNoteUtilinstance initialized with the current context connection.static IExchangeNoteUtilgetNoteUtil(Connection p_conn)Returns aIExchangeNoteUtilinstance.static IExchangeTaskUtilgetTaskUtil()Returns aIExchangeTaskUtilinstance initialized with the current context connection.static IExchangeTaskUtilgetTaskUtil(Connection p_conn)Returns aIExchangeTaskUtilinstance.
-
-
-
Method Detail
-
getConnectionUtil
public static ExchangeConnectionUtil getConnectionUtil()
Returns theExchangeConnectionUtilinstance.- Returns:
- The
ExchangeConnectionUtil.
-
getMailboxUtil
public static IExchangeMailboxUtil getMailboxUtil()
Returns aIExchangeMailboxUtilinstance initialized with the current context connection.- Returns:
- The
IExchangeMailboxUtilinstance.
-
getMailboxUtil
public static IExchangeMailboxUtil getMailboxUtil(Connection p_conn) throws IllegalArgumentException
Returns aIExchangeMailboxUtilinstance.- Parameters:
p_conn- The connection used to initialize the util instance.- Returns:
- The
IExchangeMailboxUtilinstance. - Throws:
IllegalArgumentException- If the connection is null.
-
getMessageUtil
public static IExchangeMessageUtil getMessageUtil()
Returns aIExchangeMessageUtilinstance initialized with the current context connection.- Returns:
- The
IExchangeMessageUtilinstance.
-
getMessageUtil
public static IExchangeMessageUtil getMessageUtil(Connection p_conn) throws IllegalArgumentException
Returns aIExchangeMessageUtilinstance.- Parameters:
p_conn- The connection used to initialize the util instance.- Returns:
- The
IExchangeMessageUtilinstance. - Throws:
IllegalArgumentException- If the connection is null.
-
getItemUtil
public static IExchangeItemUtil getItemUtil()
Returns aIExchangeItemUtilinstance initialized with the current context connection.- Returns:
- The
IExchangeItemUtilinstance.
-
getItemUtil
public static IExchangeItemUtil getItemUtil(Connection p_conn) throws IllegalArgumentException
Returns aIExchangeItemUtilinstance.- Parameters:
p_conn- The connection used to initialize the util instance- Returns:
- The
IExchangeItemUtilinstance. - Throws:
IllegalArgumentException- If the connection is null.
-
getAppointmentUtil
public static IExchangeAppointmentUtil getAppointmentUtil()
Returns aIExchangeAppointmentUtilinstance initialized with the current context connection.- Returns:
- The
IExchangeAppointmentUtilinstance.
-
getAppointmentUtil
public static IExchangeAppointmentUtil getAppointmentUtil(Connection p_conn) throws IllegalArgumentException
Returns aIExchangeAppointmentUtilinstance.- Parameters:
p_conn- The connection used to initialize the instance.- Returns:
- The
IExchangeAppointmentUtilinstance. - Throws:
IllegalArgumentException- If the connection is null.
-
getTaskUtil
public static IExchangeTaskUtil getTaskUtil()
Returns aIExchangeTaskUtilinstance initialized with the current context connection.- Returns:
- The
IExchangeTaskUtilinstance.
-
getTaskUtil
public static IExchangeTaskUtil getTaskUtil(Connection p_conn)
Returns aIExchangeTaskUtilinstance.- Parameters:
p_conn- The connection used to initialize the instance.- Returns:
- The
IExchangeTaskUtilinstance. - Throws:
IllegalArgumentException- If the connection is null.
-
getContactUtil
public static IExchangeContactUtil getContactUtil()
Returns aIExchangeContactUtilinstance initialized with the current context connection.- Returns:
- The
IExchangeContactUtilinstance.
-
getContactUtil
public static IExchangeContactUtil getContactUtil(Connection p_conn)
Returns aIExchangeContactUtilinstance.- Parameters:
p_conn- The connection used to initialize the instance.- Returns:
- The
IExchangeContactUtilinstance. - Throws:
IllegalArgumentException- If the connection is null.
-
getNoteUtil
public static IExchangeNoteUtil getNoteUtil()
Returns aIExchangeNoteUtilinstance initialized with the current context connection.- Returns:
- The
IExchangeNoteUtilinstance.
-
getNoteUtil
public static IExchangeNoteUtil getNoteUtil(Connection p_conn)
Returns aIExchangeNoteUtilinstance.- Parameters:
p_conn- The connection used to initialize the instance.- Returns:
- The
IExchangeNoteUtilinstance. - Throws:
IllegalArgumentException- If the connection is null.
-
-