Merged HEAD (5.2) to 5.2.N (5.2.1)

127316 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@127385 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Raluca Munteanu
2016-05-24 14:59:05 +00:00
parent 337f5bc8a3
commit 94215263cf
7 changed files with 239 additions and 16 deletions

View File

@@ -164,6 +164,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).
*
@@ -222,7 +232,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";
@@ -251,6 +261,4 @@ public interface Nodes
String PARAM_VERSION_MAJOR = "majorVersion"; // true if major, false if minor
String PARAM_VERSION_COMMENT = "comment";
String PARAM_RENDITIONS = "renditions";
}