mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-1568 Expanded the JSON returned by the api/sites/{siteName}/invitations webscript and various other related webscripts. The JSOn now includes an "invitee" object with a structure
{ "avatar" : "avatarThumbnailURI", "firstName" : "John", "lastName" : "Smith", "userName" : "johnsmith" } git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20040 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -566,7 +566,7 @@ public class ScriptNode implements Serializable, Scopeable, NamespacePrefixResol
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the target associations from this Node. As a Map of assoc name to a JavaScript array of Nodes.
|
||||
* Return the target associations from this Node. As a Map of assoc type to a JavaScript array of Nodes.
|
||||
* The Map returned implements the Scriptable interface to allow access to the assoc arrays via JavaScript
|
||||
* associative array access. This means associations of this node can be access thus:
|
||||
* <code>node.assocs["translations"][0]</code>
|
||||
@@ -591,8 +591,8 @@ public class ScriptNode implements Serializable, Scopeable, NamespacePrefixResol
|
||||
{
|
||||
// first access of the list for this qname
|
||||
nodes = new ArrayList<ScriptNode>(4);
|
||||
this.targetAssocs.put(ref.getTypeQName().toString(), nodes);
|
||||
}
|
||||
this.targetAssocs.put(ref.getTypeQName().toString(), nodes);
|
||||
nodes.add(newInstance(ref.getTargetRef(), this.services, this.scope));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user