Klasse ExchangeAttachmentCallable
java.lang.Object
de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAttachmentCallable
Callable for MS Exchange attachments.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic 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.
-
Konstruktordetails
-
ExchangeAttachmentCallable
public ExchangeAttachmentCallable()Default constructor.
-
-
Methodendetails
-
getContactImagePath
public static String getContactImagePath(IServerBridgeRequest p_request, String p_strId, String p_strPageGuid) Constructs a URL to a contact image.- Parameter:
p_request- the request instancep_strId- the ID of the contactp_strPageGuid- the GUID of the page for which the URL is constructed- Gibt zurück:
- 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.- Parameter:
p_strId- the item IDp_strPageGuid- the page GUID- Gibt zurück:
- 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.- Parameter:
p_strId- the item IDp_strPageGuid- the page GUIDp_conn- the connection used to load the attachments- Gibt zurück:
- the list of attachments
-
removeAttachment
Removes an attachment of an item.- Parameter:
p_strItemId- the item IDp_strPageGuid- the page GUID- Gibt zurück:
- true if attachment was removed successfully
-