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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAttachmentToItem(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) copyItemToFolder(String p_strSourceHref, String p_strDstFldrHref) copyItemToFolder(Connection p_conn, String p_strSourceHref, String p_strDstFldrHref) List<de.uplanet.lucy.server.businesslogic.exchange.util.IAttachmentInfo>getAttachments(String p_strItemId) List<de.uplanet.lucy.server.businesslogic.exchange.util.IAttachmentInfo>getAttachments(Connection p_conn, String p_strItemId) getMailboxOfItem(String p_strItemId) getMailboxOfItem(Connection p_conn, String p_strItemId) getPermanentID(String p_strTableName, String p_strId) moveItemToFolder(String p_strSourceHref, String p_strDstFldrHref) moveItemToFolder(Connection p_conn, String p_strSourceHref, String p_strDstFldrHref) voidremoveAttachmentFromItem(String p_strAttachmentId) voidremoveAttachmentFromItem(Connection p_conn, String p_strAttachmentId) voidsaveAttachment(de.uplanet.lucy.server.businesslogic.exchange.util.IAttachmentInfo p_attachment, File p_fileDestination) voidsaveAttachment(de.uplanet.lucy.server.businesslogic.exchange.util.IAttachmentInfo p_attachment, String p_strFileDest) voidsaveAttachment(String p_strItemId, File p_fileDestination) voidsaveAttachment(String p_strItemId, String p_strFileDest) voidsaveAttachment(Connection p_conn, de.uplanet.lucy.server.businesslogic.exchange.util.IAttachmentInfo p_attachment, File p_fileDestination) voidsaveAttachment(Connection p_conn, de.uplanet.lucy.server.businesslogic.exchange.util.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) 
- 
Constructor Details- 
ExchangeItemCallablepublic ExchangeItemCallable()
 
- 
- 
Method Details- 
getPermanentIDpublic String getPermanentID(String p_strTableName, String p_strId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
- getPermanentIDin interface- de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
- Throws:
- de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
 
- 
getMailboxOfItempublic String getMailboxOfItem(String p_strItemId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
- getMailboxOfItemin interface- de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
- Throws:
- de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
 
- 
getMailboxOfItem
- 
copyItemToFolderpublic String copyItemToFolder(String p_strSourceHref, String p_strDstFldrHref) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
- copyItemToFolderin interface- de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
- Throws:
- de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
 
- 
copyItemToFolderpublic 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
 
- 
moveItemToFolderpublic String moveItemToFolder(String p_strSourceHref, String p_strDstFldrHref) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
- moveItemToFolderin interface- de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
- Throws:
- de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
 
- 
moveItemToFolderpublic 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
 
- 
getAttachmentspublic List<de.uplanet.lucy.server.businesslogic.exchange.util.IAttachmentInfo> getAttachments(String p_strItemId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
- getAttachmentsin interface- de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
- Throws:
- de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
 
- 
getAttachmentspublic 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
 
- 
saveAttachmentpublic void saveAttachment(String p_strItemId, File p_fileDestination) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
- saveAttachmentin interface- de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
- Throws:
- de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
 
- 
saveAttachmentpublic 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:
- saveAttachmentin interface- de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
- Throws:
- de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
 
- 
saveAttachmentpublic 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
 
- 
saveAttachmentpublic 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
 
- 
saveAttachmentpublic 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:
- saveAttachmentin interface- de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
- Throws:
- de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
 
- 
saveAttachmentpublic void saveAttachment(String p_strItemId, String p_strFileDest) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
- saveAttachmentin interface- de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
- Throws:
- de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
 
- 
saveAttachmentpublic 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
 
- 
saveAttachmentpublic 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
 
- 
addAttachmentToItempublic 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 interface- de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
- Throws:
- de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
 
- 
addAttachmentToItempublic 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
 
- 
addAttachmentToItempublic 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 interface- de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
- Throws:
- de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
 
- 
addAttachmentToItempublic 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
 
- 
copyAttachmentToItempublic 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 interface- de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
- Throws:
- de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
 
- 
copyAttachmentToItempublic 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
 
- 
removeAttachmentFromItempublic void removeAttachmentFromItem(String p_strAttachmentId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
- removeAttachmentFromItemin interface- de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItemUtil
- Throws:
- de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
 
- 
removeAttachmentFromItempublic 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
 
 
-