Class ExchangeAttachmentCallable
java.lang.Object
de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAttachmentCallable
Callable for MS Exchange attachments.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier 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(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
- 
ExchangeAttachmentCallable
public ExchangeAttachmentCallable()Default constructor. 
 - 
 - 
Method Details
- 
getContactImagePath
public static String getContactImagePath(IServerBridgeRequest p_request, String p_strId, String p_strPageGuid) Constructs a URL to a contact image.- Parameters:
 p_request- the request instancep_strId- the ID of the contactp_strPageGuid- the GUID of the page for which the URL is constructed- Returns:
 - the URL
 
 - 
getAttachments
public 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 IDp_strPageGuid- the page GUID- Returns:
 - the list of attachments
 
 - 
getAttachments
public 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 IDp_strPageGuid- the page GUIDp_conn- the connection used to load the attachments- Returns:
 - the list of attachments
 
 - 
removeAttachment
Removes an attachment of an item.- Parameters:
 p_strItemId- the item IDp_strPageGuid- the page GUID- Returns:
 - true if attachment was removed successfully
 
 
 -