mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD (5.2) to 5.2.N (5.2.1)
126351 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2) 118825 jkaabimofrad: RA-655: manual merge of SFS module to FILE-FOLDER-API. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126696 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -57,13 +57,15 @@ public class Node implements Comparable<Node>
|
||||
protected UserInfo createdByUser;
|
||||
protected UserInfo modifiedByUser;
|
||||
|
||||
protected Boolean isFolder;
|
||||
|
||||
protected NodeRef parentNodeRef;
|
||||
protected PathInfo pathInfo;
|
||||
protected String prefixTypeQName;
|
||||
|
||||
protected List<String> aspectNames;
|
||||
|
||||
protected Map<String, Serializable> props;
|
||||
protected Map<String, Object> properties;
|
||||
|
||||
// TODO fixme !
|
||||
// also need to optionally pass in user map - eg. when listing children (to avoid multiple lookups for same user)
|
||||
@@ -190,12 +192,12 @@ public class Node implements Comparable<Node>
|
||||
this.prefixTypeQName = prefixType;
|
||||
}
|
||||
|
||||
public Map getProperties() {
|
||||
return this.props;
|
||||
public Map<String, Object> getProperties() {
|
||||
return this.properties;
|
||||
}
|
||||
|
||||
public void setProperties(Map props) {
|
||||
this.props = props;
|
||||
public void setProperties(Map<String, Object> props) {
|
||||
this.properties = props;
|
||||
}
|
||||
|
||||
public List<String> getAspectNames() {
|
||||
@@ -211,6 +213,21 @@ public class Node implements Comparable<Node>
|
||||
return parentNodeRef;
|
||||
}
|
||||
|
||||
public void setParentId(NodeRef parentNodeRef)
|
||||
{
|
||||
this.parentNodeRef = parentNodeRef;
|
||||
}
|
||||
|
||||
public Boolean getIsFolder()
|
||||
{
|
||||
return isFolder;
|
||||
}
|
||||
|
||||
public void setIsFolder(Boolean isFolder)
|
||||
{
|
||||
this.isFolder=isFolder;
|
||||
}
|
||||
|
||||
public boolean equals(Object other)
|
||||
{
|
||||
if(this == other)
|
||||
|
Reference in New Issue
Block a user