Class ExchangeUtils


  • @Scriptable
    public final class ExchangeUtils
    extends Object
    This class consists exclusively of static methods that return MS Exchange utility/scriptable objects.
    • 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.
      • getMessageUtil

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

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

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

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

        public static IExchangeTaskUtil getTaskUtil​(Connection p_conn)
        Returns a IExchangeTaskUtil 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 a IExchangeContactUtil instance initialized with the current context connection.
        Returns:
        The IExchangeContactUtil instance.
      • getContactUtil

        public static IExchangeContactUtil getContactUtil​(Connection p_conn)
        Returns a IExchangeContactUtil 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 a IExchangeNoteUtil instance initialized with the current context connection.
        Returns:
        The IExchangeNoteUtil instance.
      • getNoteUtil

        public static IExchangeNoteUtil getNoteUtil​(Connection p_conn)
        Returns a IExchangeNoteUtil instance.
        Parameters:
        p_conn - The connection used to initialize the instance.
        Returns:
        The IExchangeNoteUtil instance.
        Throws:
        IllegalArgumentException - If the connection is null.