Interface IExchangeTaskUtil

  • All Known Implementing Classes:
    ExchangeTaskUtil

    @Scriptable
    public interface IExchangeTaskUtil
    Utility interface for working with MS Exchange tasks.
    • Method Detail

      • createNew

        @Deprecated
        IExchangeTask createNew​(Date p_dtStartDate,
                                Date p_dtDueDate,
                                String p_strSubject,
                                String p_strUserMailbox)
                         throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
        Deprecated.
        Creates a new task.
        Parameters:
        p_strSubject - The subject of the task.
        p_strUserMailbox - The name of the mailbox in which the task will be created.
        Returns:
        The new IExchangeTask instance.
        Throws:
        de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - If the task could not be created.
      • createNewTask

        IExchangeTask createNewTask​(Date p_dtStartDate,
                                    Date p_dtDueDate,
                                    String p_strSubject,
                                    String p_strUserMailbox)
                             throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
        Creates a new task.
        Parameters:
        p_strSubject - The subject of the task.
        p_strUserMailbox - The name of the mailbox in which the task will be created.
        Returns:
        The new IExchangeTask instance.
        Throws:
        de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - If the task could not be created.
      • findById

        IExchangeTask findById​(String p_strId)
                        throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
        Finds a task by the given ID.
        Parameters:
        p_strId - The task ID.
        Returns:
        The IExchangeTask instance.
        Throws:
        de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      • findByPermanentUrl

        IExchangeTask findByPermanentUrl​(String p_strPermUrl)
                                  throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
        Finds a task by the given Permanent URL.
        Parameters:
        p_strPermUrl - The permanent URL.
        Returns:
        The IExchangeTask.
        Throws:
        de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      • createFolder

        String createFolder​(String p_strParentHref,
                            String p_strFolderName)
                     throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
        Creates a new folder. The display name can be an arbitrary string. The HREF and parent HREF parameters must include the canonical path to the folder. Consider the following structure:

        + Folder1
        ++ Folder2
        +++ MyNewFolder

        To create 'MyNewFolder' beneath 'Folder2' the following values are required:

        Folder name: MyNewFolder
        Parent HREF: /Folder1/Folder2/
        Parameters:
        p_strParentHref - The HREF of the parent folder (required).
        p_strFolderName - The folder name.
        Returns:
        The ID of the new folder.
        Throws:
        de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - If operation failed.