java.lang.Object
de.uplanet.lucy.server.businesslogic.exchange.util.impl.ExchangeTaskUtil
All Implemented Interfaces:
IExchangeTaskUtil

@Scriptable public final class ExchangeTaskUtil extends Object implements IExchangeTaskUtil
  • Method Details

    • getInstance

      public static IExchangeTaskUtil getInstance()
      Returns an instance initialized with a Exchange connection for the currently logged in user.
      Returns:
      the instance
    • getInstance

      public static IExchangeTaskUtil getInstance(Connection p_conn)
      Returns an instance initialized with the given Exchange connection.
      Parameters:
      p_conn - the MS Exchange connection
      Returns:
      the instance
    • createNew

      @Deprecated public IExchangeTask createNew(Date p_dtStartDate, Date p_dtDueDate, String p_strSubject, String p_strUserMailbox) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Deprecated.
      Description copied from interface: IExchangeTaskUtil
      Creates a new task.
      Specified by:
      createNew in interface IExchangeTaskUtil
      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

      public IExchangeTask createNewTask(Date p_dtStartDate, Date p_dtDueDate, String p_strSubject, String p_strUserMailbox) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Description copied from interface: IExchangeTaskUtil
      Creates a new task.
      Specified by:
      createNewTask in interface IExchangeTaskUtil
      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

      public IExchangeTask findById(String p_strId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Description copied from interface: IExchangeTaskUtil
      Finds a task by the given ID.
      Specified by:
      findById in interface IExchangeTaskUtil
      Parameters:
      p_strId - The task ID.
      Returns:
      The IExchangeTask instance.
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • findByPermanentUrl

      public IExchangeTask findByPermanentUrl(String p_strPermUrl) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Description copied from interface: IExchangeTaskUtil
      Finds a task by the given Permanent URL.
      Specified by:
      findByPermanentUrl in interface IExchangeTaskUtil
      Parameters:
      p_strPermUrl - The permanent URL.
      Returns:
      The IExchangeTask.
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • createFolder

      public String createFolder(String p_strParentHref, String p_strFolderName) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Description copied from interface: IExchangeTaskUtil
      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/
      Specified by:
      createFolder in interface IExchangeTaskUtil
      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.