mirror of
				https://github.com/Alfresco/alfresco-community-repo.git
				synced 2025-10-29 15:21:53 +00:00 
			
		
		
		
	- Fast NodeService.getChildAssocs(types) based API added to ScriptNode for non-xpath based retrieval of file folder child nodes - Optionally retrieve files, folders or both - Optionally ignore certain sub-types e.g. fm:forum - Automatically remove cm:systemfolder sub-types - equivalent to FileFolderService.list() and related methods - Modified Share treenode data webscript to use faster API for child folder node counts git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16980 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
		
			
				
	
	
		
			8 lines
		
	
	
		
			372 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			372 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| var results1 = companyhome.childFileFolders();
 | |
| var results2 = companyhome.childFileFolders(true, false);
 | |
| var results3 = companyhome.childFileFolders(false, true);
 | |
| var results4 = companyhome.childFileFolders(false, true, "fm:forums");
 | |
| var types = new Array();
 | |
| types.push("fm:forums");
 | |
| types.push("fm:forum");
 | |
| var results5 = companyhome.childFileFolders(false, true, types); |