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

119837 jvonka: FileFolder API - fix build (BCK) & api tests
   - as agreed, for now split test client api models from server-side impl
   - rename existing Node/Document/Folder to FavouriteNode/Document/Folder (for backwards compat')


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126372 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-05-10 10:34:09 +00:00
parent 8d2ab43524
commit 7212f0eec6
19 changed files with 898 additions and 525 deletions

View File

@@ -36,7 +36,6 @@ import org.alfresco.service.namespace.QName;
* @author janv
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Document extends Node
{
public Document() {
@@ -59,6 +58,18 @@ public class Document extends Node
this.isFolder = false;
}
@Override
public ContentInfo getContent()
{
return contentInfo;
}
@Override
public void setContent(ContentInfo contentInfoIn)
{
contentInfo = contentInfoIn;
}
@Override
public String toString()
{