Module: alfresco/core/NodeUtils

alfresco/core/NodeUtils

Author:
  • Dave Draper
  • David Webster
License:
Source:

Methods

processNodeRef(nodeRefInput) → {object}

Converts the supplied NodeRef string into an object containing its composite attributes.
Parameters:
Name Type Description
nodeRefInput string
Source:
Returns:
Type
object

<inner> nodeRefArray(nodes) → {Array}

This method takes an array of node objects and turns it into an array containing just the nodeRef for each node in the object.
Parameters:
Name Type Description
nodes Object[]
Source:
Returns:
nodeRefArray
Type
Array

<inner> nodeRefsString(nodes) → {String}

Takes the array of node objects, retrieves the nodeRefs and returns as a string.
Parameters:
Name Type Description
nodes Object[]
Source:
Returns:
comma separated list of nodeRefs
Type
String