Class ExchangeMessageCallable

java.lang.Object
de.uplanet.lucy.server.auxiliaries.exchange.ExchangeMessageCallable
All Implemented Interfaces:
de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil

@VelocityCallable("singleton") public final class ExchangeMessageCallable extends Object implements de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
Callable for working with MS Exchange messages. The methods without a connection parameter use the current context's Exchange connection.
  • Constructor Details

    • ExchangeMessageCallable

      public ExchangeMessageCallable()
  • Method Details

    • createNewDraft

      public de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage createNewDraft(String p_strFrom, String p_strTo, String p_strSubject, String p_strBody) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      createNewDraft in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • createNewDraft

      public de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage createNewDraft(Connection p_conn, String p_strFrom, String p_strTo, String p_strSubject, String p_strBody) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • findById

      public de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage findById(String p_strId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      findById in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • findById

      public de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage findById(Connection p_conn, String p_strId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • findByPermanentUrl

      public de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage findByPermanentUrl(String p_strPermUrl) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      findByPermanentUrl in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • findByPermanentUrl

      public de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage findByPermanentUrl(Connection p_conn, String p_strPermUrl) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • saveMessageAsEML

      public void saveMessageAsEML(String p_strMsgId, File p_fileDst) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      saveMessageAsEML in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • saveMessageAsEML

      public void saveMessageAsEML(Connection p_conn, String p_strMsgId, File p_fileDst) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • saveMessageAsMSG

      public void saveMessageAsMSG(String p_strMsgId, File p_fileDst) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      saveMessageAsMSG in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • saveMessageAsMSG

      public void saveMessageAsMSG(Connection p_conn, String p_strMsgId, File p_fileDst) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • sendMessage

      public void sendMessage(String p_strItemId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      sendMessage in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • sendMessage

      public void sendMessage(Connection p_conn, String p_strItemId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • setMessageRead

      public void setMessageRead(String p_strItemId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      setMessageRead in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • setMessageRead

      public void setMessageRead(Connection p_conn, String p_strItemId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      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
      Specified by:
      createFolder in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException