mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Script specific Node class renamed to ScriptNode.
SVN rename command used to ensure file history is kept. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -71,9 +71,9 @@ public final class ScriptUtils extends BaseScopableProcessorExtension
|
||||
* @param nodeRefString string reference to a node
|
||||
* @return a JS node object
|
||||
*/
|
||||
public Node getNodeFromString(String nodeRefString)
|
||||
public ScriptNode getNodeFromString(String nodeRefString)
|
||||
{
|
||||
NodeRef nodeRef = new NodeRef(nodeRefString);
|
||||
return (Node)new ValueConverter().convertValueForScript(this.services, getScope(), null, nodeRef);
|
||||
return (ScriptNode)new ValueConverter().convertValueForScript(this.services, getScope(), null, nodeRef);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user