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

119798 jvonka: FileFolder API - NodeApiTest - add tests (+ve & -ve) to create empty file node
   - TODO subsequently show that file content can be updated
   RA-636


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126369 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-05-10 10:33:27 +00:00
parent cc94c78812
commit 01777c4bd3
5 changed files with 112 additions and 13 deletions

View File

@@ -292,6 +292,19 @@ public class Node implements Comparable<Node>
+ modifiedByUser + ", pathInfo =" + pathInfo +"]";
}
protected ContentInfo contentInfo;
public ContentInfo getContent()
{
return contentInfo;
}
public void setContent(ContentInfo contentInfo)
{
this.contentInfo = contentInfo;
}
// TODO for backwards compat' - set explicitly when needed (ie. favourites) (note: we could choose to have separate old Node/NodeImpl etc)
protected String title;