mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
127312 jkaabimofrad: SFS-577, SFS-581: Fixed the shared-link no-auth APIs issue with multi-tenancy. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127316 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -23,6 +23,7 @@ import org.alfresco.rest.api.model.Rendition;
|
||||
import org.alfresco.rest.framework.resource.content.BinaryResource;
|
||||
import org.alfresco.rest.framework.resource.parameters.CollectionWithPagingInfo;
|
||||
import org.alfresco.rest.framework.resource.parameters.Parameters;
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
|
||||
/**
|
||||
* Renditions API
|
||||
@@ -31,6 +32,8 @@ import org.alfresco.rest.framework.resource.parameters.Parameters;
|
||||
*/
|
||||
public interface Renditions
|
||||
{
|
||||
String PARAM_STATUS = "status";
|
||||
|
||||
/**
|
||||
* Lists all available renditions includes those that have been created and those that are yet to be created.
|
||||
*
|
||||
@@ -70,5 +73,13 @@ public interface Renditions
|
||||
*/
|
||||
BinaryResource getContent(String nodeId, String renditionId, Parameters parameters);
|
||||
|
||||
String PARAM_STATUS = "status";
|
||||
/**
|
||||
* Downloads rendition.
|
||||
*
|
||||
* @param sourceNodeRef the source nodeRef
|
||||
* @param renditionId the rendition id
|
||||
* @param parameters the {@link Parameters} object to get the parameters passed into the request
|
||||
* @return the rendition stream
|
||||
*/
|
||||
BinaryResource getContent(NodeRef sourceNodeRef, String renditionId, Parameters parameters);
|
||||
}
|
||||
|
Reference in New Issue
Block a user