Class ExchangeItemCallable

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

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

    • ExchangeItemCallable

      public ExchangeItemCallable()
  • Method Details

    • getPermanentID

      public String getPermanentID(String p_strTableName, String p_strId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      getPermanentID in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • getMailboxOfItem

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

      public String getMailboxOfItem(Connection p_conn, String p_strItemId)
    • copyItemToFolder

      public String copyItemToFolder(String p_strSourceHref, String p_strDstFldrHref) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      copyItemToFolder in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • copyItemToFolder

      public String copyItemToFolder(Connection p_conn, String p_strSourceHref, String p_strDstFldrHref) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • moveItemToFolder

      public String moveItemToFolder(String p_strSourceHref, String p_strDstFldrHref) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      moveItemToFolder in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • moveItemToFolder

      public String moveItemToFolder(Connection p_conn, String p_strSourceHref, String p_strDstFldrHref) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • getAttachments

      public List<de.uplanet.lucy.server.businesslogic.exchange.util.IAttachmentInfo> getAttachments(String p_strItemId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      getAttachments in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • getAttachments

      public List<de.uplanet.lucy.server.businesslogic.exchange.util.IAttachmentInfo> getAttachments(Connection p_conn, String p_strItemId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • saveAttachment

      public void saveAttachment(String p_strItemId, File p_fileDestination) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      saveAttachment in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • saveAttachment

      public void saveAttachment(de.uplanet.lucy.server.businesslogic.exchange.util.IAttachmentInfo p_attachment, String p_strFileDest) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      saveAttachment in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • saveAttachment

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

      public void saveAttachment(Connection p_conn, de.uplanet.lucy.server.businesslogic.exchange.util.IAttachmentInfo p_attachment, File p_fileDestination) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • saveAttachment

      public void saveAttachment(de.uplanet.lucy.server.businesslogic.exchange.util.IAttachmentInfo p_attachment, File p_fileDestination) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      saveAttachment in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • saveAttachment

      public void saveAttachment(String p_strItemId, String p_strFileDest) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      saveAttachment in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • saveAttachment

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

      public void saveAttachment(Connection p_conn, de.uplanet.lucy.server.businesslogic.exchange.util.IAttachmentInfo p_attachment, String p_strFileDest) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • addAttachmentToItem

      public void addAttachmentToItem(String p_strItemId, File p_file, String p_strFileName, String p_strMimeType, boolean p_bIsContactPhoto, boolean p_bDeleteAfter) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      addAttachmentToItem in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • addAttachmentToItem

      public void addAttachmentToItem(Connection p_conn, String p_strItemId, File p_file, String p_strFileName, String p_strMimeType, boolean p_bIsContactPhoto, boolean p_bDeleteAfter) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • addAttachmentToItem

      public void addAttachmentToItem(String p_strItemId, String p_strFile, String p_strFileName, String p_strMimeType, boolean p_bIsContactPhoto, boolean p_bDeleteAfter) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      addAttachmentToItem in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • addAttachmentToItem

      public void addAttachmentToItem(Connection p_conn, String p_strItemId, String p_strFile, String p_strFileName, String p_strMimeType, boolean p_bIsContactPhoto, boolean p_bDeleteAfter) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • copyAttachmentToItem

      public void copyAttachmentToItem(String p_strSrcAttId, String p_strDstItemId, String p_strFileName, boolean p_bIsContactPhoto) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      copyAttachmentToItem in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • copyAttachmentToItem

      public void copyAttachmentToItem(Connection p_conn, String p_strSrcAttId, String p_strDstItemId, String p_strFileName, boolean p_bIsContactPhoto) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • removeAttachmentFromItem

      public void removeAttachmentFromItem(String p_strAttachmentId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Specified by:
      removeAttachmentFromItem in interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
    • removeAttachmentFromItem

      public void removeAttachmentFromItem(Connection p_conn, String p_strAttachmentId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
      Throws:
      de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException