Class ExchangeAttachmentCallable
java.lang.Object
de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAttachmentCallable
Callable for MS Exchange attachments.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic List<de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAttachmentInfo>getAttachments(String p_strId, String p_strPageGuid) Returns a list of attachments of an Exchange item.static List<de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAttachmentInfo>getAttachments(String p_strId, String p_strPageGuid, Connection p_conn) Returns a list of attachments of an Exchange item.static StringgetContactImagePath(de.uplanet.lucy.server.connector.IServerBridgeRequest p_request, String p_strId, String p_strPageGuid) Constructs a URL to a contact image.static booleanremoveAttachment(String p_strItemId, String p_strPageGuid) Removes an attachment of an item.
- 
Constructor Details- 
ExchangeAttachmentCallablepublic ExchangeAttachmentCallable()Default constructor.
 
- 
- 
Method Details- 
getContactImagePathpublic static String getContactImagePath(de.uplanet.lucy.server.connector.IServerBridgeRequest p_request, String p_strId, String p_strPageGuid) Constructs a URL to a contact image.- Parameters:
- p_request- the request instance
- p_strId- the ID of the contact
- p_strPageGuid- the GUID of the page for which the URL is constructed
- Returns:
- the URL
 
- 
getAttachmentspublic static List<de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAttachmentInfo> getAttachments(String p_strId, String p_strPageGuid) Returns a list of attachments of an Exchange item.- Parameters:
- p_strId- the item ID
- p_strPageGuid- the page GUID
- Returns:
- the list of attachments
 
- 
getAttachmentspublic static List<de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAttachmentInfo> getAttachments(String p_strId, String p_strPageGuid, Connection p_conn) Returns a list of attachments of an Exchange item.- Parameters:
- p_strId- the item ID
- p_strPageGuid- the page GUID
- p_conn- the connection used to load the attachments
- Returns:
- the list of attachments
 
- 
removeAttachmentRemoves an attachment of an item.- Parameters:
- p_strItemId- the item ID
- p_strPageGuid- the page GUID
- Returns:
- true if attachment was removed successfully
 
 
-