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.IExchangeItemUtilCallable for working with MS Exchange items. The methods without a connection parameter use the current context's Exchange connection.
-
-
Constructor Summary
Constructors Constructor Description ExchangeItemCallable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttachmentToItem(String p_strItemId, File p_file, String p_strFileName, String p_strMimeType, boolean p_bIsContactPhoto, boolean p_bDeleteAfter)voidaddAttachmentToItem(String p_strItemId, String p_strFile, String p_strFileName, String p_strMimeType, boolean p_bIsContactPhoto, boolean p_bDeleteAfter)voidaddAttachmentToItem(Connection p_conn, String p_strItemId, File p_file, String p_strFileName, String p_strMimeType, boolean p_bIsContactPhoto, boolean p_bDeleteAfter)voidaddAttachmentToItem(Connection p_conn, String p_strItemId, String p_strFile, String p_strFileName, String p_strMimeType, boolean p_bIsContactPhoto, boolean p_bDeleteAfter)voidcopyAttachmentToItem(String p_strSrcAttId, String p_strDstItemId, String p_strFileName, boolean p_bIsContactPhoto)voidcopyAttachmentToItem(Connection p_conn, String p_strSrcAttId, String p_strDstItemId, String p_strFileName, boolean p_bIsContactPhoto)StringcopyItemToFolder(String p_strSourceHref, String p_strDstFldrHref)StringcopyItemToFolder(Connection p_conn, String p_strSourceHref, String p_strDstFldrHref)List<IAttachmentInfo>getAttachments(String p_strItemId)List<IAttachmentInfo>getAttachments(Connection p_conn, String p_strItemId)StringgetMailboxOfItem(String p_strItemId)StringgetMailboxOfItem(Connection p_conn, String p_strItemId)StringgetPermanentID(String p_strTableName, String p_strId)StringmoveItemToFolder(String p_strSourceHref, String p_strDstFldrHref)StringmoveItemToFolder(Connection p_conn, String p_strSourceHref, String p_strDstFldrHref)voidremoveAttachmentFromItem(String p_strAttachmentId)voidremoveAttachmentFromItem(Connection p_conn, String p_strAttachmentId)voidsaveAttachment(IAttachmentInfo p_attachment, File p_fileDestination)voidsaveAttachment(IAttachmentInfo p_attachment, String p_strFileDest)voidsaveAttachment(String p_strItemId, File p_fileDestination)voidsaveAttachment(String p_strItemId, String p_strFileDest)voidsaveAttachment(Connection p_conn, IAttachmentInfo p_attachment, File p_fileDestination)voidsaveAttachment(Connection p_conn, IAttachmentInfo p_attachment, String p_strFileDest)voidsaveAttachment(Connection p_conn, String p_strItemId, File p_fileDestination)voidsaveAttachment(Connection p_conn, String p_strItemId, String p_strFileDest)
-
-
-
Method Detail
-
getPermanentID
public String getPermanentID(String p_strTableName, String p_strId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
- Specified by:
getPermanentIDin interfacede.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:
getMailboxOfItemin interfacede.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:
copyItemToFolderin interfacede.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:
moveItemToFolderin interfacede.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<IAttachmentInfo> getAttachments(String p_strItemId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
- Specified by:
getAttachmentsin interfacede.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil- Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
getAttachments
public List<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:
saveAttachmentin interfacede.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil- Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
saveAttachment
public void saveAttachment(IAttachmentInfo p_attachment, String p_strFileDest) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
- Specified by:
saveAttachmentin interfacede.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, 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(IAttachmentInfo p_attachment, File p_fileDestination) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
- Specified by:
saveAttachmentin interfacede.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:
saveAttachmentin interfacede.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, 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:
addAttachmentToItemin interfacede.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:
addAttachmentToItemin interfacede.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:
copyAttachmentToItemin interfacede.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:
removeAttachmentFromItemin interfacede.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
-
-