// 6 Description
String filterRuntimes = (String)values.get(7);
String filterLibraries = (String)values.get(8);
if(acceptAsset(e, filterRuntimes, filterLibraries)) {
CategoryNode c = findCategory(root, cat);
AssetNode node = createAssetNode(notesUnid,c,name,cat,jspUrl);
node.setTooltip((String)values.get(6));
c.getChildren().add(node);
}
}
} else {
v.setAutoUpdate(false);
ViewNavigator nav = v.createViewNavFromCategory(getAssetForm());
nav.setBufferMaxEntries(500);
for(ViewEntry e=nav.getFirst(); e!=null; e=nav.getNext()) {
Vector<?> values = e.getColumnValues();
String notesUnid = e.getUniversalID();
// 2 type
String cat = (String)values.get(1);
String name = (String)values.get(2);
String assetId = (String)values.get(3);
// 4 ImportSource
// 5 CreateDate
// 6 Description
String filterRuntimes = (String)values.get(7);
String filterLibraries = (String)values.get(8);
if(acceptAsset(e, filterRuntimes, filterLibraries)) {
CategoryNode c = findCategory(root, cat);
AssetNode node = createAssetNode(notesUnid,c,name,cat,findUniqueUrl(c,notesUnid,assetId));
node.setTooltip((String)values.get(6));
c.getChildren().add(node);
}
}
}
return root;