Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)

122817 jvonka: (Quick) Shared Links API - retrieve rendition content (no auth required)
   - TODO add extra test
   RA-830


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126511 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-05-10 11:17:21 +00:00
parent 39bbd9bacf
commit 119a8acf4d
6 changed files with 52 additions and 7 deletions

View File

@@ -45,16 +45,17 @@ public interface QuickShareLinks
QuickShareLink readById(String sharedId, Parameters parameters);
/**
* Download content via shared link.
* Download file content (or rendition content) via shared link.
*
* Note: does *not* require authenticated access for (public) shared link.
*
* @param sharedId
* @param renditionId - optional
* @param parameters {@link Parameters}
* @return
* @throws EntityNotFoundException
*/
BinaryResource readProperty(String sharedId, final Parameters parameters) throws EntityNotFoundException;
BinaryResource readProperty(String sharedId, String renditionId, Parameters parameters) throws EntityNotFoundException;
/**
* Delete the shared link.