mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128090 jvonka: Node Version History - 1st-cut impl (for initial review) - REPO-313: list version history - REPO-327: get version info - REPO-229: download version content - TODO api tests + spec updates git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129124 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -63,9 +63,12 @@ public class Node implements Comparable<Node>
|
||||
protected UserInfo createdByUser;
|
||||
protected UserInfo modifiedByUser;
|
||||
|
||||
//Archived info, explicitly setting to NULL because NULLS don't get shown in the JSON.
|
||||
protected Date archivedAt = null;
|
||||
protected UserInfo archivedByUser = null;
|
||||
// Archived info - specifically for archive (deleted) node - see Trashcan API
|
||||
protected Date archivedAt;
|
||||
protected UserInfo archivedByUser;
|
||||
|
||||
// Version info - specifically for version node - see Version History API
|
||||
protected String versionComment;
|
||||
|
||||
protected Boolean isFolder;
|
||||
protected Boolean isFile;
|
||||
@@ -211,6 +214,11 @@ public class Node implements Comparable<Node>
|
||||
return createdByUser;
|
||||
}
|
||||
|
||||
public void setCreatedByUser(UserInfo createdByUser)
|
||||
{
|
||||
this.createdByUser = createdByUser;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return this.name;
|
||||
@@ -337,6 +345,16 @@ public class Node implements Comparable<Node>
|
||||
this.archivedByUser = archivedByUser;
|
||||
}
|
||||
|
||||
public String getVersionComment()
|
||||
{
|
||||
return versionComment;
|
||||
}
|
||||
|
||||
public void setVersionComment(String versionComment)
|
||||
{
|
||||
this.versionComment = versionComment;
|
||||
}
|
||||
|
||||
public boolean equals(Object other)
|
||||
{
|
||||
if(this == other)
|
||||
|
Reference in New Issue
Block a user