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:
Jamal Kaabi-Mofrad
2016-05-23 10:11:10 +00:00
parent 1fcd057a28
commit 0c017176a3
7 changed files with 239 additions and 16 deletions

View File

@@ -157,6 +157,16 @@ public interface Nodes
*/
BinaryResource getContent(String fileNodeId, Parameters parameters, boolean recordActivity);
/**
* Download file content.
*
* @param nodeRef the content nodeRef
* @param parameters
* @param recordActivity true, if an activity post is required.
* @return
*/
BinaryResource getContent(NodeRef nodeRef, Parameters parameters, boolean recordActivity);
/**
* Uploads file content (updates existing node with new content).
*
@@ -215,7 +225,7 @@ public interface Nodes
String PATH_SHARED = "-shared-";
String OP_CREATE = "create";
String OP_DELETE= "delete";
String OP_DELETE = "delete";
String OP_UPDATE = "update";
String PARAM_RELATIVE_PATH = "relativePath";
@@ -244,6 +254,4 @@ public interface Nodes
String PARAM_VERSION_MAJOR = "majorVersion"; // true if major, false if minor
String PARAM_VERSION_COMMENT = "comment";
String PARAM_RENDITIONS = "renditions";
}