Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)

77259: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      76447: SOLR node metadata includes getNamePaths, which is a Collection<Collection<String>>
       - JSON serialization stubbed out; fix TODOs in NodesMetaDataGet to transfer serialize to specification
       - The name paths are the largest list of names of nodes that culminate in the target node.
       - The top parent is the last highest parent with a cm:name property
       - ALL paths are introspected but it does not mean that the node path count will always equal the name path count


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@78115 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2014-07-23 16:56:36 +00:00
parent 1edab772b1
commit ec8137e8dc
3 changed files with 83 additions and 12 deletions

View File

@@ -44,6 +44,7 @@ public class NodeMetaData
private Map<QName, Serializable> properties;
private Set<QName> aspects;
private Collection<Pair<Path, QName>> paths;
private Collection<Collection<String>> namePaths;
private List<ChildAssociationRef> childAssocs;
private List<ChildAssociationRef> parentAssocs;
private Long parentAssocsCrc;
@@ -75,6 +76,14 @@ public class NodeMetaData
{
this.paths = paths;
}
public Collection<Collection<String>> getNamePaths()
{
return namePaths;
}
public void setNamePaths(Collection<Collection<String>> namePaths)
{
this.namePaths = namePaths;
}
public QName getNodeType()
{
return nodeType;