Class ExchangeAttachmentCallable
- java.lang.Object
-
- de.uplanet.lucy.server.auxiliaries.exchange.ExchangeAttachmentCallable
-
@VelocityCallable("singleton") public final class ExchangeAttachmentCallable extends Object
Callable for MS Exchange attachments.
-
-
Constructor Summary
Constructors Constructor Description ExchangeAttachmentCallable()
Default constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.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 String
getContactImagePath(de.uplanet.lucy.server.connector.web.ServerBridgeRequest p_request, String p_strId, String p_strPageGuid)
Constructs a URL to a contact image.static boolean
removeAttachment(String p_strItemId, String p_strPageGuid)
Removes an attachment of an item.
-
-
-
Method Detail
-
getContactImagePath
public static String getContactImagePath(de.uplanet.lucy.server.connector.web.ServerBridgeRequest 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
-
-